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

Aperta
#518 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
JavaScript
Stelle
10
Fork
6
Merge medio
5g 14h
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mieweb/opensource-server

Tutte le issue di mieweb/opensource-server

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.