> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openhands.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Context Protocol (MCP)

> Model Context Protocol support across OpenHands platforms

Model Context Protocol (MCP) is an open standard that allows OpenHands to communicate with external tool servers, extending the agent's capabilities with custom tools, specialized data processing, external API access, and more. MCP is based on the open standard defined at [modelcontextprotocol.io](https://modelcontextprotocol.io).

## How MCP Works

When OpenHands starts, it:

1. Reads the MCP configuration
2. Connects to configured servers (SSE, SHTTP, or stdio)
3. Registers tools provided by these servers with the agent
4. Routes tool calls to appropriate MCP servers during execution

## MCP Support Matrix

| Platform | Support Level | Configuration Method | Documentation |
| - | - | - | - |
| **Agent Canvas** | ✅ Full Support | `Customize > MCP Servers` in the UI | [MCP Settings](https://docs.openhands.dev/openhands/usage/settings/mcp-settings.md) |
| **SDK** | ✅ Full Support | Programmatic configuration | [SDK MCP Guide](https://docs.openhands.dev/sdk/guides/mcp.md) |
| **OpenHands Cloud** | ✅ Full Support | Cloud UI settings | [Cloud GUI](https://docs.openhands.dev/openhands/usage/cloud/cloud-ui.md) |

## Getting Started with MCP

* **For detailed configuration**: See [MCP Settings](https://docs.openhands.dev/openhands/usage/settings/mcp-settings.md)
* **For SDK integration**: See [SDK MCP Guide](https://docs.openhands.dev/sdk/guides/mcp.md)
* **For scoping MCP servers to an agent profile in Agent Canvas**: See [Agent Profiles](https://docs.openhands.dev/openhands/usage/agent-canvas/agent-profiles.md)
* **For architecture details**: See [MCP Architecture](https://docs.openhands.dev/sdk/arch/mcp.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.