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

Ouverte
#2,981 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript, wasm

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
11.3k
Forks
1.6k
Merge moyen
2 h 28 min
PR mergées (30 j)
111

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de modelcontextprotocol/inspector

Toutes les issues de modelcontextprotocol/inspector

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.