Secure Remote MCP Servers using Azure API Management (Experimental)

Secure Remote MCP Servers using Azure API Management (Experimental)

site icon
2025.04.11 27
Bicep远程MCP服务器AI网关其它
该服务是一个实验性的远程MCP服务器解决方案,利用Azure API Management作为AI网关,结合Azure Functions实现。它遵循最新的MCP授权规范,旨在为MCP服务器提供安全的远程访问能力。
View on GitHub

Overview

基本能力

产品定位

该服务是一个实验性的远程MCP服务器解决方案,利用Azure API Management作为AI网关,结合Azure Functions实现。

核心功能

  • 使用Azure API Management作为AI网关
  • 遵循最新的MCP授权规范
  • 提供安全的远程MCP服务器访问

适用场景

  • 需要远程访问MCP服务器的场景
  • 需要安全授权机制的MCP服务器部署

工具列表

  • MCP Inspector:用于检查和运行MCP工具

常见问题解答

无明确提供

使用教程

使用依赖

  1. 注册Microsoft.App资源提供者:
  2. Azure CLI: az provider register --namespace Microsoft.App --wait
  3. Azure PowerShell: Register-AzResourceProvider -ProviderNamespace Microsoft.App,然后使用(Get-AzResourceProvider -ProviderNamespace Microsoft.App).RegistrationState检查注册状态

安装教程

  1. 运行azd命令部署所有Azure资源: shell azd up

调试方式

  1. 安装并运行MCP Inspector: shell npx @modelcontextprotocol/inspector
  2. 在MCP Inspector中设置传输类型为SSE
  3. 设置URL为API Management的SSE端点
  4. 列出工具并运行

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。