vMCP: answer a call for an unconnected provider with a URL elicitation carrying the connect link
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start by reading the related issues #6407 and #6970, then trace the outbound credential read and render seam for tools/call in the vMCP implementation. Check how protocol version and declared client capabilities select the elicitation shape. Done means the acceptance cases pass: URL capable clients receive the connect link without a backend call, and storage or ownership failures remain errors.
索引モデルが issue の本文から書いたものです。
説明
Part of #6406. Depends on #6407; uses the URL elicitation answer from #6970.
Problem: When a delegated token's user has no stored credential for the routed provider, or its refresh is rejected as an invalid grant, #6407 returns a "needs authorization" error carrying a connect link. Nothing turns that error into an answer an MCP client can act on. vMCP's URL elicitation answer (#6970) is produced only by an embedder's in-process decorator, so every deployment would need its own decorator to tell the user where to connect, and a standalone vMCP can't do it at all.
Change:
- When the outbound credential read returns "needs authorization" for a
tools/call, vMCP answers that call with the URL elicitation answer (#6970), carrying the connect link, before sending anything to the backend. The existing render seam chooses the shape for the protocol and the client's declared capabilities. A client that didn't declare URL mode, or whose capabilities vMCP doesn't know, gets the fallback; vMCP's own answer sets no fallback text, so the link never appears in it. - The connect link is the one #6407's answer carries: an entry point on the gateway's authorization server that signs the user in and connects that provider (#6831's explicit reconnect). It is never taken from a backend or from the request, and it identifies the provider and nothing about the user.
- Storage failures and transient refresh failures stay infrastructure errors, never an elicitation. A row owned by another user stays a hard failure.
- Deployments without
upstreamCredentialScope: platformUserare unchanged.
Acceptance:
- Delegated user with no connection for the routed provider: a client that declared URL elicitation gets the URL elicitation answer with the link for its protocol version, and the recording backend receives no
tools/call. - After the user connects through the link, the same call succeeds with their credential.
- A storage outage gets an infrastructure error, not an elicitation. Another user's row is refused.
- Session-mode behaviour is unchanged.
- 主要言語
- Go
- スター
- 2.3k
- フォーク
- 332
- 平均マージ
- 19時間 39分
- マージ済み PR(30日)
- 174
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stacklok/toolhive のほかの issue
-
Reduce log spam of vMCP pod by logging cache sync messages at debug再び着手できるかも @FOWEPJF255 が 8 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンkubernetes
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stacklok/toolhive#7109 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
stacklok/toolhive#6925 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
proxyrunner tool-filter middleware strips SEP-2322 Modern envelope from tools/list, breaking vMCP health checks再び着手できるかも @alex-feel が 56 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
stacklok/toolhive#6684 · コメント 5 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
HttpClientBuilder.Build() ignores HTTP(S)_PROXY (auth-server OAuth/DCR calls bypass forward proxy)対応中かも @schonmann が 46 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
stacklok/toolhive#6671 · コメント 2 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Delete the dead pkg/vmcp/server/adapter package再び着手できるかも @suantea が 40 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
stacklok/toolhive の issue をすべて見る
似ている issue
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
messaging/v1: IsGRPCProtocol and InternalMetadataToGrpcMetadata panic on empty or nil metadata values対応中かも @patelshivani2283-lab が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
stacklok/toolhive-catalog#2024 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信