[Feature Request] Pin MCP OAuth clients with client ID metadata documents
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
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authentication, cli
Línea de trabajo
The proposal names HTTP and SSE MCP server configuration, /mcp-config login, OAuth provider lookup, and cached-provider handling; the prepared branch is linked for reference. Start by reviewing the configuration and OAuth service tests mentioned in the validation. Done means the optional clientMetadataUrl selects pinned client identity, omission preserves dynamic registration, and the documented behavior is covered.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
HTTP and SSE MCP servers that require a reviewed OAuth client ID metadata document (CIMD) cannot currently use a stable client identity in Kimi Code. They must use dynamic client registration, which is incompatible with authorization servers that intentionally accept only pinned/reviewed clients.
One concrete use case is Pascal's hosted MCP server: Pascal wants Kimi users to authorize through a reviewed Kimi client identity without enabling open dynamic registration.
Proposal
Add an optional clientMetadataUrl URL field to HTTP and SSE MCP server configuration. When present, its URL becomes the OAuth client_id and dynamic registration is skipped for that server. When omitted, existing dynamic-registration behavior remains unchanged.
The proposed implementation also:
- propagates the field through interactive
/mcp-config loginand token/provider lookup; - recreates cached providers when the configured identity changes;
- invalidates mismatched CIMD or dynamic registrations without disturbing a matching registration;
- supports explicitly returning to dynamic registration when the field is removed;
- documents the field in English and Chinese and publishes a Kimi client metadata document with the CLI documentation site.
A prepared branch is available at https://github.com/Aymericr/kimi-code/tree/feat/pinned-mcp-oauth-clients.
Validation
- OAuth service tests: 50 passed, including CIMD without registration and return to dynamic registration.
- MCP management tests: 61 passed.
- Connection-manager tests: 47 passed.
- Package typecheck and repository lint passed.
The documentation build was attempted but timed out locally; the metadata source file and both documentation pages are included in the branch.
If this direction is acceptable, please /approve this issue so I can open the external feature PR under the repository's contribution policy.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.3k
- Forks
- 1.4k
- Merge medio
- 12 h 6 min
- PR fusionados (30 d)
- 596
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MoonshotAI/kimi-code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MoonshotAI/kimi-code#5539 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Kimi RC workspace folder picker does not display symbolic link directoriesPosiblemente ocupada @markankamaransheogarat-sys la tomó hace 2 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MoonshotAI/kimi-code#5296 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
MoonshotAI/kimi-code#5256 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MoonshotAI/kimi-code#5062 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
MoonshotAI/kimi-code#5057 ·
Los mantenedores suelen responder en 1 día
Todos los issues de MoonshotAI/kimi-code
Issues similares
-
Add Alice&BotAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
bot:ai-assisted component:faucet github_actions security status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
midnightntwrk/midnight-faucet-api#215 ·
Los mantenedores suelen responder en 1 día
-
[功能] 手机端命令执行显示 AI 动作描述Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NanmiCoder/cc-haha#2034 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
mobile prio:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
digitalfabrik/entitlementcard#3324 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día