Unable to get MCP servers depending on OAuth to work
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- azure, github
- 領域
- api, authentication, cloud
調査の方向性
まず、この issue の設定とエラーログを使って、https://p-ai-gateway.azure-api.net/default/toolservers/github/mcp への OAuth リクエストおよび未認証リクエストを再現します。Github エンドポイントがどのように初期化され、OAuth のディスカバリーがクライアント認証情報をどのように処理するかを調査します。文書化された動作する設定で MCP サーバーが正常に接続できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I can't figure out how to configure MCP servers which depend on OAuth to get working. A simple one to test is the Github Copilot MCP which works without configuring anything.
Works
"github-mcp-server": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp",
"gallery": "https://p-ne1apim-apicenter.data.swedencentral.azure-apicenter.ms/workspaces/default",
"version": "Original",
"headers": {
"X-MCP-Toolsets": "actions,git,pull_requests,repos",
"X-MCP-Readonly": "true"
}
},
Does not work
"githu-mcp-server2": {
"type": "http",
"url": "https://p-ai-gateway.azure-api.net/default/toolservers/github/mcp",
"headers": {
"api-key": "<redacted>"
},
"gallery": "https://p-ne1apim-apicenter.data.swedencentral.azure-apicenter.ms/workspaces/default",
"version": "v0"
}
I tried configuring the authentication to "None" - this results i :
2026-07-31 13:58:19.769 [info] Connection state: Error 404 status sending message to https://p-ai-gateway.azure-api.net/default/toolservers/github/mcp: { "statusCode": 404, "message": "Federation tools/list failed: required endpoint 'Github' returned error: Endpoint 'Github' init returned HTTP 401." }
When attempting to configure OAuth 2.0 with "Auto discover" I get the following settings:
Just put "placeholder", "placeholder" in clientid and secret.
This ends up with:
2026-07-31 14:04:55.674 [info] Connection state: Error 404 status sending message to https://p-ai-gateway.azure-api.net/default/toolservers/github/mcp: { "statusCode": 404, "message": "Federation tools/list failed: required endpoint 'Github' returned error: OAuth2 endpoint 'Github' has no valid connection (ReconnectRequired)." }
Not sure how this is meant to be set up, and why is a client id and client secret needed in this case?
- 主要言語
- Python
- スター
- 18
- フォーク
- 9
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/aigateway のほかの issue
-
How do I use the AI Gateway to route to ADO Remote MCP Server?対応中かも @santiagxf が今日担当しました。 オープンquestion
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
Azure/aigateway#72 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Playground testing to external claude enterprise fails from AI Gateway対応中かも @santiagxf が今日担当しました。 オープンinvestigate
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
Azure/aigateway#71 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
migrate-apim: partialWhen conditions are declared in the schema and implemented in the planner, and nothing checks the two agree対応中かも @santiagxf が今日担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
Azure/aigateway の issue をすべて見る
似ている issue
-
roadmap/v1.3.0 scope/entitlement type/improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
databrickslabs/ontos#1778 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue help wanted up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ClickHouse/loom#2075 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itself対応中かも @fedonman が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 69/100
StevenBlack/hosts#3314 ·
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SparseLinearAlgebra/spla#316 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信