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

Failed to Connect to MCP Inspector

未关闭
#7 0 条评论 0 个 reaction 已指派 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 摘要。