server-stateless doesn't set `mcp-method` etc.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- testing
Hướng nghiên cứu
Bắt đầu bằng cách xác định scenario server-stateless và chạy nó để tái hiện lỗi do thiếu header. Cập nhật scenario để các request thiết lập các header MCP-Method và MCP-Name, sau đó xác minh rằng test không còn thất bại vì thiếu một trong hai header.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The server-stateless scenario doesn't set the MCP-Method or MCP-Name headers. These are not part of the test and should be set. Our server is throwing an exception because they are missing which, incorrectly, fails the test.
To Reproduce
- Run
server-statelessand alter your server code or test code to check for missingMCP-Methodheader.
Expected behavior
The test should always set MCP-Method as this is not part of the test.
Logs
{
"id": "sep-2575-request-meta-invalid-missing-client-info",
"name": "RequestMetaInvalid",
"description": "Rejects request with _meta missing io.modelcontextprotocol/clientInfo",
"status": "FAILURE",
"timestamp": "2026-05-23T17:52:50.571Z",
"errorMessage": "Expected error code -32602, got -32001",
"specReferences": [
{
"id": "SEP-2575",
"url": "https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2575"
}
],
"details": {
"fieldIssue": "missing-client-info",
"response": {
"jsonrpc": "2.0",
"id": 103,
"error": {
"code": -32001,
"message": "Missing required header: MCP-Method"
}
}
}
}
- Ngôn ngữ chính
- TypeScript
- Star
- 127
- Fork
- 101
- Merge trung bình
- 6 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 7
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 modelcontextprotocol/conformance
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelcontextprotocol/conformance#315 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
modelcontextprotocol/conformance#505 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Standardised test reporting Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
modelcontextprotocol/conformance#486 · 1 bình luận ·
Tất cả issue của modelcontextprotocol/conformance
Issue tương tự
-
comp/dashboard P3 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·