
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A sample that deploys a remote MCP server hosted on Azure Functions, fronted by Azure API Management as an AI gateway implementing the MCP authorization specification.
Secure Remote MCP Server with Azure API Management is cataloged as an MCP server attributed to azure-samples. A sample that deploys a remote MCP server hosted on Azure Functions, fronted by Azure API Management as an AI gateway implementing the MCP authorization specification. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Secure Remote MCP Server with Azure API Management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
API Management is the central security gateway exposing both OAuth and MCP APIs, handling authentication flows, request validation and secure proxying to backend services.
The Azure Function App executes MCP tools and operations, with snippet management used as the example workload.
README.md · 130c553e12bc · Fetched 2026-11-13 09:31:00 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.

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://<apim-servicename-from-azd-output>.azure-api.net/mcp/sse
List Tools. Click on a tool and Run Tool.
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.

The infrastructure provisions the following Azure resources:
User-Assigned Managed Identity - Enables secure service-to-service authentication
Entra ID Application Registration - OAuth2/OpenID Connect client for authentication
vnetEnabled is true
Azure API Management serves as the security perimeter, implementing:
Azure Functions provides:
Managed Identities eliminate the need for:
The APIM instance is configured with two primary APIs that work together to implement the MCP authorization specification:
/oauth/*)This API implements the complete OAuth 2.0 authorization server functionality required by the MCP specification:
Authorization Endpoint (GET /authorize)
Consent Management (GET/POST /consent)
OAuth Metadata Endpoint (GET /.well-known/oauth-authorization-server)
Client Registration (POST /register)
Token Endpoint (POST /token)
The OAuth API uses several APIM Named Values for configuration:
McpClientId - The registered Entra ID application client IDEntraIDFicClientId - Service identity client ID for token exchangeAPIMGatewayURL - Base URL for callback and metadata endpointsOAuthScopes - Requested OAuth scopes (openid + Microsoft Graph)EncryptionKey / EncryptionIV - For session key encryption/mcp/*)This API provides the actual MCP protocol endpoints with security enforcement:
Server-Sent Events Endpoint (GET /sse)
Message Endpoint (POST /message)
The MCP API applies a comprehensive security policy to all operations:
Authorization Header Validation
<check-header name="Authorization" failed-check-httpcode="401"
failed-check-error-message="Not authorized" ignore-case="false" />
Session Key Decryption
Token Cache Lookup
<cache-lookup-value key="@($"EntraToken-{context.Variables.GetValueOrDefault("decryptedSessionKey")}")"
variable-name="accessToken" />
Access Token Validation
Backend Authentication
<set-header name="x-functions-key" exists-action="override">
<value>{{function-host-key}}</value>
</set-header>
The solution implements a sophisticated multi-layer security model:
Layer 1: OAuth 2.0/PKCE Authentication
Layer 2: Session Key Encryption
Layer 3: Function-Level Security
Layer 4: Azure Platform Security
This layered approach ensures that even if one security boundary is compromised, multiple additional protections remain in place.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Secure Remote MCP Server with Azure API Management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/remote-mcp-apim-functions-python)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.