Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#2,844 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

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

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
11.2k
Forks
1.6k
Merge medio
5 h 11 min
PR fusionados (30 d)
141

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.