Skip to main content
Glama

zendesk-mcp

A self-hosted Model Context Protocol server that gives an LLM full access to a Zendesk instance — Support, Help Center, and anything else under /api/v2 — using your own API credentials. No third-party relay, no usage restrictions beyond the access mode you choose.

  • 62 tools: curated tools for the common work (tickets, search, users, articles, macros), support analytics, presentation-ready reporting, customer profiles, full administration (agents, rules, settings, configuration-as-code rollouts), generic CRUD over 52 resource types, and a raw api_request escape hatch for every other endpoint.

  • Safe administration: every write is journaled with the object's prior state and can be reverted; configuration rollouts are planned (a reviewable diff) before they're applied; configuration can be snapshotted, diffed and documented in plain language.

  • Deck-ready reporting: one call (support_report) returns a scorecard vs last period and vs your targets, trends, contact drivers, customer quotes, SLA, a staffing heatmap, biggest issues, backlog and Help Center gaps — redacted and team-level by default for company-wide audiences.

  • Support metrics built in: KPIs from Zendesk's own ticket metrics, plus the time between every customer message and agent reply (not just the first), in calendar or business hours from your Zendesk schedules.

  • Built for LLMs: responses are slimmed (null fields, duplicate fields arrays and empty custom fields removed), user/group/org IDs are resolved to names, large results are trimmed by whole items so JSON stays valid, and API errors come back with Zendesk's validation details.

  • Safe to run: three access modes enforced at the HTTP layer, MCP tool annotations (read-only / destructive hints) so clients can ask before risky calls, credentials never sent to other hosts, file access confined to one directory.

  • Two transports: stdio for Claude Desktop / Claude Code, streamable HTTP with bearer auth for a home server, Docker, or an aggregator like MetaMCP.

  • Automatic retries on rate limits (Retry-After) and transient errors; cursor and offset pagination handled for you.

Tools

Area

Tools

Search

search (full Zendesk query syntax, sorting, export mode for >1000 results, count-only)

Tickets

get_ticket, list_tickets, create_ticket, update_ticket, add_ticket_comment, list_ticket_comments, list_ticket_audits, bulk_update_tickets, merge_tickets, delete_tickets, apply_macro, manage_tags

People

get_user, search_users, create_or_update_user, merge_users, search_organizations

Everything configurable

list_resources, get_resource, create_resource, update_resource, delete_resource

Help Center

search_articles, get_article, create_article, update_article

Analytics

support_kpis, reply_time_report, ticket_reply_times, backlog_report, sla_report

Reporting

support_report, kpi_trends, ticket_topics, sample_ticket_text, csat_feedback, volume_heatmap, top_issues, help_center_report, report_targets

Customers

customer_profile

Administration

list_agents, provision_agents, offboard_agent, rule_definitions, preview_view, reorder, find_references, account_settings, document_config

Rollouts & safety

blueprint_export, blueprint_plan, blueprint_apply, config_snapshot, snapshot_diff, list_changes, revert_change

Advanced

api_request, incremental_export, upload_attachment, download_attachment

The resource tools cover: users, organizations, groups, group/organization memberships, user identities, custom roles, routing skills and values, omnichannel queues, group SLA policies, user field options, ticket fields (+ options), ticket forms, custom statuses, user/organization fields, brands, tags, macros, triggers, trigger categories, automations, views, SLA policies, schedules (+ holidays), dynamic content, targets, webhooks, recipient addresses, sharing agreements, custom objects (+ records), suspended/deleted tickets, ticket metrics, satisfaction ratings/reasons, side conversations, job statuses, audit logs, activities, locales, and Help Center categories, sections, articles, community topics/posts, user segments and permission groups.

download_attachment returns images as images, so the model can actually look at customer screenshots.

Related MCP server: libredesk-mcp

Metrics and reply times

All durations are in minutes. Pass business_hours: true to any reply-time tool to also get business-hours figures, using your Zendesk schedule and its holidays (DST-aware).

Tool

What it answers

support_kpis

For a date range (by created, solved or updated date, plus any search filter): volume by status/channel/priority, first reply time, first and full resolution time, requester wait, agent wait, on-hold time (each as n/mean/median/p90/min/max, calendar and business), one-touch and zero-touch resolution %, reopen %, average reassignments, CSAT score and response rate. Optional breakdown by assignee, group, channel, priority, type, brand, form, organization or tag.

reply_time_report

Time between customer and agent replies across many tickets, computed from the actual comments: agent response time for every customer message, first response, customer response time, per-agent and per-group median/p90, the 10 slowest responses, and tickets waiting on an agent right now. With a date range, only replies inside the range count.

ticket_reply_times

The full back-and-forth on one ticket, each gap listed with the agent's name, alongside Zendesk's own metrics for comparison.

backlog_report

Unsolved tickets right now: by status, age buckets, stale (no update in N days), unassigned, a breakdown, and the oldest tickets.

sla_report

SLA achievement % by policy and metric (first reply, next reply, requester wait, agent work time…) from ticket metric events, plus targets currently in breach.

How reply gaps are measured:

  • Agent response time runs from the first unanswered customer message to the next agent reply. If the customer sends three messages in a row, the clock started at the first.

  • Customer response time runs from the agent's last message to the customer's next message.

  • Internal notes and trigger/automation comments don't count as agent replies by default (include_internal_notes, include_automated turn them on). Roles come from each comment's author (end-user vs agent/admin).

Zendesk's own "first reply time" and "requester wait time" (used by support_kpis) are computed by Zendesk itself and won't always match these conversation-based numbers exactly — e.g. Zendesk counts from ticket creation and uses the schedule attached to each ticket. reply_time_report uses one schedule for all tickets (the first one, or schedule_id). sla_report approximates Explore's achievement definition: achieved = fulfilled in range with no breach, breached = breached (including fulfilled late).

Cost: support_kpis makes roughly one API call per 100 tickets; reply_time_report makes one call per ticket (5 at a time, rate limits handled), so keep max_tickets modest for big ranges.

Building a presentation

Ask for the deck and let Claude call support_report:

"Build a Q3 support review deck for the company from Zendesk. Use business hours."

support_report gathers everything in one call (default period: last quarter, compared with the quarter before):

Section

What's in it

headline

Scorecard: tickets, solved, first reply and resolution medians, customer wait, one-touch %, reopen %, CSAT, SLA achievement, backlog. Each has current, previous, change %, improved/worsened, and green/amber/red if you've set a target.

trends

One row per week (or day/month) for charts.

channels

Channel mix now vs previous period.

topics

Contact drivers from your dropdown fields and tags: volume, share, growth, CSAT and speed per topic, rising and falling topics.

csat

Good/bad totals, reasons for bad ratings, CSAT by group, redacted customer quotes.

sla

Achievement by policy and metric, vs previous period.

heatmap

Day × hour volume, peaks, and first reply time by hour of arrival — the staffing slide.

issues

Problems with the most linked incidents, top and lowest-CSAT customers, highest-effort and most-reopened tickets.

backlog

Unsolved now, by status, age and group.

help_center

Most/least helpful articles, stale articles, and top ticket topics with no matching article.

definitions, suggested_slides, data_notes

Appendix text, a slide outline mapped to the data, and caveats to footnote.

Drill-down tools for individual slides: kpi_trends (any metric over time, split by channel/group/etc.), ticket_topics, sample_ticket_text (a reproducible random sample of ticket text so Claude can find free-text themes and estimate their volume), csat_feedback, volume_heatmap, top_issues, help_center_report.

Periods accept last_quarter, this_quarter, last_month, ytd, last_30_days, 2026-Q3, 2026-09, 2026, or explicit start/end. "This quarter" is compared with the same number of days into last quarter, so partial periods compare fairly.

Targets turn the scorecard green/amber/red. Set them once by asking Claude ("set our CSAT target to 92% and first reply to 60 business minutes") — report_targets stores them in zendesk_targets.json (in ZENDESK_FILE_ROOT, or ~/.zendesk-mcp/, or ZENDESK_TARGETS_FILE). Amber means within 10% of the goal on the wrong side (configurable per metric).

Privacy defaults suit an all-hands: team_level=true hides per-agent figures and agent names, and redact=true strips customer and agent names, emails, links and long numbers (phones, card/account numbers) from quotes, subjects and ticket text. anonymize_orgs=true shows customers as "Customer 1, 2…". Turn these off for internal team reviews. Redaction is pattern- and name-based, so skim quotes before presenting.

Charts and spreadsheets: chart data comes back as tidy rows. Add csv: "inline" to get CSV text, or csv: "files" to write CSVs under ZENDESK_FILE_ROOT/reports/.

Cost and speed: about one API call per 100 tickets per period, plus a handful for SLA, CSAT and Help Center — ~250 calls for a quarter with 6,000 tickets (compared against the previous quarter), so one to two minutes on most plans' rate limits. Results are cached for 10 minutes, so follow-up drill-downs on the same period are fast. reply_gap_sample: N adds conversation-level reply gaps for N sampled tickets at one call each.

Customer profiles

Ask about one customer and let Claude call customer_profile:

"Give me a profile of Acme Corp for their QBR — last quarter, and how they compare to everyone else."

Pass an organization name (exact, prefix or keywords) or ID. If a name matches several organizations, the tool lists them with IDs instead of guessing. Default period: last 90 days, compared with the 90 days before.

Section

What's in it

customer

Account facts: customer since, tags, domains, custom organization fields (labelled), users and all-time ticket count.

signals

Risks, watch-outs and positives worth leading with — volume spikes, CSAT drops, slower replies than other customers, reopens, open urgent tickets, stale backlog, SLA misses, frustration in conversations.

volume

Tickets vs the previous period, share of all tickets, weekly/monthly trend, channel/priority/type/status mix, contact drivers (rising and falling topics), top contacts.

performance

Scorecard — first reply, resolution, customer wait, one-touch, reopens, CSAT — vs the previous period and vs all customers (better/worse), plus SLA achievement on their tickets.

backlog_now

Their unsolved tickets right now: by status, age, stale, unassigned, oldest.

challenging_tickets

Their hardest tickets, ranked by replies, reopens, transfers, bad CSAT, priority and time open, each with the reasons in words and a link.

sentiment

CSAT score, bad-rating reasons and comments; any AI sentiment field or tags already in Zendesk; and the tone of their own messages in a sample of conversations (frustration, chasing and churn language vs thanks and praise), with excerpts and the reply pace both ways.

Conversation tone is a transparent keyword heuristic, not a model — excerpts come back so Claude can read the actual words before describing the relationship. conversations controls how many tickets are read (one API call each; the hardest tickets first). benchmark=false skips the all-customer comparison on very large accounts. Like the reports, text is redacted and agent names left out by default; set redact=false to see contact names and team_level=false for assignees.

Administering Zendesk

Everything an admin does in Admin Center can be done through Claude, with guardrails.

Day-to-day admin

  • Agents: list_agents gives the roster (roles, custom roles, groups, last login, inactive agents). provision_agents creates or updates up to 50 agents in one call (role, custom role, groups, default group), matching existing users by email; use dry_run to preview. offboard_agent follows Zendesk's recommended order (reassign unsolved tickets → remove memberships → downgrade/suspend/delete) and defaults to a dry run that shows the impact.

  • Building rules: rule_definitions lists the valid conditions and actions (with your group, field and status values) so triggers, automations, views and macros are built correctly. preview_view shows how many tickets a view's conditions match before you save it. reorder changes trigger, automation, view, macro, form or SLA order.

  • Before changing anything: find_references lists every trigger, automation, view, macro, SLA policy, form and queue that uses a group, field, status, form, brand, schedule, webhook, user, organization or tag.

  • Settings: account_settings reads and updates account-level settings.

  • Everything else (create/update/delete any config object) goes through create_resource / update_resource / delete_resource, or api_request. update_resource protects against Zendesk's replace-everything updates: changing only a trigger's or automation's conditions keeps its actions (and vice versa), changing a view's all conditions keeps its any ones, and an update that would drop dropdown options is refused unless you pass allow_option_removal (dropped options lose their values on every ticket and macro).

  • provision_agents and blueprint agents only change a user's role when you specify one, so listing an existing admin to add a group never demotes them.

Documenting the configuration

document_config writes a Markdown (and JSON) document describing what everything does in plain language: every trigger in firing order ("When Ticket is Created and Priority is Urgent → Group → “Tier 2”, Notify webhook “PagerDuty”"), automations, views and who sees them, macros, SLA targets, forms and their conditional logic, fields and options, statuses, business hours, webhooks, routing and key settings. IDs are resolved to names using Zendesk's own labels. It also shows where each group/field/status/form/webhook is used and a findings list: rules pointing at deleted objects, active triggers calling inactive webhooks, unused fields and groups, rules not used in 30 days, duplicate names. Agent names are left out unless include_agents=true, so the document is safe to share. Files land in ZENDESK_FILE_ROOT/docs/.

Rolling out a configuration (e.g. an architecture plan)

  1. Snapshot — config_snapshot(label="pre-rollout") saves the entire configuration to ZENDESK_FILE_ROOT/snapshots/.

  2. Describe the target — a blueprint lists the configuration you want, by name. blueprint_export writes the current configuration in the same format, so you can see the starting point or edit it. References between objects use names, so new objects can refer to each other before they exist:

    groups:
      - name: Tier 2
        description: Escalations
    ticket_fields:
      - title: Severity
        type: tagger
        custom_field_options:
          - {name: Sev 1, value: sev_1}
          - {name: Sev 2, value: sev_2}
    trigger_categories:
      - name: Routing
    triggers:
      - title: Route Sev 1 to Tier 2
        category: Routing
        conditions:
          all:
            - {field: "@custom_field:Severity", operator: is, value: "@option:Severity/Sev 1"}
        actions:
          - {field: group_id, value: "@group:Tier 2"}
    agents:
      - {email: sam@acme.com, name: Sam, groups: [Tier 2], custom_role: Light Agent}
    order:
      triggers: [Route Sev 1 to Tier 2, Notify requester of received request]
    delete:
      macros: [Old escalation macro]

    Sections: groups, custom_roles, brands, schedules (with intervals and holidays), trigger_categories, custom_statuses, user_fields, organization_fields, ticket_fields, webhooks, skills, ticket_forms, agents, sla_policies, triggers, automations, views, macros, plus settings, order and delete. References: @group:, @role:, @brand:, @schedule:, @category:, @status:, @field: (→ id), @custom_field: (→ custom_fields_<id> in rules), @option:Field/Option (→ tag), @user_field:, @org_field:, @form:, @webhook:, @sla:, @trigger:/@automation:/@view:/@macro:, @skill:Attribute/Value, @user:email, @org:Name, @target:.

  3. Plan — blueprint_plan compares the blueprint with the live account and lists every create, update (before → after), reorder and delete. It reports blocking errors (unknown references, ambiguous names, missing required fields, automations without a time condition, triggers Zendesk says are invalid) and warnings (e.g. deleting a group that rules still use). Nothing changes.

  4. Apply — after you've reviewed the plan, blueprint_apply(plan_id) re-plans first and refuses if anything changed since review (showing the new plan instead), then applies in dependency order: groups/fields/statuses before forms, agents and rules; deletes last.

  5. Verify or undo — snapshot_diff(before="<snapshot>") shows exactly what changed. revert_change(batch="<plan id>") rolls back the whole rollout.

Blueprint rules that keep it safe:

  • Only what you write is managed. Keys you leave out of an object are left alone. Applying the same blueprint twice does nothing the second time.

  • Nothing is deleted unless it's listed under delete.

  • Dropdown options are merged, not replaced. Zendesk removes an option's value from every ticket and macro when the option is dropped, so existing options you don't list are kept unless you set prune_options: true on that field (the plan warns when it would remove any).

  • Triggers and automations always get both their conditions and actions sent, because Zendesk clears both when either is updated.

  • Webhook credentials are never compared or re-sent on update unless you set rotate_authentication: true, and they're redacted in plans and the journal.

The change journal and undo

Every write the server makes — from any tool, including api_request — is appended to zendesk_changes.jsonl (in ZENDESK_FILE_ROOT, otherwise ~/.zendesk-mcp/), with the request (secrets redacted), the outcome, and the object's prior state where a tool captured it. list_changes shows them; revert_change undoes one change or a whole batch:

  • Updates are rolled back to the previous values of the keys that changed. A revert refuses if the object was changed again since, unless you pass force.

  • Creates are undone by deleting the object — only when Zendesk actually created something (a create-or-update call that modified an existing object is never "undone" by deleting it).

  • Deletes are undone by re-creating the object. It gets a new ID, so rules that referred to the old ID need updating (find_references helps).

  • Reorders and settings are restored.

  • Bulk ticket updates can't be undone (Zendesk's own ticket audits keep that history).

Use a sandbox first

If your plan includes Zendesk's sandbox, point a second copy of the server at it and rehearse there:

cp .env .env.sandbox   # then set ZENDESK_SUBDOMAIN (and credentials) to the sandbox
docker compose -f docker-compose.sandbox.yml up -d --build
claude mcp add --transport http --scope user zendesk-sandbox http://localhost:8001/mcp \
  --header "Authorization: Bearer $(sed -n 's/^MCP_AUTH_TOKEN=//p' .env.sandbox | xargs)"

A blueprint applied to the sandbox can be applied unchanged to production: references are by name, not ID.

Keeping the tool list focused

Set ZENDESK_TOOLSETS to load only what a session needs: core (tickets, search, users, resources, Help Center, raw API, journal), analytics (metrics and reporting), admin (administration, blueprints, documentation, journal). Combine with commas; default all. For example, run an admin-only server for the rollout and a core,analytics one for day-to-day work.

Setup

1. Get credentials — either:

  • API token: Admin Center → Apps and integrations → APIs → Zendesk API, enable token access and create a token. Set ZENDESK_EMAIL + ZENDESK_API_TOKEN. The server acts with that user's permissions (an admin gives full access).

  • OAuth client: Admin Center → Apps and integrations → APIs → OAuth clients → create a client with kind Confidential. Set ZENDESK_CLIENT_ID (the client's Identifier) + ZENDESK_CLIENT_SECRET. The server uses Zendesk's client-credentials grant to get access tokens and renews them automatically (they expire after at most 48 hours and come without refresh tokens). Tokens act as the user associated with the client. Scope defaults to read write (read in read_only mode); override with ZENDESK_OAUTH_SCOPE.

A client secret is not an access token — don't put it in ZENDESK_OAUTH_TOKEN, which is only for an access token you already have.

2. Install (Python 3.10+):

cd zendesk-mcp
python3 -m venv .venv
.venv/bin/pip install -e .
cp .env.example .env    # then fill in ZENDESK_SUBDOMAIN, ZENDESK_EMAIL, ZENDESK_API_TOKEN

3. Connect a client.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "zendesk": {
      "command": "/absolute/path/to/zendesk-mcp/.venv/bin/zendesk-mcp",
      "env": {
        "ZENDESK_SUBDOMAIN": "yourcompany",
        "ZENDESK_EMAIL": "you@yourcompany.com",
        "ZENDESK_API_TOKEN": "…",
        "ZENDESK_ACCESS_MODE": "full"
      }
    }
  }
}

Claude Code:

claude mcp add zendesk \
  --env ZENDESK_SUBDOMAIN=yourcompany \
  --env ZENDESK_EMAIL=you@yourcompany.com \
  --env ZENDESK_API_TOKEN=… \
  -- /absolute/path/to/zendesk-mcp/.venv/bin/zendesk-mcp

(If you run the binary from the project directory, it also reads .env there.)

Running as an HTTP server (Docker / home server)

cp .env.example .env               # fill in Zendesk creds
echo "MCP_AUTH_TOKEN=$(openssl rand -hex 32)" >> .env
mkdir -p data && chmod a+rwX data  # the container's non-root user writes the journal, snapshots and docs here
docker compose up -d --build
curl http://localhost:8000/health  # {"status":"ok"}

The MCP endpoint is http://<host>:8000/mcp and every request needs Authorization: Bearer <MCP_AUTH_TOKEN>. The server refuses to listen on a non-localhost interface without a token, since that token is effectively your Zendesk admin key.

Point clients at it, e.g. Claude Code:

claude mcp add --transport http zendesk http://homeserver:8000/mcp \
  --header "Authorization: Bearer <MCP_AUTH_TOKEN>"

or add it to MetaMCP as a Streamable HTTP server with that bearer header. It runs stateless with JSON responses, so it works fine behind reverse proxies and aggregators.

Without Docker: zendesk-mcp --transport http --host 0.0.0.0 --port 8000.

If you expose it beyond your LAN, put it behind TLS (Caddy, Traefik, Cloudflare Tunnel) and set MCP_ALLOWED_HOSTS to your hostname.

Access modes

Set ZENDESK_ACCESS_MODE:

Mode

Behaviour

full (default)

Everything, including deletes.

no_delete

Blocks every HTTP DELETE (removing tags still works). Delete tools are hidden.

read_only

Blocks everything except GET. Write tools are hidden; search, reads and api_request GETs still work.

The mode is enforced in the HTTP client, so it also applies to api_request — the model can't route around it. Hiding tools is only a convenience.

Separately from the mode, note that merges, bulk updates and public replies are real and immediate. Clients that honour MCP annotations will ask before destructive calls; the server's instructions also tell the model to confirm these with you.

Configuration reference

Variable

Default

ZENDESK_SUBDOMAIN / ZENDESK_DOMAIN

—

One is required

ZENDESK_EMAIL + ZENDESK_API_TOKEN

—

Or ZENDESK_CLIENT_ID + ZENDESK_CLIENT_SECRET (OAuth client), or ZENDESK_OAUTH_TOKEN (access token)

ZENDESK_OAUTH_SCOPE

read write

Scope requested with an OAuth client (read in read_only mode)

ZENDESK_ACCESS_MODE

full

full, no_delete, read_only

ZENDESK_FILE_ROOT

unset

Directory for local uploads/downloads, CSV exports and the targets file. Unset = no local file access (text/base64 uploads and inline image/text downloads still work). /data in Docker.

ZENDESK_TARGETS_FILE

—

Override where report targets are stored

ZENDESK_TOOLSETS

all

core, analytics, admin (comma-separated)

ZENDESK_JOURNAL

on

off disables the change journal (and therefore revert)

ZENDESK_JOURNAL_FILE

—

Override where the change journal is written

ZENDESK_MAX_RESPONSE_CHARS

60000

Larger results are trimmed

ZENDESK_DEFAULT_LIMIT

100

ZENDESK_TIMEOUT / ZENDESK_MAX_RETRIES

30 / 4

MCP_TRANSPORT

stdio

or http

MCP_HOST / MCP_PORT / MCP_PATH

127.0.0.1 / 8000 / /mcp

MCP_AUTH_TOKEN

—

Required for non-localhost HTTP

MCP_ALLOWED_HOSTS

—

Optional Host-header allowlist

Example prompts

  • "Show me all urgent open tickets in the Billing group updated in the last 2 days."

  • "Summarise ticket 48211, look at the screenshot the customer attached, and draft an internal note with next steps."

  • "Find every macro that sets the group to Tier 2 and list which ones are inactive."

  • "Which triggers send email to requesters? Show their conditions."

  • "Export tickets changed since Oct 1 and tell me the top 10 tags."

  • "Give me last month's KPIs broken down by agent, in business hours."

  • "What's our median and p90 time between a customer reply and the next agent reply this week, per agent? Which tickets are waiting longest right now?"

  • "How did SLA achievement for first reply vs next reply compare in September?"

  • "Build a Q3 support review deck for the whole company, with customer quotes and our biggest issues."

  • "What were the top 5 rising contact reasons this month vs last, and do we have Help Center articles for them?"

  • "When should we add evening coverage? Show the heatmap in Pacific time."

  • "Profile Acme Corp: how much do they contact us, how fast are we for them compared with other customers, and how do they feel about us?"

  • "Which of Globex's tickets this quarter were the hardest, and what went wrong on each?"

  • "Document our current Zendesk configuration and list anything that looks broken or unused."

  • "Here's our new architecture plan. Snapshot the config, turn the plan into a blueprint, and show me the plan before changing anything."

  • "Add these five agents to Tier 1 with the Light Agent role." / "Offboard jane@acme.com and move her tickets to Tier 2."

  • "What would break if we deleted the Billing group?"

  • "Create a draft Help Center article in the Troubleshooting section from the resolution in ticket 48211."

Development

.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest

The suite runs every tool against a fake Zendesk API (no network) and starts a real HTTP server to check auth.

Layout: client.py (auth, access enforcement, retries, pagination, journaling), journal.py (change journal), formatting.py (slimming, size limits, CSV), metrics.py (stats, business hours, reply-gap engine), periods.py, privacy.py (redaction), targets.py (definitions, deltas, RAG), tools/admin.py, tools/blueprint.py (plan/apply engine), tools/changes.py (snapshots, revert), tools/docs.py (configuration documentation), tools/customers.py (customer profiles), tools/*.py (one module per area), server.py (wiring), __main__.py (CLI and HTTP auth). To add a resource type, add a line to RESOURCES in tools/resources.py.

License

MIT — see LICENSE.

Available Tools

62 tools
account_settingsA
Idempotent

Read or change account-level Support settings (tickets, agents, routing, CSAT, chat, etc.). Previous values are journaled so the change can be reverted.

Inputs: action, section, settings.

add_ticket_commentB

Add a public reply or internal note to a ticket. Defaults to an internal note for safety.

Inputs: body (required), ticket_id (required), html, public, +3 more.

api_requestA
Destructive

Call ANY Zendesk Support / Help Center / Talk API endpoint on this instance. Use this for anything the dedicated tools don't cover (side conversation replies, ticket skips, collaborators, account settings, voice, routing, deletion restores, etc.). Access mode (ZENDESK_ACCESS_MODE) is still enforced.

Inputs: path (required), method (required), body, limit, +3 more.

apply_macroA

Apply a macro to a ticket (or preview its effect). Find macros with list_resources(resource='macros') or search via api_request GET macros/search?query=...

Inputs: macro_id (required), ticket_id (required), preview_only.

backlog_reportA
Read-onlyIdempotent

Snapshot of all unsolved tickets right now: counts by status, age buckets, stale tickets, a breakdown (default by group), and the oldest tickets.

Inputs: filter, group_by, stale_days, max_tickets.

blueprint_applyA
Destructive

Carry out a reviewed blueprint plan. Re-plans first and refuses if the account changed since the plan was reviewed, then applies steps in dependency order. Every change is journaled under the plan id — revert_change(batch=plan_id) undoes the rollout.

Inputs: plan_id (required), allow_drift, continue_on_error.

blueprint_exportA

Export the current configuration as a blueprint, with IDs turned into @references. Use it as the starting point for changes, to compare against an architecture plan, or as config-as-code.

Inputs: inline, filename, sections, include_inactive.

blueprint_planA
Read-onlyIdempotent

Dry run of a configuration rollout: compares the blueprint with the live account and lists every create, update (before → after), reorder and delete, with warnings (e.g. deleting something rules still use) and blocking errors (unknown references, ambiguous names, missing required fields, invalid triggers). Nothing changes. If there are no errors it returns a plan_id for blueprint_apply.

Inputs: validate, blueprint, show_steps, blueprint_file.

bulk_update_ticketsA

Apply the same change to up to 100 tickets. Runs as a background job; poll with get_resource(resource='job_statuses', id=...).

Inputs: ticket_ids (required), type, extra, public, +8 more.

config_snapshotA

Export the account's configuration — settings, groups, roles, agents, fields, forms, statuses, schedules, SLAs, trigger categories, triggers, automations, views, macros, webhooks, routing — to a JSON file under ZENDESK_FILE_ROOT/snapshots. Take one before any rollout; compare later with snapshot_diff.

Inputs: label, sections.

create_articleC

Create a Help Center article (as a draft by default).

Inputs: body (required), title (required), section_id (required), draft, +7 more.

create_or_update_userA
Idempotent

Upsert a user: updates the existing user with a matching email/external_id, otherwise creates one.

Inputs: user (required).

create_resourceC

Create an object (macro, trigger, automation, view, group, user, organization, ticket field, webhook, Help Center category/section, etc.).

Inputs: data (required), resource (required), parent_id.

create_ticketD

Create a ticket.

Inputs: comment (required), subject (required), html, tags, +18 more.

csat_feedbackB
Read-onlyIdempotent

Customer satisfaction detail: good/bad totals, reasons given for bad ratings, CSAT by group (or agent), and customer comments for quote slides — redacted by default.

Inputs: csv, end, start, period, +6 more.

customer_profileA
Read-onlyIdempotent

Profile one customer (Zendesk organization): account facts and custom org fields, ticket volume and trend vs the previous period, channel/priority/topic mix, main contacts, our response and resolution performance (vs the previous period and vs all customers), open backlog, SLA achievement, their most challenging tickets with the reasons, and sentiment — CSAT and comments, any AI sentiment field or tags, and the tone of their own messages in a sample of conversations, with excerpts as evidence. signals lists the risks and positives worth leading with. Times are in minutes. Good for account reviews, QBR prep, escalations and renewal risk checks. If the name matches several organizations, the error lists them with IDs.

Inputs: organization (required), end, start, period, +10 more.

delete_resourceA
Destructive

Delete an object by ID. Most deletions are permanent; the object's last state is kept in the change journal so revert_change can re-create it (with a new ID).

Inputs: id (required), resource (required), parent_id.

delete_ticketsA
Destructive

Soft-delete tickets (recoverable for ~30 days via api_request PUT deleted_tickets/restore_many?ids=...).

Inputs: ticket_ids (required).

document_configA

Write documentation of the whole configuration: what every trigger, automation, view, macro and SLA policy does in plain language (ids resolved to names, in firing order with 30-day usage), plus groups, agents and roles, fields and options, forms and their conditional logic, statuses, business hours, webhooks, routing, key settings, where each group/field/status/form/webhook is used, and findings (broken references, unused objects, rules that never fire, duplicates). Saved as Markdown and/or JSON under ZENDESK_FILE_ROOT/docs.

Inputs: format, inline, filename, sections, +2 more.

download_attachmentA
Read-onlyIdempotent

Fetch an attachment (IDs come from list_ticket_comments). Images are returned so you can see them, text files are returned inline; anything else must be saved with save_to.

Inputs: attachment_id (required), save_to.

find_referencesA
Read-onlyIdempotent

Everything that depends on a group, field, status, form, brand, schedule, webhook, user, organization or tag: triggers, automations, views, macros, SLA policies, ticket forms and queues. Check this before renaming, deactivating or deleting anything.

Inputs: value (required), ref_type (required), include_inactive.

get_articleC
Read-onlyIdempotent

Get a Help Center article including its HTML body.

Inputs: article_id (required), locale, include_translations_list.

get_resourceC
Read-onlyIdempotent

Get one object by ID.

Inputs: id (required), resource (required), params, parent_id.

get_ticketA
Read-onlyIdempotent

Get a single ticket with requester/assignee/group/org names resolved and, optionally, its most recent comments and SLA/time metrics.

Inputs: ticket_id (required), raw, include_metrics, include_comments.

get_userB
Read-onlyIdempotent

Get a user profile (with organization names, and optionally identities).

Inputs: user_id (required), include_identities, include_organizations.

help_center_reportB
Read-onlyIdempotent

Self-service health: article counts, most/least helpful (by votes), stale articles, and the top ticket topics that have no matching Help Center article — the content gaps.

Inputs: end, top, start, period, +4 more.

incremental_exportA
Read-onlyIdempotent

Export everything that changed since a point in time — one page per call, for reporting and sync. Response includes the token to continue (after_cursor or next start_time) and end_of_stream.

Inputs: resource (required), cursor, fields, include, +2 more.

list_agentsA
Read-onlyIdempotent

Agent roster for audits and planning: role, custom role, groups (default marked), suspended, last login — plus totals by role and custom role, and who hasn't logged in recently.

Inputs: role, group, limit, inactive_days, +1 more.

list_changesA
Read-onlyIdempotent

The change journal: every write this server has made to Zendesk (newest first), with outcome and whether it can be reverted.

Inputs: batch, limit, failed_only, path_contains, +1 more.

list_resourcesC
Read-onlyIdempotent

List objects of a resource type (macros, triggers, views, ticket fields, groups, users, Help Center sections, webhooks, SLA policies, etc.).

Inputs: resource (required), limit, fields, params, +1 more.

list_ticket_auditsB
Read-onlyIdempotent

Full change history of a ticket (every field change, trigger/automation firing, notification).

Inputs: ticket_id (required), limit.

list_ticket_commentsC
Read-onlyIdempotent

List a ticket's comments (conversation), with attachment metadata.

Inputs: ticket_id (required), limit, body_format, newest_first.

list_ticketsA
Read-onlyIdempotent

List tickets by scope. For filtering by status, tags, dates, text etc. use search with type:ticket instead (it is far more flexible).

Inputs: id, sort, limit, scope, +1 more.

manage_tagsA
Idempotent

Get, add, remove or replace tags on a ticket, user or organization.

Inputs: id (required), action (required), target (required), tags.

merge_ticketsC

Merge source tickets into a target ticket. Sources are closed. This cannot be undone.

Inputs: target_ticket_id (required), source_ticket_ids (required), public, source_comment, +1 more.

merge_usersB

Merge one end user into another. Tickets, identities and memberships move to the target. Irreversible.

Inputs: source_user_id (required), target_user_id (required).

offboard_agentA
Destructive

Offboard an agent safely, in Zendesk's recommended order: reassign their unsolved tickets, remove group memberships, then downgrade/suspend/delete. Defaults to a dry run that shows the impact.

Inputs: user (required), mode, dry_run, reassign_to_agent, +2 more.

preview_viewA
Read-onlyIdempotent

Test view conditions before creating or changing a view: how many tickets match and a sample of them. Zendesk allows about 5 previews per minute.

Inputs: conditions (required), rows, columns, sort_by, +2 more.

provision_agentsA
Destructive

Create or update agents in one step: role, custom role, group memberships and default group. Existing users are matched by email and only changed where they differ (an end user is upgraded). Adding agents consumes Support seats; Zendesk rejects new agents when no seats are free.

Inputs: agents (required), dry_run, send_verification_email.

reorderA
Idempotent

Change the order of triggers, automations, views, macros, ticket forms or SLA policies (order matters: triggers fire top to bottom, SLA policies match top to bottom). Previous positions are journaled.

Inputs: kind (required), order (required).

reply_time_reportB
Read-onlyIdempotent

Time between customer and agent replies across many tickets, computed from the actual conversations: agent response time for every customer message (not just the first), customer response time, per-agent and per-group stats, the slowest responses, and tickets currently waiting on an agent. Only replies that happened inside the date range are counted when a range is used.

Inputs: end, start, filter, period, +8 more.

report_targetsB

Goals used to colour report metrics green/amber/red. Stored in a local JSON file (not in Zendesk). Amber = within amber_pct of the goal on the wrong side.

Inputs: action, metrics, targets.

revert_changeA
Destructive

Undo changes made through this server using the journal: updates are rolled back to their previous values, created objects are deleted, deleted objects are re-created (with new IDs), reorders are restored. Bulk ticket updates can't be undone.

Inputs: batch, force, dry_run, change_id.

rule_definitionsA
Read-onlyIdempotent

Valid conditions and actions for building triggers, automations, views and macros: each field's subject, operators and allowed values (group ids, statuses, custom fields...). Use before creating rules. Automations use the trigger definitions plus time-based conditions (see notes).

Inputs: kind (required), search, max_values.

sample_ticket_textA
Read-onlyIdempotent

A reproducible random sample of ticket subjects and opening messages, so you can identify themes in free text. Estimate a theme's volume as (share of sample) × total_in_scope, and present it as an estimate.

Inputs: end, seed, start, filter, +6 more.

search_articlesA
Read-onlyIdempotent

Full-text search of Help Center articles. Returns snippets; use get_article for full bodies.

Inputs: query (required), limit, locale, section_id, +3 more.

search_organizationsA
Read-onlyIdempotent

Find organizations by name prefix or external ID. For richer filters use search(query='type:organization ...').

Inputs: name, limit, external_id.

search_usersC
Read-onlyIdempotent

Find users by email, name, phone, external ID or search query.

Inputs: limit, query, fields, external_id.

sla_reportA
Read-onlyIdempotent

SLA achievement by policy and metric (first reply, next reply, requester wait, agent work time, periodic update...) from ticket metric events. A target counts as achieved if it was fulfilled in the range without a breach; breached if it breached. Also lists targets currently in breach.

Inputs: end, start, period, max_pages, +1 more.

snapshot_diffA
Read-onlyIdempotent

What changed between two snapshots (or a snapshot and the live account): objects added, removed and changed per section, with before/after values for small fields.

Inputs: before (required), after, detail.

support_kpisA
Read-onlyIdempotent

Key support KPIs for a date range, from Zendesk's own ticket metrics: volume, first reply time, first/full resolution time, requester wait, agent wait, on-hold time (all as count/mean/median/p90, calendar and business minutes), one-touch resolution, reopen rate, reassignments and CSAT. Optional breakdown by assignee, group, channel, priority, type, brand, form, organization or tag. Note: first reply time is Zendesk's definition (first public agent reply). For every reply gap in the conversation use reply_time_report.

Inputs: end, start, filter, period, +3 more.

support_reportA
Read-onlyIdempotent

Everything for a support review deck in one call: a headline scorecard (vs previous period and vs targets, with green/amber/red), trends, channel mix, contact drivers, CSAT with quotes, SLA, staffing heatmap, biggest issues, backlog and Help Center gaps — plus metric definitions and a suggested slide outline. Defaults are safe for a company-wide audience (team-level, redacted).

Inputs: csv, end, start, filter, +12 more.

ticket_reply_timesA
Read-onlyIdempotent

Every back-and-forth on one ticket: how long the customer waited for each agent reply and how long the customer took to respond, plus Zendesk's own metrics for comparison. The clock for an agent response starts at the first unanswered customer message.

Inputs: ticket_id (required), time_zone, schedule_id, business_hours, +2 more.

ticket_topicsA
Read-onlyIdempotent

What customers contact you about: ticket volume by category field values and tags, share of total, growth vs the previous period, rising/falling topics, and CSAT/first reply/resolution per topic. For free-text themes not captured by fields or tags, use sample_ticket_text.

Inputs: csv, end, top, start, +9 more.

top_issuesB
Read-onlyIdempotent

Biggest issues in a period: problem tickets with the most linked incidents, organizations with the most tickets and lowest CSAT, priority mix, highest-effort tickets (most replies) and most-reopened tickets.

Inputs: end, limit, start, filter, +6 more.

update_articleB
Idempotent

Update an article. Title/body/draft are per-translation; section/labels/permissions are article-level.

Inputs: article_id (required), body, draft, extra, +7 more.

update_resourceA
Idempotent

Update an object by ID. For triggers/automations/views, unspecified conditions or actions are preserved (Zendesk would otherwise clear them); dropping dropdown options requires allow_option_removal.

Inputs: id (required), data (required), resource (required), parent_id, +1 more.

update_ticketC

Update ticket properties and/or add a public reply or internal note.

Inputs: ticket_id (required), html, tags, type, +20 more.

upload_attachmentA

Upload a file and get a token. Attach it by passing the token in upload_tokens of create_ticket, update_ticket or add_ticket_comment. Tokens expire after 60 minutes.

Inputs: filename (required), text, token, file_path, +2 more.

volume_heatmapA
Read-onlyIdempotent

When customers contact you: a day-of-week × hour-of-day matrix (counts and average per day), peak hours, totals by day and hour, and median first reply time by the hour tickets arrive — for staffing slides.

Inputs: csv, end, event, start, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 62 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, especially ticket, user, article, reporting, and admin operations. However, the generic resource tools and api_request overlap with dedicated tools, and the many reporting/analytics tools cover related territory, so an agent must rely on descriptions to choose correctly.

    Naming Consistency3/5

    All names use snake_case, but the pattern is mixed: many tools follow verb_noun (get_ticket, create_article, merge_users), while many reporting/config tools are noun-phrase labels (support_kpis, backlog_report, customer_profile) or single verbs (reorder). The names remain readable, but the convention is not predictable throughout.

    Tool Count1/5

    62 tools is far beyond a well-scoped MCP surface and is likely to overwhelm an agent's selection process. While the Zendesk domain is broad, the count is excessive and several analytics/admin tools could be consolidated.

    Completeness5/5

    The surface covers ticket lifecycle, comments, audits, tags, bulk updates, merges, users, organizations, Help Center articles, attachments, reporting, configuration, blueprints, and a change journal. The api_request fallback also fills gaps, making the tool set effectively complete for Zendesk Support and Help Center operations.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      A Model Context Protocol (MCP) server that connects LLMs to the Zendesk Support & Help Center APIs — with per-user OAuth 2.1 PKCE authentication and fine-grained tool visibility controls.
      63
      1,592 npm
      16
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      MCP server that exposes the complete Libredesk REST API (54 endpoints) as tools, enabling natural language management of conversations, contacts, agents, teams, and more for the open-source customer support desk.
      54
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Comprehensive MCP server providing 89 tools and 13 React UI apps for complete Zendesk Support API integration, enabling ticket, user, organization, and automation management.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that provides operational tooling over the Zendesk Support API — ticket triage, SLA monitoring, agent workload analysis, and system health audits.
      11
      1
      MIT