Skip to navigation

Manage integrations with MCP

Ask your AI agent what is broken across your Merge Unified integrations, and who needs to fix it

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:

In UnifiedIn Agent HandlerWhat it means here
IntegrationConnectorMerge Unified Management is the Connector. It calls the Merge API on your behalf
Merge LinkAgent Handler LinkThe screen where you enter the credential. Here, the credential is your Merge API key
Linked AccountConnectionYour saved Merge API key. You connect once, and every tool call reuses it
API requestTool callOne question can lead to several tool calls. Each tool call spends one credit

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.

QuestionTool your agent calls
How healthy are our integrations overall?get_org_health
Which connections need relinking, and for which customers?list_connections
What’s broken, why, and who has to fix it?list_issues
Why is this customer’s integration broken?find_customer
What happened on this specific issue?get_issue

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.

What the connector does not cover yet

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

1

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.

2

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.

3

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 mcp add --transport http agent-handler https://ah-api.merge.dev/mcp

The Agent Handler quickstart has setup for Windsurf, VS Code, and the Merge CLI.

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 a1b2c3d4 and 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.

Next steps