Remote MCP using Azure API Management logo

Remote MCP using Azure API Management

by Azure-Samples

This sample demonstrates how to secure Remote MCP Servers using Azure API Management as an AI Gateway. It implements the latest MCP Authorization specification using Azure Functions.

View on GitHub

Last updated: N/A

What is Remote MCP using Azure API Management?

This is a sample that uses Azure API Management as an AI Gateway for MCP (Model Context Protocol) servers, implementing the latest MCP Authorization specification. It leverages Azure Functions to handle the server-side logic.

How to use Remote MCP using Azure API Management?

To deploy, first register the Microsoft.App resource provider. Then, use the azd up command to provision the API Management service, Function App, and other required Azure resources. After deployment, use MCP Inspector to connect to the API Management SSE endpoint and interact with the tools.

Key features of Remote MCP using Azure API Management

  • AI Gateway using Azure API Management

  • MCP Authorization implementation

  • Azure Functions integration

  • SSE transport

  • Automated deployment with azd

Use cases of Remote MCP using Azure API Management

  • Securing remote MCP servers

  • Implementing AI Gateways

  • Authorizing access to AI models

  • Testing and debugging MCP implementations

  • Centralized management of AI model access

FAQ from Remote MCP using Azure API Management

What is MCP?

MCP stands for Model Context Protocol. It is a protocol for interacting with AI models.

What is an AI Gateway?

An AI Gateway acts as a central point for managing and securing access to AI models.

What is Azure API Management?

Azure API Management is a fully managed service that enables you to publish, secure, transform, maintain, and monitor APIs.

What is Azure Functions?

Azure Functions is a serverless compute service that enables you to run code without provisioning or managing servers.

What is azd?

azd is the Azure Developer CLI, a tool for accelerating the creation of cloud applications.