Show the OAuth redirect URI (with copy) in Server Settings for pre-registered clients
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 76/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず core/auth/browser/providers.ts:54 から始めて、Web のリダイレクト URI がどのように計算されるかを理解し、次に Web の Server Settings フォームとその OAuth Settings セクションを見つけます。コピーに対応した読み取り専用の Redirect URI フィールドと、その origin への依存関係の説明を追加します。現在のアドレスに対して表示される値がプロバイダーのコールバック URI と一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
A user who pre-registers an OAuth client (client ID + secret) with their authorization server has to register the Inspector's redirect URI there before connecting. The Server Settings → OAuth Settings panel never shows that value. Other MCP clients (Claude, ChatGPT) show it so it can be copied into the AS configuration. Right now users have to guess it or read the source.
With DCR the Inspector sends redirect_uris itself, so this only matters for pre-registered (static) clients.
Current behavior
- Web: the redirect URI is
${window.location.origin}/oauth/callback(core/auth/browser/providers.ts:54), which ishttp://localhost:6274/oauth/callbackby default. It follows the address bar, so127.0.0.1vslocalhost, a non-defaultCLIENT_PORTor a non-local host all change it. Many authorization servers match redirect URIs exactly. - TUI/CLI:
http://127.0.0.1:6276/oauth/callbackby default (core/auth/node/runner-oauth-callback.ts), overridable via--callback-url/MCP_OAUTH_CALLBACK_URL.
Proposed
Add a read-only Redirect URI field with a copy button to the OAuth Settings section of the web Server Settings form. Compute it the same way the provider does, so the field cannot drift from the value actually sent. Add a short description noting that it depends on the origin the Inspector is opened from.
Out of scope: TUI/CLI surfaces. Their default is already fixed and documented in their READMEs.
Reported by a user asking whether the redirect URI is fixed and whether they should register it on their AS.
- 主要言語
- TypeScript
- スター
- 11k
- フォーク
- 1.5k
- 平均マージ
- 5時間 13分
- マージ済み PR(30日)
- 132
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/inspector のほかの issue
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
modelcontextprotocol/inspector#2525 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
modelcontextprotocol/inspector#2523 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modelcontextprotocol/inspector#2515 ·
メンテナーはふだん 1 日以内に返信
-
enhancement v2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
modelcontextprotocol/inspector#2438 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
TUI and web launcher crash with an unhandled 'error' event when the browser opener cannot be spawnedオープンbug v2
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
modelcontextprotocol/inspector#2533 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
modelcontextprotocol/inspector の issue をすべて見る
似ている issue
-
area/frontend good first issue kind/cooldown
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
voidzero-dev/oxc-angular-compiler#511 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langchain-ai/deepagentsjs#898 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
anomalyco/models.dev#8509 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation P2 UI/UX
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信