MCP OAuth: client credentials grant for machine-to-machine access

Abierto
#518 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

Start by reading the related issues #511, #512, and #513, then inspect the OAuth token endpoint /oauth/token, the MCP endpoint /mcp, and the existing API key flow. The scope first requires a decision about client identity and permission bounds, followed by confidential-client creation and secret handling. Done means a test client can obtain a token and call /mcp, with documentation explaining when to use API keys versus client credentials.

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

Descripción

enhancement

Part of #511. Follows #512 and #513.

Summary

Add the OAuth client_credentials grant (MCP OAuth Client Credentials extension) for machine-to-machine access, e.g. CI jobs and bots that act as a service identity rather than a signed-in user.

This is not on the zero-config path (callers still need a pre-provisioned client ID and secret), so it comes after interactive sign-in.

Scope

  • Decide what identity a client-credentials client acts as (a service user, or the user who created it) and how its permissions are bounded
  • Admin/user UI to create a confidential client and view its secret once
  • client_credentials grant on /oauth/token
  • Compare against plain API keys, which already cover most machine use, and document when to use which

Acceptance criteria

  • A test client obtains a token with client_credentials and calls /mcp successfully.
  • Docs explain API keys vs. client credentials.
Lenguaje dominante
JavaScript
Estrellas
10
Forks
6
Merge medio
5 d 14 h
PR fusionados (30 d)
5

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 mieweb/opensource-server

Todos los issues de mieweb/opensource-server

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.