Skip to content

Commit 4cb0b6a

Browse files
author
gitName
committed
wip
1 parent 2632e9a commit 4cb0b6a

File tree

5 files changed

+28
-16
lines changed

5 files changed

+28
-16
lines changed

articles/api-management/export-rest-mcp-server.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to expose a REST API in Azure API Management as an MCP se
44
author: dlepow
55
ms.service: azure-api-management
66
ms.topic: how-to
7-
ms.date: 07/18/2025
7+
ms.date: 07/22/2025
88
ms.author: danlep
99
ms.collection: ce-skilling-ai-copilot
1010
ms.custom:
@@ -15,7 +15,7 @@ ms.custom:
1515

1616
[!INCLUDE [api-management-availability-premium-standard-basic-premiumv2-standardv2-basicv2](../../includes/api-management-availability-premium-standard-basic-premiumv2-standardv2-basicv2.md)]
1717

18-
In API Management, you can expose a REST API managed in API Management as a remote [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol) server through its built-in [AI gateway](genai-gateway-capabilities.md). Expose one or more of the API operations as tools that MCP clients can call using the MCP protocol.
18+
In API Management, you can expose a REST API managed in API Management as a remote [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol) server using its built-in [AI gateway](genai-gateway-capabilities.md). Expose one or more of the API operations as tools that MCP clients can call using the MCP protocol.
1919

2020
[!INCLUDE [preview-callout-mcp-servers](includes/preview/preview-callout-mcp-servers.md)]
2121

@@ -30,11 +30,13 @@ Learn more about:
3030
## Prerequisites
3131

3232
+ If you don't already have an API Management instance, complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md).
33-
+ Your API Management instance must be in one of the supported service tiers for preview: classic Basic, Standard, Premium, Basic v2, Standard v2, or Premium v2.
34-
+ If your instance is in the classic Basic, Standard, or Premium tier, you must join the **AI Gateway Early** [update group](configure-service-update-settings.md) to access MCP server features. It can take up to 2 hours for the update to be applied.
33+
+ The following service tiers are supported for preview: classic Basic, Standard, Premium, Basic v2, Standard v2, or Premium v2.
34+
+ In the classic Basic, Standard, or Premium tier, you must join the **AI Gateway Early** [update group](configure-service-update-settings.md) to access MCP server features. Allow up to 2 hours for the update to be applied.
35+
3536
+ Make sure that your instance manages an HTTP-compatible API (any API imported as a REST API, including APIs imported from Azure resources) that you'd like to expose as an MCP server. To import a sample API, see [Import and publish your first API](import-and-publish.md).
3637
> [!NOTE]
3738
> Only HTTP APIs managed in API Management can be exposed as MCP servers.
39+
3840
+ To test the MCP server, you can use Visual Studio Code with access to [GitHub Copilot](https://code.visualstudio.com/docs/copilot/setup).
3941

4042

articles/api-management/expose-existing-mcp-server.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to expose and govern an existing Model Context Protocol (
44
author: dlepow
55
ms.service: azure-api-management
66
ms.topic: how-to
7-
ms.date: 07/14/2025
7+
ms.date: 07/22/2025
88
ms.author: danlep
99
ms.collection: ce-skilling-ai-copilot
1010
ms.custom:
@@ -14,7 +14,7 @@ ms.custom:
1414

1515
[!INCLUDE [api-management-availability-premium-standard-basic-premiumv2-standardv2-basicv2](../../includes/api-management-availability-premium-standard-basic-premiumv2-standardv2-basicv2.md)]
1616

17-
This article shows how to use API Management to expose and govern an existing MCP-compatible server - a tool server hosted outside of API Management. Expose the server's tools through API Management so that MCP clients can call them using the MCP protocol.
17+
This article shows how to use API Management to expose and govern an existing MCP-compatible server - a tool server hosted outside of API Management. Expose the server's tools through API Management using its built-in [AI gateway](genai-gateway-capabilities.md) capabilities so that MCP clients can call them using the MCP protocol.
1818

1919
[!INCLUDE [preview-callout-mcp-servers](includes/preview/preview-callout-mcp-servers.md)]
2020

@@ -36,20 +36,23 @@ Learn more about:
3636
## Prerequisites
3737

3838
+ If you don't already have an API Management instance, complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md).
39-
+ Your API Management instance must be in one of the supported service tiers for preview: classic Basic, Standard, Premium, Basic v2, Standard v2, or Premium v2.
40-
+ If your instance is in the classic Basic, Standard, or Premium tier, you must join the **AI Gateway Early** [update group](configure-service-update-settings.md) to access MCP server features. It can take up to 2 hours for the update to be applied.
39+
+ The following service tiers are supported for preview: classic Basic, Standard, Premium, Basic v2, Standard v2, or Premium v2.
40+
+ In the classic Basic, Standard, or Premium tier, you must join the **AI Gateway Early** [update group](configure-service-update-settings.md) to access MCP server features. Allow up to 2 hours for the update to be applied.
41+
4142
+ Access to an external MCP-compatible server (for example, hosted in Azure Logic Apps, Azure Functions, LangServe, or other platforms).
43+
4244
+ Appropriate credentials to the MCP server (OAuth 2.0 client credentials or API keys) for secure access.
45+
4346
+ To test the MCP server, you can use Visual Studio Code with access to [GitHub Copilot](https://code.visualstudio.com/docs/copilot/setup).
4447

45-
## Expose an existing MCP Server
48+
## Expose an existing MCP server
4649

47-
Follow these steps to expose an existing MCP server to API Management:
50+
Follow these steps to expose an existing MCP server is API Management:
4851

4952
1. In the [Azure portal](https://portal.azure.com), navigate to your API Management instance.
5053
[!INCLUDE [preview-callout-mcp-feature-flag](includes/preview/preview-callout-mcp-feature-flag.md)]
5154

52-
1. In the left-hand menu, select **MCP servers** > **+ Create MCP server**.
55+
1. In the left-hand menu, under **APIs**,select **MCP servers** > **+ Create MCP server**.
5356
1. Select **Connect existing MCP server**.
5457
1. In **Backend API**:
5558
1. Enter the existing **MCP server base URL**.

articles/api-management/includes/preview/preview-callout-mcp-servers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ ms.date: 07/16/2025
77
---
88

99
> [!IMPORTANT]
10-
> This feature is in preview. Review the [prerequisites](#prerequisites) to access MCP server features. In preview, API Management supports MCP server tools, but doesn't currently support MCP resources or prompts.
10+
> * This feature is in preview. Review the [prerequisites](#prerequisites) to access MCP server features.
11+
> * In preview, API Management supports MCP server tools, but doesn't currently support MCP resources or prompts.

articles/api-management/mcp-server-overview.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,15 @@ One option to secure inbound access is to configure a policy to validate a JSON
100100

101101
```
102102

103-
> [!IMPORTANT]
103+
For more inbound authorization options and samples, see:
104+
105+
* [MCP server authorization with Protected Resource Metadata (PRM) sample](https://github.com/blackchoey/remote-mcp-apim-oauth-prm)
106+
107+
* [Secure Remote MCP Servers using Azure API Management (Experimental)](https://github.com/Azure-Samples/remote-mcp-apim-functions-python)
108+
109+
* [MCP client authorization lab](https://github.com/Azure-Samples/AI-Gateway/tree/main/labs/mcp-client-authorization)
110+
111+
> [!CAUTION]
104112
> When you use an MCP server in API Management, incoming headers like **Authorization** aren't automatically passed to your backend API. If your backend needs a token, you can add it as an input parameter in your API definition. Alternatively, use policies like `get-authorization-context` and `set-header` to generate and attach the token, as noted in the following section.
105113
106114

@@ -151,9 +159,7 @@ MCP servers in API Management are available in the following service tiers:
151159
152160
## Related content
153161

154-
* [Python sample: Secure remote MCP servers using Azure API Management (experimental)](https://github.com/Azure-Samples/remote-mcp-apim-functions-python)
155162

156-
* [MCP client authorization lab](https://github.com/Azure-Samples/AI-Gateway/tree/main/labs/mcp-client-authorization)
157163

158164
* [Use the Azure API Management extension for VS Code to import and manage APIs](visual-studio-code-tutorial.md)
159165

includes/api-management-configure-test-mcp-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To configure policies for the MCP server:
2828

2929
## Validate and use the MCP server
3030

31-
Use a compliant LLM agent (such as GitHub Copilot, Semantic Kernel, or Copilot Studio) or a test client (such as `curl`) to call the API Management-hosted MCP endpoint, ensure the request includes appropriate headers and tokens, and confirm successful routing and response from the MCP server.
31+
Use a compliant LLM agent (such as GitHub Copilot, Semantic Kernel, or Copilot Studio) or a test client (such as `curl`) to call the API Management-hosted MCP endpoint. Ensure that the request includes appropriate headers or tokens, and confirm successful routing and response from the MCP server.
3232

3333
> [!TIP]
3434
> If you use the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) to test an MCP server managed by API Management, we recommend using version 0.9.0.

0 commit comments

Comments
 (0)