zendesk-mcp
v0.1.6Zendesk MCP server for Claude Code and other MCP clients
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zendesk_get_ticket
Get a Zendesk ticket by ID. Returns ticket fields including status, priority, requester, assignee, tags, and description.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_search_tickets
Search Zendesk tickets by keyword and/or status. keywords: free-text search (e.g. 'login failure LDAP'). status: new, open, pending, hold, solved, closed — leave empty for all statuses. Returns id, subject, status, requester, assignee, and dates.
| Parameter | Type | Description |
|---|---|---|
keywords | string | |
limit | integer | |
status | string |
zendesk_get_comments
Get all comments (public replies and internal notes) for a Zendesk ticket. Includes attachment metadata but does not download files.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_list_attachments
List all attachments across all comments for a Zendesk ticket. Returns filename, content type, size, and download URL for each. Use zendesk_download_attachment to fetch file contents.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_download_attachment
Download a Zendesk attachment. Obtain attachment_url and filename from zendesk_list_attachments. ticket_id is required for cache organization. Optional dest_dir overrides the default cache location (it must be inside the cache or a directory listed in 'attachment_allowed_dest_dirs' in the config); the file is written there and (for archives) extracted alongside it. Archives return a file list and unpack_dir — read individual files with your normal file tools. PDFs return up to ~500KB of extracted text. Images are base64-encoded.
| Parameter | Type | Description |
|---|---|---|
attachment_url * | string | |
filename * | string | |
ticket_id * | integer | |
dest_dir |
zendesk_ticket_to_gitlab_context
Format a Zendesk ticket and its comments as an issue draft. Returns Markdown with ticket metadata, full conversation, and an empty Steps to Reproduce section. Use this output as the description when creating an issue in your tracker.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_post_comment
Post a public reply on a Zendesk ticket. The reply is visible to the requester. Use for customer-facing responses.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
ticket_id * | integer |
zendesk_post_internal_note
Post an internal note on a Zendesk ticket. Internal notes are only visible to agents and are not sent to the requester.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
ticket_id * | integer |
zendesk_set_ticket_status
Set the status of a Zendesk ticket. Valid statuses: new, open, pending, hold, solved, closed.
| Parameter | Type | Description |
|---|---|---|
status * | string | |
ticket_id * | integer |
zendesk_assign_ticket
Assign a Zendesk ticket to an agent by their email address. Pass 'me' as assignee_email to assign the ticket to yourself (the authenticated user).
| Parameter | Type | Description |
|---|---|---|
assignee_email * | string | |
ticket_id * | integer |
zendesk_update_ticket
Update one or more fields on a Zendesk ticket. Pass only the fields you want to change. status: new/open/pending/hold/solved/closed. priority: low/normal/high/urgent. type: problem/incident/question/task. assignee_id, requester_id, group_id, custom_status_id are integer IDs. due_at is ISO8601. Returns JSON of the refreshed ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | |
assignee_id | ||
custom_fields | ||
custom_status_id | ||
due_at | ||
group_id | ||
priority | ||
requester_id | ||
status | ||
subject | ||
tags | ||
type |
zendesk_get_time_tracking
Get time tracking data for a Zendesk ticket. Returns total time spent and time spent on the last update, in both seconds and human-readable format (e.g. '2h 15m').
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_log_time
Log time spent on a Zendesk ticket. Adds seconds to the running total and records it as the last-update time. Returns logged amount and new total in seconds and human-readable format.
| Parameter | Type | Description |
|---|---|---|
seconds * | integer | |
ticket_id * | integer |
zendesk_get_git_zen_links
Get linked GitLab issues, merge requests, and commits for a Zendesk ticket via the Git-Zen integration. Returns structured lists with state, labels, weight, and direct GitLab links.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer |
zendesk_create_ticket
Create a new Zendesk ticket. subject and description are required. priority: low/normal/high/urgent. type: problem/incident/question/task. requester_id/assignee_id are user IDs (integers). custom_fields is a list of {id, value} dicts. Returns JSON of the created ticket.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
subject * | string | |
assignee_id | ||
custom_fields | ||
priority | ||
requester_id | ||
tags | ||
type |
zendesk_get_tickets
List Zendesk tickets with pagination. page: 1-based page number. per_page: max 100. sort_by: created_at, updated_at, priority, or status. sort_order: asc or desc. Returns tickets plus pagination metadata.
| Parameter | Type | Description |
|---|---|---|
page | integer | |
per_page | integer | |
sort_by | string | |
sort_order | string |
zendesk_add_tag
Add a tag to a Zendesk ticket. Idempotent: adding an existing tag returns the current tag list without modifying the ticket. Returns JSON with ticket_id and current tags.
| Parameter | Type | Description |
|---|---|---|
tag * | string | |
ticket_id * | integer |
zendesk_remove_tag
Remove a tag from a Zendesk ticket. Idempotent: removing a tag that isn't present returns the current tag list without modifying the ticket. Returns JSON with ticket_id and current tags.
| Parameter | Type | Description |
|---|---|---|
tag * | string | |
ticket_id * | integer |
zendesk_list_views
List all active Zendesk views. Returns JSON array of {id, title}.
zendesk_get_view
Get a Zendesk view's definition including filter conditions and execution settings. Returns JSON with id, title, active, conditions, execution.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer |
zendesk_get_view_tickets
Get the tickets currently matching a Zendesk view. Returns JSON array of tickets with essential fields.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer |
zendesk_list_macros
List all active Zendesk macros with their actions. Returns JSON array of {id, title, description, actions: [{field, value}]}.
zendesk_preview_macro
Preview the effect a macro would have (without applying it). Returns the result payload from Zendesk's apply preview endpoint.
| Parameter | Type | Description |
|---|---|---|
macro_id * | integer |
zendesk_apply_macro
Apply a macro to a Zendesk ticket. Fetches the macro preview, applies field changes, and posts any comment included in the macro. Returns JSON with id, status, tags, applied_changes, comment_added.
| Parameter | Type | Description |
|---|---|---|
macro_id * | integer | |
ticket_id * | integer |
zendesk_search_users
Search Zendesk users by name or email. Returns JSON array of {id, name, email, role}.
| Parameter | Type | Description |
|---|---|---|
query * | string |
zendesk_get_groups
List all active Zendesk groups (excluding deleted). Returns JSON array of {id, name}.
zendesk_get_group_users
List the members of a Zendesk group. Returns JSON array of {id, name, email}.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer |
zendesk_get_organization
Fetch a Zendesk organization including its custom fields and tags. Returns JSON with id, name, organization_fields, tags, created_at, updated_at.
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer |
zendesk_list_custom_statuses
List all custom ticket statuses defined in Zendesk. Returns JSON array of {id, agent_label, end_user_label, status_category, active, default}. Use the id when setting custom_status_id on a ticket.