Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Show the OAuth redirect URI (with copy) in Server Settings for pre-registered clients

オープン 初心者向け
#2,524 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

enhancement v2

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 is http://localhost:6274/oauth/callback by default. It follows the address bar, so 127.0.0.1 vs localhost, a non-default CLIENT_PORT or a non-local host all change it. Many authorization servers match redirect URIs exactly.
  • TUI/CLI: http://127.0.0.1:6276/oauth/callback by 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

環境構築

はじめの一歩

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

modelcontextprotocol/inspector のほかの issue

modelcontextprotocol/inspector の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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