You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Export API to MCP server (preview) | No | No | Yes | No | Yes | No | Yes | No |
55
+
| Export API to MCP server (preview) | No | No | Yes | Yes | Yes | Yes | Yes | Yes |
56
+
| Expose existing MCP server (preview) | No | No | Yes | Yes | Yes | Yes | Yes | Yes |
56
57
57
58
<sup>1</sup> Enables the use of Microsoft Entra ID (and Azure AD B2C or [Microsoft Entra External ID](/entra/external-id/customers/overview-customers-ciam)) as an identity provider for user sign in on the developer portal.<br/>
58
59
<sup>2</sup> Including related functionality such as users, groups, issues, applications, and email templates and notifications.<br/>
Copy file name to clipboardExpand all lines: articles/api-management/expose-existing-mcp-server.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to expose and govern an existing Model Context Protocol (
4
4
author: dlepow
5
5
ms.service: azure-api-management
6
6
ms.topic: how-to
7
-
ms.date: 07/25/2025
7
+
ms.date: 07/31/2025
8
8
ms.author: danlep
9
9
ms.collection: ce-skilling-ai-copilot
10
10
ms.custom:
@@ -34,10 +34,10 @@ Learn more about:
34
34
35
35
## Limitations
36
36
37
-
The following limitations currently apply to this preview:
37
+
The following limitations apply to this preview:
38
38
39
39
* The external MCP server must conform to MCP version `2025-06-18` or later. The server must support:
40
-
* Either no authorization or authorization protocols that comply with the following standards: [https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization#standards-compliance](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization#standards-compliance)
40
+
* Either no authorization, or authorization protocols that comply with the following standards: [https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization#standards-compliance](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization#standards-compliance)
Copy file name to clipboardExpand all lines: articles/api-management/mcp-server-overview.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ With the proliferation of AI agents and large language models (LLMs), management
22
22
* Developers want to reuse existing APIs as agent tools
23
23
* Enterprises need observability, control, and scaling
24
24
25
-
Use API Management to securely expose and govern API operations as tools for LLMs and AI agents like GitHub Copilot, ChatGPT, Claude, and more. API Management provides centralized control over MCP server authentication, authorization, and monitoring. It simplifies the management of MCP servers while helping to mitigate common security risks and ensuring observability, control, and scalability.
25
+
Use API Management to securely expose and govern MCP servers and their backends for LLMs and AI agents like GitHub Copilot, ChatGPT, Claude, and more. API Management provides centralized control over MCP server authentication, authorization, and monitoring. It simplifies the management of MCP servers while helping to mitigate common security risks and ensuring observability, control, and scalability.
26
26
27
27
## MCP concepts and architecture
28
28
@@ -65,32 +65,31 @@ MCP provides the following transport types and typical endpoints for remote serv
65
65
66
66
Azure API Management supports the remote MCP server mode, using native features of API Management and [capabilities of the AI gateway](./genai-gateway-capabilities.md) to manage MCP server endpoints.
67
67
68
-
> [!NOTE]
69
-
> MCP server support in API Management is in preview. In preview, API Management supports MCP server tools, but doesn't currently support MCP resources or prompts.
70
-
71
-
API Management provides two built-in ways to expose MCP servers:
68
+
In preview, API Management provides two built-in ways to expose MCP servers:
| REST API as MCP server | Expose any REST API managed in API Management as an MCP server, including REST APIs imported from Azure resources. API operations become MCP tools. [Learn more](export-rest-mcp-server.md)|
76
73
| Existing MCP server | Expose an MCP-compatible server (for example, LangChain, LangServe, Azure logic app, Azure function app) via API Management. [Learn more](expose-existing-mcp-server.md)|
77
74
75
+
See the linked articles for step-by-step instructions and preview limitations.
76
+
78
77
79
78
## Govern MCP servers
80
79
81
-
Configure one or more API Management [policies](api-management-howto-policies.md) to help manage the MCP server. The policies are applied to all API operations exposed as tools in the MCP server and can be used to control access, authentication, and other aspects of the tools.
80
+
Configure one or more API Management [policies](api-management-howto-policies.md) to help manage the MCP server. Currently, policies are applied to all API operations exposed as tools in the MCP server and can be used to control access, authentication, and other aspects of the tools.
82
81
83
82
Configure policies such as the following::
84
83
85
84
***Rate limiting and quota enforcement** - Limit the number of requests per time period to the MCP server's tools, and set usage quotas for clients or subscriptions.
86
-
***Authentication and authorization** - Require and validate incoming requests using JSON web tokens (JWT) or Microsoft Entra ID tokens for secure access.
85
+
***Authentication and authorization** - Require and validate incoming requests using JSON web tokens (JWT) issued by Microsoft Entra ID or other idenity providers for secure access.
87
86
***IP filtering** - Restrict access to the MCP server's tools based on client IP addresses.
88
87
***Caching** - Cache responses from the MCP server's tools to improve performance and reduce backend load.
89
88
90
89
91
90
## Secure access to the MCP server
92
91
93
-
You can secure either or both inbound access to the MCP server (from an MCP client to API Management) and outbound access (from API Management to the MCP server backend). For more information and examples, see [Secure access to MCP servers](secure-mcp-servers.md).
92
+
You can secure either or both inbound access to the MCP server (from an MCP client to API Management) and outbound access (from API Management to the MCP server backend). Apply one or more security measures depending on your backends and your organization's security posture. For more information and examples, see [Secure access to MCP servers](secure-mcp-servers.md).
94
93
95
94
## Monitoring
96
95
@@ -116,14 +115,14 @@ Use [Azure API Center](../api-center/register-discover-mcp-server.md) to registe
116
115
117
116
## Availability
118
117
119
-
MCP servers in API Management are available in the following service tiers:
118
+
In preview, MCP servers in API Management are available in the following service tiers:
120
119
121
120
***Classic tiers**: Basic, Standard, Premium
122
121
***v2 tiers**: Basic v2, Standard v2, Premium v2
123
122
124
123
> [!NOTE]
125
124
> * In the classic tiers, you must join the [AI Gateway Early update group](configure-service-update-settings.md) to access MCP server features.
126
-
> * MCP servers aren't currently supported in [workspaces](workspaces-overview.md).
125
+
> * MCP servers aren't currently supported in [workspaces](workspaces-overview.md) or the self-hosted gateway.
Copy file name to clipboardExpand all lines: includes/api-management-configure-test-mcp-server.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
author: dlepow
3
3
ms.service: azure-api-management
4
4
ms.topic: include
5
-
ms.date: 07/15/2025
5
+
ms.date: 07/31/2025
6
6
ms.author: danlep
7
7
---
8
8
## Configure policies for the MCP server
@@ -16,9 +16,9 @@ Learn more about configuring policies:
16
16
*[Set and edit policies](../articles/api-management/set-edit-policies.md)
17
17
18
18
> [!IMPORTANT]
19
-
> Do not access the response body using `context.Response.Body` within MCP server policies. Doing so triggers response buffering, which interferes with the streaming behavior required by MCP servers and may cause them to malfunction.
19
+
> Do not access the response body using the `context.Response.Body` variable within MCP server policies. Doing so triggers response buffering, which interferes with the streaming behavior required by MCP servers and may cause them to malfunction.
20
20
21
-
To configure policies for the MCP server:
21
+
To configure policies for the MCP server:
22
22
23
23
1. In the [Azure portal](https://portal.azure.com), navigate to your API Management instance.
24
24
1. In the left-hand menu, under **APIs**, select **MCP Servers**.
@@ -41,7 +41,7 @@ Use a compliant LLM agent (such as GitHub Copilot, Semantic Kernel, or Copilot S
41
41
42
42
### Add the MCP server in Visual Studio Code
43
43
44
-
For example, in Visual Studio Code, use GitHub Copilot chat in agent mode (preview) to add the MCP server and use the tools. For background about MCP servers in Visual Studio Code, see [Use MCP Servers in VS Code (Preview)](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
44
+
In Visual Studio Code, use GitHub Copilot chat in agent mode to add the MCP server and use the tools. For background about MCP servers in Visual Studio Code, see [Use MCP Servers in VS Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
45
45
46
46
To add the MCP server in Visual Studio Code:
47
47
@@ -89,7 +89,7 @@ After adding an MCP server in Visual Studio Code, you can use tools in agent mod
89
89
| `401 Unauthorized` error from backend | Authorization header not forwarded | Use `set-header` policy to manually attach token |
90
90
| API call works in API Management but fails in agent | Incorrect base URL or missing token | Double-check security policies and endpoint |
91
91
| Not able to create MCP server | MCP server capability is not available in Consumption or Developer tier, and must be enabled using [update group](../articles/api-management/configure-service-update-settings.md) in classic Basic, Standard, and Premium tiers | Use a supported classic or v2 tier - see [Prerequisites](#prerequisites) |
92
-
| MCP server fails when diagnostic logs are enabled | Response body logging or access through policy interferes with MCP transport | Disable response body logging at all APIs scope - see [Prerequisites](#prerequisites) |
92
+
| MCP server streaming fails when diagnostic logs are enabled | Logging of response body or access through policy interferes with MCP transport | Disable response body logging at the All APIs scope - see [Prerequisites](#prerequisites) |
0 commit comments