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

Failed to Connect to MCP Inspector

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

説明

**Description:**
When following the [README.md](https://github.com/Azure-Samples/remote-mcp-apim-functions-python) instructions to connect the MCP Inspector to the API Management SSE endpoint, the Inspector connection fails with a DNS resolution error. The error is as follows:
![Image](https://github.com/user-attachments/assets/d800c5e7-e328-4d90-84fd-7724b09bfb85)

**Repro Steps:**

1. Run `azd auth login`.
2. Run `azd init -t Azure-Samples/remote-mcp-apim-functions-python`.
3. Run `azd up`.
4. Run `npx @modelcontextprotocol/inspector`.
5. Open the MCP Inspector web app ->Set the transport type to SSE -> Set the url to `https://.azure-api.net/mcp/sse` -> Click `Connect`.

**Environment:**

- Azd version: azd version 1.14.0 (commit c928795c47f27d1e997c217147dc649054ac05c8)
- OS: Windows

**Expected behavior:**
Connect to Azure function app from a client successfully.

@annaji-msft and @hemarina for notification.

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

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

評価

この issue はまだ評価されていません。

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

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