Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

CLI / mcpdo: --oauth-debug to show each OAuth step

Đang mở
#2,844 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

enhancement v2
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/inspector

Tất cả issue của modelcontextprotocol/inspector

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.