> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.merge.dev/merge-agent-handler/build/connecting-agents/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server. # Connecting agents > Build once. Connect to every API, tool, and LLM. Ship products and agents to production without owning the integration stack. ## Docs - [MCP integration](https://docs.merge.dev/merge-agent-handler/build/connecting-agents/mcp-integration.md): How to connect agents to Agent Handler over MCP: config-file setup for Claude Desktop, Cursor, Windsurf, and VS Code, plus a reference custom client. - [Custom MCP servers](https://docs.merge.dev/merge-agent-handler/build/connecting-agents/custom-mcp-servers.md): How to register a remote MCP server with Agent Handler, from the dashboard or the API, so its tools show up alongside the built-in Connectors. - [Custom headers for MCP](https://docs.merge.dev/merge-agent-handler/build/connecting-agents/custom-headers-for-mcp.md): How to attach X-prefixed custom headers to MCP tool calls and filter by them in the Agent Handler logs UI. - [Integrating with Copilot Studio](https://docs.merge.dev/merge-agent-handler/build/connecting-agents/integrating-with-copilot-studio.md): How to add Agent Handler as an MCP tool in Microsoft Copilot Studio and connect it with your API key.