store: Insight: gitea-mcp list_repo_issues silently ignores type parameter — PRs always included
This commit is contained in:
parent
43a0a32726
commit
1509ce01ed
@ -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`
|
||||
Loading…
Reference in New Issue
Block a user