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

Failed to Connect to MCP Inspector

Ouverte
#7 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Bicep
Étoiles
129
Forks
79
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.