Support DPoP (RFC 9449 / SEP-1932) in the OAuth client

Đang mở
#2,981 1 bình luận 1 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/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, wasm
Lĩnh vực
authentication, devtools

Hướng nghiên cứu

Start by checking the status of SEP-1932 and whether @modelcontextprotocol/client supports DPoP, since the issue gates the work on that. The shared OAuth path lives in core/auth, and the conformance DPoP scenarios are in src/scenarios/client/auth/dpop.ts with helpers under src/scenarios/client/auth/helpers/. Done means the Inspector's client passes auth/dpop and auth/dpop-nonce, with DPoP-Nonce handled at both the authorization and resource servers.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement v2

Summary

Support DPoP (RFC 9449) as profiled for MCP by SEP-1932. DPoP is a named deliverable in docs/inspector-roadmap-2026-h2.md §3.3 (Agent identity and enterprise-ready security), rated 🟡, but nothing has been tracking it until now.

Scope (from the roadmap)

  • Generate and hold a DPoP proof key per connection or server
  • Send DPoP proofs to the token endpoint and the MCP resource, handling DPoP-Nonce challenges from both the authorization server and the resource server
  • Show the proof/nonce exchange in the Network view
  • Add DPoP to the shared core/auth path so that Web, CLI, TUI and mcpdo all get it

Gating

The roadmap says to design against SEP-1932 and build once it is Final or a Tier-1 SDK implements it. As of 2026-11-12, SEP-1932 is still an open draft PR (labels SEP, draft, extension, roadmap/security). Check its status, and whether @modelcontextprotocol/client supports DPoP, before starting.

Test fixtures

We don't need a DPoP fixture of our own to start with. modelcontextprotocol/conformance already has DPoP scenarios against SEP-1932:

  • Client scenarios auth/dpop (no nonce) and auth/dpop-nonce (server-required nonce), in src/scenarios/client/auth/dpop.ts, with mock AS and RS helpers under src/scenarios/client/auth/helpers/dpop*.ts
  • Negative-case example clients: replay, missing token proof, and missing AS or RS nonce

We could run the Inspector's client against those scenarios, or reuse the helpers if we add a DPoP mode to the composable test server (test-servers/).

Ngôn ngữ chính
TypeScript
Star
11.3k
Fork
1.6k
Merge trung bình
2 giờ 28 phút
Pull request đã merge (30 ngày)
111

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.