Azure Functions support for the MCP implementation, providing serverless compute functionality for the MCP authorization flow.
Allows implementation of MCP servers using Python, mentioned as one of the languages used in the sample.
Secure Remote MCP Servers using Azure API Management (Experimental)
Azure API Management acts as the AI Gateway for MCP servers.
This sample implements the latest MCP Authorization specification
This is a sequence diagram to understand the flow.
Deploy Remote MCP Server to Azure
- Register
Microsoft.App
resource provider.- If you are using Azure CLI, run
az provider register --namespace Microsoft.App --wait
. - If you are using Azure PowerShell, run
Register-AzResourceProvider -ProviderNamespace Microsoft.App
. Then run(Get-AzResourceProvider -ProviderNamespace Microsoft.App).RegistrationState
after some time to check if the registration is complete.
- If you are using Azure CLI, run
- Run this azd command to provision the api management service, function app(with code) and all other required Azure resources
MCP Inspector
- In a new terminal window, install and run MCP Inspector
- CTRL click to load the MCP Inspector web app from the URL displayed by the app (e.g. http://127.0.0.1:6274/#resources)
- Set the transport type to
SSE
- Set the URL to your running API Management SSE endpoint displayed after
azd up
and Connect: - List Tools. Click on a tool and Run Tool.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Acts as an AI Gateway for MCP servers using Azure API Management, implementing the latest MCP Authorization specification.
Related MCP Servers
- AsecurityAlicenseAqualityThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOpsLast updated -9619TypeScriptMIT License
- -securityAlicense-qualityEnables connections to Azure AI Agents within any MCP client, allowing users to leverage Azure AI Foundry's models and knowledge tools like Azure AI Search and Bing Web Grounding through a conversational interface.Last updated -129PythonMIT License
- -securityAlicense-qualityAn MCP server for interacting with Azure. Contains some common Compute and Networking actions, and extensible to add many more.Last updated -PythonApache 2.0
- -security-license-qualityA modular dynamic API server based on the MCP protocol that provides rich tool capabilities for AI assistants while significantly reducing prompt token consumption.Last updated -TypeScript