Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

michaelrice/zendesk-mcp MCP server](https://glama.ai/mcp/servers/michaelrice/zendesk-mcp/badges/score.svg)](https://glama.ai/mcp/servers/michaelrice/zendesk-mcp) 🐍 ☁️ 🍎 πŸͺŸ 🐧 - MCP server for Zendesk.

README.md

zendesk-mcp

A Model Context Protocol server that exposes Zendesk ticket read and write tools to Claude Code and other MCP clients.

What it does

  • Search, list (paginated), and fetch Zendesk tickets, comments, and attachments
  • Create new tickets and update existing ticket fields (including group, custom status, and tags)
  • Post public replies and internal notes
  • Set ticket status and assign tickets to agents
  • Browse and apply views and macros
  • Look up users, groups, organizations, and custom statuses
  • Read and write time-tracking entries
  • Format a ticket as a Markdown issue draft for handoff to a tracker (GitLab, GitHub, Jira)
  • Two MCP prompts (analyze-ticket, draft-ticket-response) for ticket analysis and response drafting
  • (Optional) Expose Zendesk Help Center articles as an MCP resource
  • (Optional) Read linked GitLab issues / MRs / commits via the Git-Zen Zendesk app

Prerequisites

  • Python 3.10 or newer
  • A Zendesk OAuth client. A Zendesk admin can create one at:

https://<your-subdomain>.zendesk.com/admin/apps-integrations/apis/zendesk-api/oauth_clients Set the redirect URL to http://localhost:8787/callback and request scopes read write.

Install

Install into a project-local virtualenv. Using a venv keeps zendesk-mcp and its dependencies isolated from your system Python and from other projects, and is the recommended path for everything below.

From a clone of this repository:

python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -e .

For development (also installs pytest):

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

Throughout this README, commands use the venv's binaries via .venv/bin/.... You can instead source .venv/bin/activate once per shell and drop the prefix β€” the result is the same.

OAuth setup

Run the interactive setup using the venv's Python:

.venv/bin/python -m zendesk_mcp setup

You will be prompted for:

  1. Your Zendesk subdomain (e.g. acme for acme.zendesk.com)
  2. The OAuth client ID created by your admin
  3. The OAuth client secret
  4. (Optional) A Git-Zen integration field ID β€” see Optional: Git-Zen integration
  5. (Optional) Whether to enable the Help Center knowledge base resource β€” see Optional: Help Center knowledge base

The setup opens a browser for the OAuth authorization step, then writes a token to ~/.config/zendesk-mcp/config.json (mode 0600).

If you have no browser, the URL is printed to the terminal β€” open it on any device, click Allow, and paste the resulting redirect URL back into the prompt.

Register with Claude Code

Register the MCP server using the venv's Python by absolute path. Claude Code launches the server in a fresh shell that does not inherit your activated venv, so the absolute path is required β€” pointing at a bare python here will fail to import zendesk_mcp.

ZENDESK_MCP_DIR="$(pwd)"   # run this from the repo root, after install
claude mcp add --scope user zendesk -- "$ZENDESK_MCP_DIR/.venv/bin/python" -m zendesk_mcp

Or just inline the absolute path you want:

claude mcp add --scope user zendesk -- /absolute/path/to/zendesk-mcp/.venv/bin/python -m zendesk_mcp

Then add the read tools to permissions.allow in ~/.claude/settings.json to avoid per-call prompts:

{
  "permissions": {
    "allow": [
      "mcp__zendesk__zendesk_get_ticket",
      "mcp__zendesk__zendesk_get_tickets",
      "mcp__zendesk__zendesk_get_comments",
      "mcp__zendesk__zendesk_list_attachments",
      "mcp__zendesk__zendesk_download_attachment",
      "mcp__zendesk__zendesk_search_tickets",
      "mcp__zendesk__zendesk_ticket_to_gitlab_context",
      "mcp__zendesk__zendesk_list_views",
      "mcp__zendesk__zendesk_get_view",
      "mcp__zendesk__zendesk_get_view_tickets",
      "mcp__zendesk__zendesk_list_macros",
      "mcp__zendesk__zendesk_preview_macro",
      "mcp__zendesk__zendesk_search_users",
      "mcp__zendesk__zendesk_get_groups",
      "mcp__zendesk__zendesk_get_group_users",
      "mcp__zendesk__zendesk_get_organization",
      "mcp__zendesk__zendesk_list_custom_statuses"
    ]
  }
}

Write tools (zendesk_post_comment, zendesk_post_internal_note, zendesk_set_ticket_status, zendesk_assign_ticket, zendesk_create_ticket, zendesk_update_ticket, zendesk_log_time, zendesk_add_tag, zendesk_remove_tag, zendesk_apply_macro) are intentionally not in the default allow-list β€” Claude will prompt you per call.

Tools

Tickets

| Tool | What it does | |---|---| | zendesk_search_tickets | Search tickets by status, priority, type, assignee, requester, tags, or keyword | | zendesk_get_tickets | List tickets with pagination and sorting (page, per_page, sort_by, sort_order) | | zendesk_get_ticket | Get one ticket's metadata | | zendesk_create_ticket | Create a new ticket (subject, description, optional priority/type/assignee_id/requester_id/tags/custom_fields) | | zendesk_update_ticket | Update one or more fields on an existing ticket (status, priority, subject, type, assignee_id, requester_id, group_id, custom_status_id, tags, custom_fields, due_at) | | zendesk_get_comments | Get the conversation thread on a ticket | | zendesk_list_attachments | List attachments on a ticket | | zendesk_download_attachment | Download an attachment to a local cache directory | | zendesk_ticket_to_gitlab_context | Format a ticket and its conversation as a Markdown issue draft | | zendesk_post_comment | Post a public reply on a ticket | | zendesk_post_internal_note | Post an agent-only internal note on a ticket | | zendesk_set_ticket_status | Set ticket status (new, open, pending, hold, solved, closed) | | zendesk_assign_ticket | Assign a ticket to an agent by email or me |

Tags

| Tool | What it does | |---|---| | zendesk_add_tag | Add a tag to a ticket (idempotent) | | zendesk_remove_tag | Remove a tag from a ticket (idempotent) |

Views & Macros

| Tool | What it does | |---|---| | zendesk_list_views | List all active views | | zendesk_get_view | Get a view's filter conditions and execution settings | | zendesk_get_view_tickets | Fetch tickets currently matching a view | | zendesk_list_macros | List active macros with their actions | | zendesk_preview_macro | Preview what changes a macro would make | | zendesk_apply_macro | Apply a macro to a ticket (applies field changes and posts any comment) |

Users, Groups & Organizations

| Tool | What it does | |---|---| | zendesk_search_users | Find users by name or email | | zendesk_get_groups | List all active groups | | zendesk_get_group_users | List the members of a group | | zendesk_get_organization | Fetch an organization including custom fields | | zendesk_list_custom_statuses | List all custom ticket statuses and their IDs |

Time tracking

| Tool | What it does | |---|---| | zendesk_get_time_tracking | Read time-tracking entries for a ticket | | zendesk_log_time | Log a time entry against a ticket |

Git-Zen integration

| Tool | What it does | |---|---| | zendesk_get_git_zen_links | (Git-Zen only) Get linked GitLab issues / MRs / commits for a ticket |

Prompts

The server exposes two MCP prompts that some clients (e.g. Claude Desktop) surface as slash commands:

| Prompt | Argument | What it does | |---|---|---| | analyze-ticket | ticket_id | Asks the model to fetch the ticket and produce a summary, status/timeline, and key interaction points | | draft-ticket-response | ticket_id | Asks the model to fetch the ticket and draft a customer-facing response (with a confirmation step before posting) |

Optional: Git-Zen integration

If your Zendesk instance uses the Git-Zen app, the zendesk_get_git_zen_links tool can read its custom-field payload. Find your instance's Git-Zen custom field ID under Admin β†’ Tickets β†’ Fields (it is a numeric ID), then either set it during .venv/bin/python -m zendesk_mcp setup or edit ~/.config/zendesk-mcp/config.json to add:

{
  "git_zen_field_id": 12345678901234
}

Without this configured, zendesk_get_git_zen_links returns a "not configured" message.

Optional: Help Center knowledge base

If your Zendesk instance has a published Help Center, you can expose its sections and articles as the zendesk://knowledge-base MCP resource. The resource returns a single JSON document covering all sections and articles, cached for one hour.

This is opt-in. Enable it by either answering "y" to the prompt during .venv/bin/python -m zendesk_mcp setup, or by adding the following to ~/.config/zendesk-mcp/config.json:

{
  "knowledge_base_enabled": true
}

When the flag is absent or false, the resource is not registered, keeping the server's resource list empty for instances without a Help Center.

Development

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

Tests run on Python 3.10, 3.11, and 3.12 in CI (see .github/workflows/test.yml).

License

Apache-2.0

<!-- mcp-name: io.github.michaelrice/zendesk-mcp -->

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.