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

オープン
#518 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
JavaScript
スター
10
フォーク
6
平均マージ
5日 14時間
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mieweb/opensource-server のほかの issue

mieweb/opensource-server の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。