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

Abierto
#2,981 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript, wasm

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
11.3k
Forks
1.6k
Merge medio
2 h 28 min
PR fusionados (30 d)
111

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modelcontextprotocol/inspector

Todos los issues de modelcontextprotocol/inspector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.