Skip to content

Failed to Connect to MCP Inspector #7

@faynef

Description

@faynef

Description:
When following the README.md 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

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://<apim-servicename-from-azd-output>.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions