Acts as an AI Gateway for MCP servers using Azure API Management, implementing the latest MCP Authorization specification.
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.
Register Microsoft.App
resource provider.
az provider register --namespace Microsoft.App --wait
.Register-AzResourceProvider -ProviderNamespace Microsoft.App
. Then run (Get-AzResourceProvider -ProviderNamespace Microsoft.App).RegistrationState
after some time to check if the registration is complete.Run this azd command to provision the api management service, function app(with code) and all other required Azure resources
azd up
In a new terminal window, install and run MCP Inspector
npx @modelcontextprotocol/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:
https://.azure-api.net/mcp/sse
List Tools. Click on a tool and Run Tool.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!