Remote MCP: validate_graphql_codeblocks always returns success without validating
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
- 54/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Start by reading .cursor-plugin/mcp.json and skills/shopify/SKILL.md:62, then locate the remote MCP server implementation that registers validate_graphql_codeblocks; the issue does not identify its source file. Check how the tool handles calls and reports results. Done means it either clearly reports that validation was not performed or is absent from tools/list, so clients cannot mistake its response for validation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The remote MCP server at https://setup.shopify.com/mcp (shopify-mcp-server 1.0.0, shipped in .cursor-plugin/mcp.json since 2.1.0) lists a tool validate_graphql_codeblocks whose description reads:
Compatibility no-op for clients that still call this tool. It always returns success and does not validate GraphQL.
Observed in an unauthenticated tools/list on 2026-11-09.
Why it matters. Agents report validation to users. A validator that always succeeds makes unvalidated code look validated. The toolkit's own skills/shopify/SKILL.md:62 warns that "a wrong validator often returns VALID", and this tool returns VALID for every input. An agent that has both this server and older guidance that names this tool will call it and report success.
Suggested fix (either):
- Return an explicit not-validated result (for example
isError: truewith a message that points at the Dev MCPvalidate_graphql_codeblocksor the skill'sscripts/validate.mjs), or - Remove the tool from
tools/list.
- Ngôn ngữ chính
- JavaScript
- Star
- 652
- Fork
- 88
- Merge trung bình
- 6 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 Shopify/Shopify-AI-Toolkit
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
-
Hermes install: join the download and run with && so a failed fetch cannot run a stale installerĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Tất cả issue của Shopify/Shopify-AI-Toolkit
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ryoku type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
google-ai-edge/LiteRT-LM#4783 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
IBM/bob-oic-tutorials#34 ·
Maintainer thường phản hồi trong vòng 1 ngày