From 1509ce01ed6f2551d25fe7d8c413d3d998d2c8b3 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Tue, 3 Mar 2026 15:25:04 -0600 Subject: [PATCH] =?UTF-8?q?store:=20Insight:=20gitea-mcp=20list=5Frepo=5Fi?= =?UTF-8?q?ssues=20silently=20ignores=20type=20parameter=20=E2=80=94=20PRs?= =?UTF-8?q?=20always=20included?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...issues-silently-ignores-type-par-788414.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 graph/insights/insight-gitea-mcp-list-repo-issues-silently-ignores-type-par-788414.md diff --git a/graph/insights/insight-gitea-mcp-list-repo-issues-silently-ignores-type-par-788414.md b/graph/insights/insight-gitea-mcp-list-repo-issues-silently-ignores-type-par-788414.md new file mode 100644 index 00000000000..3aae287e2fa --- /dev/null +++ b/graph/insights/insight-gitea-mcp-list-repo-issues-silently-ignores-type-par-788414.md @@ -0,0 +1,41 @@ +--- +id: 78841477-74c0-430a-8a69-9df80602bd6f +type: insight +title: "Insight: gitea-mcp list_repo_issues silently ignores type parameter — PRs always included" +tags: [gitea-mcp, mcp, gitea-api, tool-limitations, list_repo_issues, claude-scheduled] +importance: 0.7 +confidence: 0.8 +created: "2026-03-03T21:25:04.092935+00:00" +updated: "2026-03-03T21:25:04.092935+00:00" +--- + +# Gitea MCP Tool: list_repo_issues Parameter Limitations + +## Tool +`mcp__gitea-mcp__list_repo_issues` + +## Accepted Parameters +- owner +- repo +- state +- page +- pageSize + +## Missing Parameter +The tool does NOT expose `type`, which the underlying Gitea REST API supports. This means PRs are always returned alongside issues. + +## Workarounds + +### Option 1 — Server-side filter via REST API (preferred) +``` +GET https://git.manticorum.com/api/v1/repos/{owner}/{repo}/issues?type=issues +``` + +### Option 2 — Client-side filter via MCP result +Check `item["pull_request"]` in each returned item: +- `null` → real issue +- dict/object → pull request + +## Auth +- Gitea API host: `https://git.manticorum.com` +- Token stored in: `~/.config/claude-scheduled/secrets`