{"repo":"Azure-Samples/remote-mcp-apim-functions-python","free":true,"listed":false,"github":"https://github.com/Azure-Samples/remote-mcp-apim-functions-python","clone":"git clone https://github.com/Azure-Samples/remote-mcp-apim-functions-python.git","description":"Azure API Management as AI Gateway to Remote MCP servers.","language":"Bicep","stars":127,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"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 1. 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. 2. Run this azd command to provision the api management service, function app(with code) and all other required Azure resources Test with MCP Inspector 1. In a new terminal window , install and run MCP Inspector 1. 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) 1. Set the transport type to SSE 1. Set the URL to your running API Management SSE endpoint displayed after azd up and Connect : 5. List Tools . Click on a tool and Run Tool . Technical Architecture Overview This solution deploys a secure MCP (Model Context Protocol) server infrastructure on Azure. The architecture implements a multi-layered security model with Azure API Management serving as an intelligent gateway that handles authentication, authorization, and request routing. Deployed Azure Resources","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure-Samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure-Samples/remote-mcp-apim-functions-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}