Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python

VS Code authentication fails but Inspector works

オープン
#15 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Bicep
スター
129
フォーク
79
PR マージ指標
30日以内にマージされた PR はありません

説明

When using inspector, all works fine. With the preconfigured SSE MCP tool, and also with an MCP tool I added thats HTTP Stream.

However, when using the same configuration in VS code. There seems to be a problem with the redirect url.

Configuration
![Image](https://github.com/user-attachments/assets/ab62473b-be0e-4f41-92fb-46c01dd92fa2)

Redirect url:

![Image](https://github.com/user-attachments/assets/325cfe2b-a022-4288-92e8-2562d068d080)

Strange enough as well is the fact that the redirect url is insides, but im working from regular vs code.

Currently out of ideas on how to proceed and debug. Other oauth MCP tools work just fine. (GitHub).

Any ideas would be appreciated.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by comparing the OAuth redirect URL used by VS Code with the configuration that works in Inspector and with the other working OAuth MCP tools mentioned in the issue. Done means authentication completes successfully in regular VS Code for the configured SSE or HTTP Stream MCP tool.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
vscode
領域
authentication
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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