|
1 | 1 | ---
|
2 | 2 | title: Overview of MCP servers in Azure API Management
|
3 |
| -description: Learn about Model Context Protocol (MCP) servers in Azure API Management, their architecture, and how they enable AI agents to access external data sources. |
| 3 | +description: Learn how Azure API Management enables secure, scalable access to remote MCP servers for AI agents, including architecture and management features. |
4 | 4 | author: dlepow
|
5 | 5 | ms.service: azure-api-management
|
6 | 6 | ms.topic: concept-article
|
7 |
| -ms.date: 07/18/2025 |
| 7 | +ms.date: 07/23/2025 |
8 | 8 | ms.author: danlep
|
9 | 9 | ms.custom:
|
10 | 10 | ---
|
@@ -39,31 +39,33 @@ The architecture consists of the following components:
|
39 | 39 |
|
40 | 40 | The MCP architecture is built on [JSON-RPC 2.0 for messaging](https://modelcontextprotocol.io/docs/concepts/architecture). Communication between clients and servers occurs over defined transport layers, and supports primarily two modes of operation:
|
41 | 41 |
|
42 |
| -* **Remote MCP servers** - MCP clients connect to MCP servers over the internet, establishing a connection using HTTP and server-sent events (SSE), and authorizing the MCP client access to resources on the user's account using OAuth. |
| 42 | +* **Remote MCP servers** - Run as independent processes accessible over the internet using HTTP-based transports (like Streamable HTTP), enabling MCP clients to connect to external services and APIs hosted anywhere. |
43 | 43 |
|
44 |
| -* **Local MCP servers** MCP clients connect to MCP servers on the same machine, using standard input/output as a local transport method. |
| 44 | +* **Local MCP servers** MCP clients use standard input/output as a local transport method to connect to MCP servers on the same machine,. |
45 | 45 |
|
46 | 46 | 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).
|
47 | 47 |
|
48 | 48 | > [!NOTE]
|
49 | 49 | > 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.
|
50 | 50 |
|
51 |
| - |
52 | 51 | ## MCP server endpoints
|
53 | 52 |
|
54 | 53 |
|
55 |
| -[TBD] |
56 |
| -<!-- Add a section about MCP server endpoints, including SSE and Streamable HTTP endpoints --> |
| 54 | +MCP provides the following transport types and typical endpoints for remote servers: |
| 55 | + |
| 56 | +| Transport Type | Endpoints | Notes | |
| 57 | +|----------------|----------|-------| |
| 58 | +| Streamable HTTP | `/mcp` | Replaces HTTP + SSE transport | |
| 59 | +| SSE (server-sent events) | `/sse` - Used to establish SSE connection<br/><br/>`/messages` - Used for bidirectional messaging between MCP client and server | Deprecated as of protocol version `2024-11-05` | |
57 | 60 |
|
58 | 61 | ## Expose MCP servers in API Management
|
59 | 62 |
|
60 | 63 | API Management supports two ways to expose MCP servers:
|
61 | 64 |
|
62 |
| -* **Expose a REST API as an MCP server** - Use this option to expose any REST API managed in API Management as an MCP server, including APIs imported from Azure resources. The API operations are exposed as tools that can be called by MCP clients. For more information, see [Expose REST API in API Management as MCP server](export-rest-mcp-server.md). |
63 |
| - |
64 |
| - |
65 |
| - |
66 |
| -* **Expose an existing MCP server** - Use this option to expose an existing MCP-compatible server, such as a LangChain or LangServe tool server, or an MCP server created in Azure Logic Apps, or Azure Functions. For more information, see [Expose an existing MCP server](expose-existing-mcp-server.md). |
| 65 | +| Source | Description | |
| 66 | +|-------------------------------------------|-----------------------------------------------------------------------------------------------| |
| 67 | +| 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). | |
| 68 | +| Existing MCP server | Expose an MCP-compatible server (for example, LangChain, LangServe, Logic Apps, Azure Functions) via API Management. [Learn more](expose-existing-mcp-server.md). | |
67 | 69 |
|
68 | 70 |
|
69 | 71 | ## Govern MCP servers
|
|
0 commit comments