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`