remote-auth-mcp-apim-py

remote-auth-mcp-apim-py

18

The Authenticated Remote MCP Server project enables the deployment of a secure MCP server on Azure, leveraging Entra ID for token management with Microsoft Graph. It uses Azure tools and provides a method for secretless authorization.

Authenticated Remote MCP Server

This sample project demonstrates how to deploy an Entra ID-protected MCP server on Azure. Key features include using an authorization pattern where a token is acquired for the MCP server and then exchanged for Microsoft Graph use, all in a secretless manner. The project utilizes Azure Functions, API Management, Bicep, Python, and the Azure Developer CLI.

Getting Started

  • Install the Azure Developer CLI
  • Clone and navigate to the repository
  • Login and deploy with Azure Developer CLI

Important Notes

  • Deployment will incur Azure costs; remember to delete resources if for testing.

Testing

  • Instructions are provided for testing with the Model Context Protocol Inspector after deploying.