CLI / mcpdo: --oauth-debug to show each OAuth step
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- authentication, cli
Hướng nghiên cứu
Start by locating the CLI and mcpdo OAuth flows and compare them with the web client's step-by-step OAuth view. Trace where metadata, registration, authorization, and token exchange happen, then identify how each step can be reported to stderr with secrets, codes, and tokens redacted. Done means both CLI entry points expose the debug option and tests verify the reported steps and redaction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which client?
CLI
The problem
When OAuth fails in the CLI or mcpdo, the user sees only the final error. The web client has a step-by-step OAuth view (discovery, registration, authorization, token exchange); terminal users have nothing comparable, so diagnosing a misconfigured authorization server means re-running in the web client or adding a proxy.
Solution you have in mind (optional)
--oauth-debug (and an mcpdo equivalent) printing each step to stderr: protected-resource and authorization-server metadata URLs and statuses, the registration request/response, the authorization URL, and the token request/response status — with secrets, codes and tokens redacted.
Alternatives or workarounds you have tried
Reproducing the flow in the web client's OAuth view, or running through an intercepting proxy.
Already built it locally?
No response
Before you submit
- I searched existing issues and this is not a duplicate.
- This is a request for the Inspector itself, not for the MCP specification or an SDK.
- Ngôn ngữ chính
- TypeScript
- Star
- 11.2k
- Fork
- 1.6k
- Merge trung bình
- 4 giờ 55 phút
- Pull request đã merge (30 ngày)
- 151
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 modelcontextprotocol/inspector
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/inspector#2859 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
modelcontextprotocol/inspector#2846 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
modelcontextprotocol/inspector#2845 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CLI: OAuth denials and other non-usage failures exit 1 with code "error", the same as a usage errorĐang mởbug v2
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
modelcontextprotocol/inspector#2842 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
modelcontextprotocol/inspector#2841 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/inspector
Issue tương tự
-
area: triage theme: undefined
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
jhipster/generator-jhipster#35895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
paperclipai/paperclip#18396 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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 82/100
lingdojo/kana-dojo#33380 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore other
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
alastair-smith/card-games#342 ·
Maintainer thường phản hồi trong vòng 1 ngày