Skip to main content
Glama
Azure-Samples

Secure Remote MCP Server

使用 Azure API 管理保护远程 MCP 服务器(实验性)

图表

Azure API 管理充当 MCP 服务器的AI 网关

此示例实现了最新的MCP 授权规范

这是用于了解流程的序列图

将远程 MCP 服务器部署到 Azure

  1. 注册Microsoft.App资源提供程序。

    • 如果使用 Azure CLI,请运行az provider register --namespace Microsoft.App --wait

    • 如果使用 Azure PowerShell,请运行Register-AzResourceProvider -ProviderNamespace Microsoft.App 。 If you are using Azure PowerShell, run Register-AzResourceProvider -ProviderNamespace Microsoft.App . 然后过一段时间运行(Get-AzResourceProvider -ProviderNamespace Microsoft.App).RegistrationState以检查注册是否完成。

  2. 运行此azd命令来配置 api 管理服务、函数应用程序(带代码)和所有其他所需的 Azure 资源

    azd up

MCP 检查器

  1. 新的终端窗口中,安装并运行 MCP Inspector

    npx @modelcontextprotocol/inspector
  2. 按住 CTRL 键并单击,从应用程序显示的 URL 加载 MCP Inspector Web 应用程序(例如http://127.0.0.1:6274/#resources

  3. 将传输类型设置为SSE

  4. 将 URL 设置为azd upConnect后显示的正在运行的 API 管理 SSE 端点:

    https://<apim-servicename-from-azd-output>.azure-api.net/mcp/sse
  5. 列出工具。单击某个工具并运行工具

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables comprehensive integration with Azure AI services including OpenAI, Cognitive Services, Computer Vision, and Face API through a mission-critical MCP server. Provides enterprise-grade reliability with high availability, observability, chaos engineering, and secure multi-region deployment capabilities.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides standardized MCP interfaces for Azure services including Cosmos DB operations (container and item management) and AI Search operations (index management), deployed through Azure API Management gateway.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes backend APIs through Azure API Management as an MCP server to enable AI assistants to interact with product catalogs and order systems. It provides standardized tools for searching products, retrieving details, and managing orders via the Model Context Protocol.
    MIT

View all related MCP servers

Related MCP Connectors

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

  • MCP server for AI access to Swagger by SmartBear.

  • MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure-Samples/remote-mcp-apim-functions-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server