Manage integrations with MCP
The Merge Unified Management connector lets your AI agent read the health of every integration your organization runs through Merge Unified. Your team asks a question such as “What’s broken with our integrations?” and gets an answer that names the affected connections, the customers they belong to, the cause, and who has to act. Use it when your engineers, support analysts, or customer success team want answers about Linked Accounts and issues without clicking through the Merge Dashboard.
The connector runs in Agent Handler, Merge’s product for giving AI agents access to third-party tools. Agent Handler stores your Merge API key and serves the tools to your AI client over MCP, so the key never sits in a local config file on anyone’s laptop. This page assumes you already run Merge Unified and walks through Agent Handler from signup.
Agent Handler in Unified terms
Agent Handler has its own dashboard at ah.merge.dev and its own account, separate from your Merge Unified Dashboard. Most of its concepts map to ones you already know from Unified:
Your AI client connects to one Agent Handler URL, https://ah-api.merge.dev/mcp, and sees the tools from every Connector you have access to.
What your agent can answer
The connector is read-only. It reads your Linked Accounts and issues from the Merge API and never changes anything in your organization. It works across every Merge Unified category.
Every issue comes back classified by who must act: the end user, an admin at your customer, your team, or nobody. Issues that share a cause are grouped, so when 40 connections fail for the same missing permission, your agent reports one root cause and the customers it affects instead of 40 separate errors. Support and customer success get a list of customers to contact. Your integration engineers can fix the shared cause once.
The connector reads Linked Accounts and issues. It does not read per-model sync status, enabled scopes, field mappings, or logs, and it cannot resync, relink, or change configuration. For those, use the Merge Dashboard or call the Merge API directly.
Before you start
You need permission to create API keys in your Merge Unified Dashboard, and an MCP-capable AI client such as Claude, Claude Code, Cursor, Codex, Windsurf, or VS Code.
Set up the connector
Agent Handler – Create an account
Sign up for Agent Handler. Signup needs no card. The Free plan includes 2,000 credits per month, and each tool call spends one credit, so a team checking integration health a few times a day stays well within it. Billing and usage covers the other plans and what happens at the limit.
Merge Dashboard – Create an API key
In API keys, create a new Remote Production access key for the agent, named something like agent-handler-management. Create it in the dashboard for your organization’s region (US, EU, or AP), since you pick the same region when you connect.
A dedicated key lets you revoke the agent’s access without touching the key your production integration uses. The agent sees the Linked Accounts that match the key: production Linked Accounts for a production key, test Linked Accounts for a test key.
Merge API keys are not read-only. The connector only reads data, but the key itself can do anything your organization’s API key can do. Store it in Agent Handler only, and revoke it from the Merge Dashboard if it is ever exposed.
AI client – Connect to Agent Handler
Add Agent Handler to your AI client as a remote MCP server. The first connection opens your browser so you can sign in to Agent Handler.
Claude Code
Claude (web & desktop)
Cursor
Codex
- Go to claude.ai/customize/connectors
- Click Add custom connector
- Paste
https://ah-api.merge.dev/mcpand click Add - Click Connect and sign in to Agent Handler
On a Claude Team or Enterprise plan, an owner adds the connector once for the whole organization. See Agent Handler for Employees for the admin steps.
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
The Agent Handler quickstart has setup for Windsurf, VS Code, and the Merge CLI.
Agent Handler Link – Connect Merge Unified Management
Ask your agent a question about your integrations:
How healthy are our Merge integrations?
Because the connector is not connected yet, the agent replies with a link. Open it to start Agent Handler Link, then:
- Select the Merge instance that hosts your organization: US (the default), EU, or AP
- Paste the API key you created in step 2
- Click Connect
Link checks the key against the instance you selected before saving it. If the check fails, confirm the key was created in the same region you selected. After the connection saves, go back to your agent. It retries the question and answers it.
If your Agent Handler organization restricts which tools people can use, an admin grants the Merge Unified Management tools under Provisioning → Manage access. See Managing tool access.
Try it out
Start broad, then narrow to one customer or one issue. Your agent picks the right tool for each question.
- “Which of our connections need relinking? Group them by customer.”
- “What are the top root causes of our open issues, and who has to fix each one?”
- “Show me every open Google Drive issue from the last 7 days.”
- “Why is Acme Corp’s integration broken?”
- “Explain issue
a1b2c3d4and tell me what the customer needs to do.”
When an issue belongs to a customer with more than one connection, the agent says the issue is ambiguous and lists the candidate connections. It does not guess which connection the issue belongs to.
Use the connector in your own agent
The steps above connect a person’s AI client. To run the same tools from an agent you build, such as a support bot that checks a customer’s integration before opening a ticket, add Merge Unified Management to a Tool Pack and call it through the Tool Pack’s MCP URL. Building an agent covers that setup.