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

Failed to Connect to MCP Inspector

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Bicep
星标
129
派生
79
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

从 README.md 开始,使用 azd auth login、azd up 和 npx @modelcontextprotocol/inspector 重现文档中说明的流程。检查 azd 输出中显示的 SSE URL,以及 API Management 端点所要求的身份验证。当 MCP Inspector 通过 SSE 端点成功连接到已部署的 Azure Function app 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, node.js, python
领域
api, authentication, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。