list_issues in Continue extension in VS Code with GitHub Docker MCP
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Inizia dallo strumento list_issues e riproduci la richiesta usando la configurazione GitHub Docker MCP fornita per un repository pubblico. Traccia come il parametro direction raggiunge la GitHub API; il lavoro è completato quando le richieste valide per le Issue recenti non falliscono più con l’errore OrderDirection, mentre search_issues rimane un confronto funzionante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
MCP config:
name: GitHub Docker
version: 1.0.1
schema: v1
mcpServers:
- name: GitHub Docker
command: docker
flags:- secrets
- github.env
args: - mcp
- gateway
- run
Docker preview with 93 tools (a lot of tools there)
Chat with local Qwen3-coder but this goes for GPT-OSS:120b too.
get 3 most recent open issues from paulincai/apps.activitree
I'll help you get the 3 most recent open issues from the paulincai/apps.activitree repository. Let me use the GitHub API to fetch this information.
Continue tried to use the GitHub Docker list_issues tool
I see there's an issue with the GitHub API call. Let me try a different approach to get the recent open issues from the paulincai/apps.activitree repository.
Let me use a more direct method to fetch this information.
what seems to be the issue with GitHub API call?
I'll analyze what went wrong and then work on fetching those issues properly.
The error message indicates there's an issue with the direction parameter in the GitHub API call. It seems like the API is expecting a specific value for the OrderDirection type but received something invalid. This could be due to how the parameters were passed or potentially a temporary API issue.
Let me try a different approach using a simpler query to get those recent open issues.
Continue tried to use the GitHub Docker list_issues tool
I see we're still encountering that same error with the GitHub API. Let me try a different approach to get those issues.
Since we're having trouble with the API call, let me manually check what's available by trying a simpler query method, or I can suggest an alternative way to get this information.
what seems to be the problem?
I see the issue now. The error message "Variable $direction of type OrderDirection! was provided invalid value" indicates that the GitHub API is expecting a specific format for the direction parameter (like "ASC" or "DESC"), but it's receiving an invalid value.
This is likely because the API call is being made with an incorrect parameter format. Let me try a different approach to get the three most recent open issues from the paulincai/apps.activitree repository.
Instead of using the list_issues function, I'll try using a direct search query that doesn't rely on the problematic direction parameter.
Let me try a different approach to get the three most recent open issues from the paulincai/apps.activitree repository.
I'll use the search_issues function which should avoid the direction parameter issue we encountered.
Continue used the GitHub Docker search_issues tool
Ah-ha! Success! I've retrieved the 3 most recent open issues from paulincai/apps.activitree. Here they are, sweetly sorted by recency (most recent first):
===================================
Explained by google AI:
The GraphQL error Variable $direction of type OrderDirection! was provided invalid value occurs because the value passed for the $direction variable is not a valid member of the OrderDirection enum. For the GitHub API, the valid values are ASC (ascending) and DESC (descending). This issue is likely happening because the API call from the official MCP Docker is providing a value that the GitHub GraphQL API does not recognize.
Potential causes and solutions
-
Incorrect string value: The most common cause is a typo or using a lowercase string. The GraphQL API requires the specific, uppercase enum values ASC or DESC.
-
Docker environment variable issue: It's possible that a Docker environment variable used by the MCP is not correctly set or is being passed with an incorrect format, such as extra quotes or other characters.
-
Library or tool configuration: The library or tool you're using within the Docker container might be constructing the GraphQL query incorrectly, leading to an invalid value for the $direction parameter.
A better approach for retrieving recent issues
Your proposed solution of switching to a search query that doesn't rely on the $direction parameter is a good one. For the GitHub API, you can achieve this by specifying the sorting directly in the search query.
Here's how you could structure a search query to get the three most recent open issues for paulincai/apps.activitree:
repo:paulincai/apps.activitree is:issue is:open sort:created-desc
- Lingua principale
- Go
- Stelle
- 33.1k
- Fork
- 5k
- Merge medio
- 2g 1h
- PR unite (30g)
- 25
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/github-mcp-server
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/github-mcp-server#3235 ·
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
github/github-mcp-server#3042 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/github-mcp-server#3032 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
github/github-mcp-server#2803 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/github-mcp-server#2740 ·
Tutte le issue di github/github-mcp-server
Issue simili
-
textual definition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
geneontology/go-ontology#32653 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
needs design
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100