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

Failed to Connect to MCP Inspector

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Bicep
Star
129
Fork
79
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.