Support multiple remote toolsets via URL for managed MCP clients without custom headers
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
まず、ホストされたリモートサーバーの /mcp/x/{toolset}、/readonly、/x/all に対する URL ルーティングを追跡し、既存の X-MCP-Toolsets の検証および正規化と比較します。複数の toolset に対応する URL-safe な形式を 1 つ定義して文書化し、ヘッダーも存在する場合の優先順位を含めます。managed client が /x/all を使わずに、範囲が限定され検証済みの bundle を選択できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature or problem you’d like to solve
The hosted GitHub MCP server currently supports a single toolset by URL (/mcp/x/{toolset}) and multiple toolsets through the X-MCP-Toolsets request header.
That leaves managed MCP clients that expose the server endpoint and OAuth configuration but do not allow arbitrary per-request HTTP headers unable to select a bounded combination of toolsets. One concrete example is a ChatGPT custom/developer MCP app: its current app configuration flow exposes endpoint/metadata/authentication and tool scanning, but not an arbitrary X-MCP-Toolsets header field.
The practical choices are therefore currently:
- remain on the default toolset and lose useful optional capabilities;
- create several separate MCP app connections, one per
/x/{toolset}URL; or - use
/x/all, which exposes substantially more tools than needed and works against least-privilege/tool-surface minimization.
My concrete desired bundle is:
default,actions,projects,git,notifications,governance
The use case is an interactive GitHub MCP connection that needs ordinary repository/issue/PR operations plus CI inspection/control, Projects, repository tree access, notifications, and governance, while intentionally not exposing unrelated toolsets.
Proposed solution
Add a URL-addressable way to select multiple toolsets on the hosted remote server, while preserving the existing header behavior. For example, one of:
/mcp/x/default,actions,projects,git,notifications,governance/mcp?toolsets=default,actions,projects,git,notifications,governance- another documented, URL-safe equivalent.
Requirements I would suggest:
- use the same validation/normalization as
X-MCP-Toolsets; - support the
defaultpseudo-toolset plus additional toolsets; - reject unknown toolsets rather than silently broadening access;
- remain composable with
/readonlyand existing URL-addressable modes where applicable; - keep headers authoritative when both mechanisms are present, or document an unambiguous precedence rule;
- do not make
/x/allthe required workaround for managed clients.
Example prompts or workflows
A managed ChatGPT MCP app could point to one stable endpoint representing exactly the approved bundle, then scan tools normally. The same pattern would help other hosted/managed MCP clients that cannot inject custom headers.
Why this matters
GitHub already recommends selecting only the toolsets needed because tool-surface size affects model tool selection and security. URL-addressable multi-toolset selection lets managed clients follow that recommendation instead of choosing between missing capabilities, duplicated app connections, or all.
This request is separate from #3231 / PR #3232, which address patch-safe large-file updates.
- 主要言語
- Go
- スター
- 33.1k
- フォーク
- 5k
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/github-mcp-server のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/github-mcp-server#3235 ·
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
github/github-mcp-server#3042 · コメント 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/github-mcp-server#3032 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
github/github-mcp-server#2803 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/github-mcp-server#2740 ·
github/github-mcp-server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NVIDIA/gpu-operator#2955 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
kovidgoyal/kitty#10516 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
cisagov/vulnrichment#337 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100