zendesk-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP host. | 127.0.0.1 |
| MCP_PATH | No | HTTP path. | /mcp |
| MCP_PORT | No | HTTP port. | 8000 |
| MCP_TRANSPORT | No | stdio or http. | stdio |
| ZENDESK_EMAIL | No | Zendesk user email for API token authentication; used with ZENDESK_API_TOKEN. | |
| MCP_AUTH_TOKEN | No | Required for non-localhost HTTP; bearer token for the MCP endpoint. | |
| ZENDESK_DOMAIN | No | Zendesk domain. One of ZENDESK_SUBDOMAIN or ZENDESK_DOMAIN is required. | |
| ZENDESK_JOURNAL | No | on or off; off disables the change journal and revert. | on |
| ZENDESK_TIMEOUT | No | Request timeout. | 30 |
| ZENDESK_TOOLSETS | No | core, analytics, admin (comma-separated); default all. | all |
| MCP_ALLOWED_HOSTS | No | Optional Host-header allowlist. | |
| ZENDESK_API_TOKEN | No | Zendesk API token; used with ZENDESK_EMAIL. | |
| ZENDESK_CLIENT_ID | No | OAuth client Identifier; used with ZENDESK_CLIENT_SECRET. | |
| ZENDESK_FILE_ROOT | No | Directory for local uploads/downloads, CSV exports and the targets file. Unset means no local file access. | |
| ZENDESK_SUBDOMAIN | No | Zendesk subdomain. One of ZENDESK_SUBDOMAIN or ZENDESK_DOMAIN is required. | |
| ZENDESK_ACCESS_MODE | No | full, no_delete, or read_only. | full |
| ZENDESK_MAX_RETRIES | No | Maximum retries. | 4 |
| ZENDESK_OAUTH_SCOPE | No | Scope requested with an OAuth client (read in read_only mode). | read write |
| ZENDESK_OAUTH_TOKEN | No | Existing OAuth access token. | |
| ZENDESK_JOURNAL_FILE | No | Override where the change journal is written. | |
| ZENDESK_TARGETS_FILE | No | Override where report targets are stored. | |
| ZENDESK_CLIENT_SECRET | No | OAuth client secret; used with ZENDESK_CLIENT_ID. | |
| ZENDESK_DEFAULT_LIMIT | No | Default limit. | 100 |
| ZENDESK_MAX_RESPONSE_CHARS | No | Larger results are trimmed. | 60000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Full-access Zendesk Support + Help Center server.
Finding things: search (Zendesk query syntax) is the most flexible way to locate tickets, users and orgs.
Tickets: get_ticket / list_ticket_comments to read; update_ticket or add_ticket_comment to act
(add_ticket_comment defaults to an INTERNAL note; set public=true to reply to the customer).
Config objects (macros, triggers, automations, views, ticket fields, groups, SLAs, webhooks, Help Center
categories/sections, custom objects...): list_resources / get_resource / create_resource / update_resource /
delete_resource. Anything else: api_request can call any /api/v2 endpoint.
Metrics: support_kpis (FRT, resolution, wait times, one-touch, reopens, CSAT with breakdowns), reply_time_report
(time between every customer message and agent reply, per agent/group), ticket_reply_times (one ticket's
back-and-forth), backlog_report (unsolved now), sla_report (SLA achievement). All times are in minutes;
pass business_hours=true for business-hours figures.
Reports/decks: support_report gathers everything for a review deck in one call (scorecard vs previous period and
targets, trends, topics, CSAT quotes, SLA, heatmap, issues, backlog, Help Center gaps, definitions, slide outline).
Drill down with kpi_trends, ticket_topics, sample_ticket_text (free-text themes), csat_feedback, volume_heatmap,
top_issues, help_center_report. Goals live in report_targets.
Customers: customer_profile(organization=...) profiles one organization — volume, response/resolution performance vs
previous period and all customers, backlog, SLA, hardest tickets and sentiment (CSAT, AI sentiment fields, message
tone with excerpts). Lead with its signals; treat conversation tone as a heuristic and check the excerpts. Periods accept shorthands like last_quarter or 2026-Q3.
For company-wide audiences keep team_level=true and redact=true (the defaults).
Administration: list_agents, provision_agents, offboard_agent (dry run by default); rule_definitions before building
triggers/views/macros/automations; preview_view to test view conditions; reorder; find_references before renaming,
deactivating or deleting anything; account_settings.
Rolling out a configuration (e.g. an architecture plan): config_snapshot first, then express the target state as a
blueprint (blueprint_export shows the current state in the same format), run blueprint_plan, show the user the plan,
and only after they approve run blueprint_apply. Every write is journaled: list_changes shows them, revert_change undoes
one change or a whole batch (a plan id). Prefer a sandbox instance for first runs.
document_config writes a plain-language description of the whole configuration (what every rule does, where each
group/field is used, and findings such as broken references or unused objects) for audits and handovers.
Custom ticket fields are referenced by numeric ID; look them up with list_resources(resource='ticket_fields').
Large results are trimmed; use limit and fields to keep responses small.
Changes are real and immediate. Confirm with the user before bulk updates, merges, deletes, public replies, agent
provisioning or offboarding, settings changes and blueprint applies.
Instance: example.zendesk.com. Access mode: full.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchA | Search tickets, users, organizations and groups with Zendesk's query language. This is the most flexible way to find tickets (by status, tags, dates, requester, text, custom fields...). |
| get_ticketA | Get a single ticket with requester/assignee/group/org names resolved and, optionally, its most recent comments and SLA/time metrics. |
| list_ticketsA | List tickets by scope. For filtering by status, tags, dates, text etc. use |
| create_ticketD | Create a ticket. |
| update_ticketC | Update ticket properties and/or add a public reply or internal note. |
| add_ticket_commentB | Add a public reply or internal note to a ticket. Defaults to an internal note for safety. |
| list_ticket_commentsC | List a ticket's comments (conversation), with attachment metadata. |
| list_ticket_auditsB | Full change history of a ticket (every field change, trigger/automation firing, notification). |
| 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=...). |
| merge_ticketsC | Merge source tickets into a target ticket. Sources are closed. This cannot be undone. |
| delete_ticketsA | Soft-delete tickets (recoverable for ~30 days via api_request PUT deleted_tickets/restore_many?ids=...). |
| 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=... |
| manage_tagsA | Get, add, remove or replace tags on a ticket, user or organization. |
| get_userB | Get a user profile (with organization names, and optionally identities). |
| search_usersC | Find users by email, name, phone, external ID or search query. |
| create_or_update_userA | Upsert a user: updates the existing user with a matching email/external_id, otherwise creates one. |
| merge_usersB | Merge one end user into another. Tickets, identities and memberships move to the target. Irreversible. |
| search_organizationsA | Find organizations by name prefix or external ID. For richer filters use search(query='type:organization ...'). |
| list_resourcesC | List objects of a resource type (macros, triggers, views, ticket fields, groups, users, Help Center sections, webhooks, SLA policies, etc.). |
| get_resourceC | Get one object by ID. |
| create_resourceC | Create an object (macro, trigger, automation, view, group, user, organization, ticket field, webhook, Help Center category/section, etc.). |
| update_resourceA | 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. |
| delete_resourceA | 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). |
| search_articlesA | Full-text search of Help Center articles. Returns snippets; use get_article for full bodies. |
| get_articleC | Get a Help Center article including its HTML body. |
| create_articleC | Create a Help Center article (as a draft by default). |
| update_articleB | Update an article. Title/body/draft are per-translation; section/labels/permissions are article-level. |
| api_requestA | 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. |
| incremental_exportA | 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. |
| upload_attachmentA | Upload a file and get a token. Attach it by passing the token in |
| download_attachmentA | 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. |
| support_kpisA | 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. |
| backlog_reportA | Snapshot of all unsolved tickets right now: counts by status, age buckets, stale tickets, a breakdown (default by group), and the oldest tickets. |
| ticket_reply_timesA | 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. |
| reply_time_reportB | 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. |
| sla_reportA | 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. |
| kpi_trendsB | KPIs over time for charts: one row per day/week/month with volume, solved, first reply and resolution medians (calendar + business), one-touch %, reopen %, CSAT — plus period-over-period deltas marked improved/worsened (e.g. Q3 vs Q2). Default period: last 30 days. |
| ticket_topicsA | 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. |
| sample_ticket_textA | 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. |
| csat_feedbackB | 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. |
| volume_heatmapA | 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. |
| top_issuesB | 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. |
| help_center_reportB | 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. |
| 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. |
| support_reportA | 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). |
| customer_profileA | 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. |
| list_agentsA | 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. |
| provision_agentsA | 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. |
| offboard_agentA | 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. |
| rule_definitionsA | 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). |
| preview_viewA | 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. |
| reorderA | 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. |
| find_referencesA | 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. |
| account_settingsA | Read or change account-level Support settings (tickets, agents, routing, CSAT, chat, etc.). Previous values are journaled so the change can be reverted. |
| blueprint_planA | 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. |
| blueprint_applyA | 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. |
| 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. |
| 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. |
| 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. |
| snapshot_diffA | 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. |
| list_changesA | The change journal: every write this server has made to Zendesk (newest first), with outcome and whether it can be reverted. |
| revert_changeA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 62 tools
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.
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.
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.
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.