Table of contents

Add secure integrations to your products and AI agents with ease via Merge.
Get a demo

How to connect your agents to Zendesk MCP via Claude Code

Jon Gitlin
Senior Content Marketing Manager
at Merge

Your agents can use the Zendesk MCP to power endless workflows, from escalating urgent tickets to the right team to updating a ticket’s status and notes based on a customer call.

Regardless of your use case, you’ll first need to connect to a Zendesk MCP server. 

We’ll walk you through the process with Claude Code and Merge Agent Handler’s Zendesk MCP server.

How it works

Merge Agent Handler handles the connection from Claude Code to Zendesk's API. You install the Merge CLI, log in once, and register the MCP server with a single command. Agent Handler manages your Zendesk OAuth credentials so you never store tokens locally or wire credentials into your codebase.

Here's the command that registers the connection:

merge setup claude-code

Related: How to use a Zendesk MCP in Cursor

Prerequisites

Before getting started, you'll need the following:

  • A Merge Agent Handler account
  • Claude Code installed (run claude --version to confirm)
  • pipx installed (run pipx --version to confirm, or install via pip install pipx)
  • A Zendesk account with permission to authenticate the connector

If you want to connect Merge Agent Handler's Zendesk MCP with internal or customer-facing agentic products, you can follow the steps in our docs.

1. Install the Merge CLI

Install with pipx: pipx install merge-api

How to add pipx install merge-api in Claude Code

Verify your installation: merge --version

2. Configure the CLI and log in

Run merge login to authenticate your session and link the CLI to your Merge Agent Handler account: merge login

This authenticates your session so the CLI can make authorized requests on your behalf.

3. Add Agent Handler to Claude Code

Register the Agent Handler MCP server with Claude Code:

merge setup claude-code

Or manually:

claude mcp add 
--transport http agent-handler https://ah-api.merge.dev/mcp

Open Claude Code and run: /mcp

agent-handler should appear under Local MCPs with a connected status.

Verifying the connection registered

4. Authenticate Zendesk

Open Claude Code and test the connection with a prompt like: "Find all tickets tagged 'billing' opened in the last 48 hours and summarize the top issues reported."

A Magic Link will appear on first use to complete connector authentication.

Zendesk auth UI

{{this-blog-only-cta}}

FAQ on using the Zendesk MCP with Claude Code

In case you have any more questions, we've addressed several more below.

What types of tasks can my agents perform with the Zendesk MCP server?

Your agents can perform a wide range of tasks. Here are just a few examples:

  • Create support tickets: Your agent can log a new customer issue with a subject, description/comment, requester email, priority, and tags
  • Update existing tickets: Your agent can change status, priority, assignee, tags, and other ticket fields
  • Pull ticket context for better replies: Your agent can retrieve a ticket and fetch its comment thread before drafting a response
  • List and search tickets: Your agent can find open/urgent tickets or pull a queue for a specific team
  • Automate ticket triage and routing: Your agent can classify incoming tickets by intent, priority, or customer tier and route/escalate them to the right queue

Why should I use Merge Agent Handler's Zendesk MCP server over other Zendesk MCP servers?

You should use it when you want Zendesk tool-calling that’s ready for production, and not just a raw “agent can hit Zendesk APIs” integration.

Here are more specific reasons:

  • Enterprise-grade security and DLP around every tool call: All tool inputs/outputs can be scanned and governed (block/redact/mask sensitive data) before anything reaches Zendesk or comes back to the model, which is important when tickets contain PII, credentials, or internal notes
  • Full observability, audit trails, and easier debugging: You get searchable logs/audit trails across agent tool calls, which is critical for investigating “why did the agent update/close/escalate this ticket?” and for debugging failures in production.
  • Managed auth + scoped access for end users: Instead of your agent handling Zendesk tokens directly, Agent Handler centralizes auth and scoping via “Registered Users” and Tool Packs, so each end user/tenant can have the right boundaries and the agent only sees the tools you allow
  • Tool Packs offer least-privilege Zendesk agents (and multi-system workflows): You can expose only the Zendesk actions you want (e.g., “create ticket” + “add internal note”, but not “delete user” or “export data”) and combine Zendesk with other systems in the same governed tool surface when workflows cross tools
  • Less integration overhead as you scale MCP beyond a demo: Agent Handler is designed to remove the long-term burden of building/maintaining MCP connectors, and to keep reliability high as underlying APIs change

Why should I use Claude Code to connect to the Zendesk MCP server?

Here are some reasons to keep in mind:

  • Claude Code is an MCP-native client, so it’s a fast way to start calling Zendesk tools without building your own MCP client UX from scratch
  • You can prototype and iterate on agent behavior in the same place you write code (prompting, tool selection logic, error handling), which shortens the “idea → working workflow” loop
  • It’s great for debugging tool calls. You can quickly run a request, inspect what the model attempted, adjust instructions, and retry
  • It makes it easy to validate your tool surface area before you ship. You can confirm your Zendesk tools (and their descriptions/schemas) are sufficient for the workflows you care about
  • It’s a practical way to test end-to-end auth + permissions flows (especially when paired with Agent Handler’s Tool Packs and per-user scoping) before integrating the MCP endpoint into your production app
Jon Gitlin
Senior Content Marketing Manager
@Merge

Jon Gitlin is the Managing Editor of Merge's blog. He has several years of experience in the integration and automation space; before Merge, he worked at Workato, an integration platform as a service (iPaaS) solution, where he also managed the company's blog. In his free time he loves to watch soccer matches, go on long runs in parks, and explore local restaurants.

Read more

How to connect a Google Drive MCP to Cursor (4 steps)

AI

MCP gateway: how it works, benefits, and solutions

AI

How to connect a BambooHR MCP with Claude Code (4 steps)

Subscribe to the Merge Blog

Get stories from Merge straight to your inbox

Subscribe

Connect your agents to thousands of tools in minutes

Use Merge Agent Handler’s 150+ connectors (including Zendesk) to power reliable, secure, and powerful agents.

Sign up
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text