list_issues in Continue extension in VS Code with GitHub Docker MCP
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Bắt đầu từ công cụ list_issues và tái hiện request bằng cấu hình GitHub Docker MCP được cung cấp cho một repository công khai. Theo dõi cách tham số direction đến được GitHub API; công việc được xem là hoàn tất khi các request hợp lệ cho các Issue gần đây không còn thất bại với lỗi OrderDirection, trong khi search_issues vẫn hoạt động để làm đối chiếu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 33.1k
- Fork
- 5k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 27
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/github-mcp-server
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/github-mcp-server#3235 ·
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/github-mcp-server#3042 · 2 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/github-mcp-server#3032 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/github-mcp-server#2803 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/github-mcp-server#2740 ·
Tất cả issue của github/github-mcp-server
Issue tương tự
-
kind/bug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/semantic-router#4024 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
alexgorbatchev/dotfiles#107 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100