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

Failed to Connect to MCP Inspector

Offen
#14 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Bicep
Sterne
129
Forks
79
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 because Unauthorized from MCP server.

![Image](https://github.com/user-attachments/assets/7e6dc7b5-c52e-41d4-8fed-1238c821170b)

Repro Steps:

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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with README.md and reproduce the documented flow using azd auth login, azd up, and npx @modelcontextprotocol/inspector. Check the SSE URL shown in the azd output and the authentication expected by the API Management endpoint. Done means the MCP Inspector connects successfully to the deployed Azure Function app through the SSE endpoint.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, node.js, python
Bereich
api, authentication, cloud
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.