Failed to Connect to MCP Inspector

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, node.js, python

Research direction

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.

Written by the indexing model from the issue text.

Description

Description:
When following the README.md instructions to connect the MCP Inspector to the API Management SSE endpoint, the Inspector connection fails because Unauthorized from MCP server.

Image

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.

Dominant language
Bicep
Stars
129
Forks
80
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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

All issues in Azure-Samples/remote-mcp-apim-functions-python

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.