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

Aperta
#2,981 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript, wasm

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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/).

Lingua principale
TypeScript
Stelle
11.3k
Fork
1.6k
Merge medio
2h 28m
PR unite (30g)
111

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelcontextprotocol/inspector

Tutte le issue di modelcontextprotocol/inspector

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.