
Zendesk
io.github.mindstone由 GitHub 账号 mindstone 发布v0.4.1更新于 Oct 24, 2026
Zendesk MCP server for Model Context Protocol hosts
概览
让助手在本地 MCP 主机中搜索、读取、创建和更新 Zendesk Support 工单、用户、评论、宏和帮助中心文章。
- 可以做什么
- 这是一个本地 stdio MCP 服务器,面向 Zendesk Support,提供 26 个工具,覆盖工单、用户、评论、宏、视图、组织、帮助中心文章和满意度评分。它可以搜索和导出工单、获取工单详情与评论线程、创建或更新工单、添加公开回复或内部备注、管理用户,以及预览或应用宏。外部编写的工单文本在展示给模型前会被包裹在不可信内容信封中。
- 适用场景
- 适合希望助手在桌面 MCP 主机中分诊、总结和跟进 Zendesk 工单的支持团队。典型场景包括查找高优先级未关闭工单、获取最新上下文,以及起草或添加评论。
- 运行要求
- 通过 npx 或 Node.js 20+ 与 npm 在本地运行。需要一个由 ZENDESK_CONFIG_PATH 指定的配置目录,其中 accounts.json 包含子域名、邮箱和 API 令牌,或 OAuth 凭据。可选的 ZENDESK_CLIENT_ID 和 ZENDESK_CLIENT_SECRET 用于旧版令牌刷新。仅限桌面端;需要访问 Zendesk API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Zendesk,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@mindstone/mcp-server-zendesk
[npm version] [License: FSL-1.1-MIT]
Zendesk Support MCP server — tickets, users, comments, macros, account setup, and support-workflow discovery through a standard stdio MCP package.
Best for support teams that want an assistant to triage, summarize, and update Zendesk tickets from a local MCP host.
Status
- Version: 0.4.1 · npm
- Auth: Hybrid (API token or OAuth) (
ZENDESK_CLIENT_SECRET) - Tools: 26 (tickets, users, comments, macros, views, help center, satisfaction)
- Surface: cloud-api
- Machine-readable:
STATUS.json
Why this exists
Zendesk has announced its own MCP client and server experiences for broader platform integration. This package is for MCP hosts that want a local Zendesk Support connector they can install and run directly.
It helps an assistant do the support work humans usually ask for: find urgent tickets, pull the latest context, draft or add comments, apply macros, look up users and organizations, and inspect support setup. The benefit is faster ticket triage and follow-up while treating customer-authored ticket text as something to quote and summarize, not as instructions to obey.
Example interaction
"Find high-priority open Zendesk tickets and show me the latest details for the first one."
Tools the host calls:
search_zendesk_tickets— searchestype:ticket status:open priority:highand returns ticket summaries.get_zendesk_ticket— fetches the selected ticket, including wrapped subject and description text.
Response (trimmed):
Requirements
- Node.js 20+
- npm
One-click install
[Add to Cursor] [Add to VS Code] [Add to VS Code Insiders]
After clicking the button, your host will prompt you to fill: ZENDESK_CONFIG_PATH, ZENDESK_CLIENT_SECRET.
Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Zendesk)
Quick Start
Install & build
npx (once published)
Local
Configuration
Environment variables
ZENDESK_CONFIG_PATH— path to the config directory that containsaccounts.jsonandcredentials/ZENDESK_CLIENT_ID— OAuth client ID used to renew sign-ins whose token file doesn't carry its ownclient_id; read when a refresh happensZENDESK_CLIENT_SECRET— only for confidential OAuth clients, and only sent together withZENDESK_CLIENT_ID; public (PKCE) clients need noneMCP_HOST_BRIDGE_STATE— optional path to a host bridge state file used for credential managementMINDSTONE_REBEL_BRIDGE_STATE— backwards-compatible alias forMCP_HOST_BRIDGE_STATE
Authentication
Each account uses one of two kinds of credential. For a given subdomain, an OAuth sign-in wins over an API token.
OAuth sign-in (preferred). The host app runs the Zendesk sign-in (for example, an authorization-code flow with PKCE) and writes the result to credentials/<subdomain>.token.json under ZENDESK_CONFIG_PATH, owner-only (0600):
expires_at is a millisecond timestamp. client_id and scope are optional; when present, refreshes use that client and ask for the same scope.
The connector renews the access token itself, within five minutes of expiry or after a 401:
- It sends a JSON request to
https://<subdomain>.zendesk.com/oauth/tokenswith the refresh token and the client id (the token file'sclient_id, elseZENDESK_CLIENT_ID). No client secret is needed for a public client. - Concurrent tool calls share one refresh, and the token file is re-read first, so a token renewed by another process is used rather than spent again.
- The rotated refresh token is saved by replacing the file atomically, and only if the file still holds the refresh token that was just spent. A token file that was removed while a refresh was running (the account was disconnected) is not recreated, and one replaced by a new sign-in is kept and used instead.
- If the renewed token can't be saved (a full or read-only disk), the connector keeps using it in memory and doesn't send the spent refresh token again;
list_zendesk_accountsshows awarningon that account until the file changes. After a restart, the account may need to sign in again. - If Zendesk refuses the refresh token (
invalid_grant,invalid_client,unauthorized_client), or there is no client id, tool calls fail withAUTH_FAILEDand "Reconnect Zendesk…", andlist_zendesk_accountsreportsreconnect-required. The token file is kept; signing in again replaces it. - A temporary failure (server error, rate limit, network) returns
AUTH_REFRESH_FAILED("try again in a moment") once the access token has expired; the next call tries again.
API token. An entry with subdomain, email and apiToken in accounts.json (see below), sent as HTTP Basic auth. API tokens don't expire, so they are always active.
Standalone config directory
To use an API token, create a config directory and accounts.json file:
Host configuration examples
Claude Desktop / Cursor
Local development (no npm publish needed)
Mindstone Rebel
Tools (26)
Account management
list_zendesk_accounts— List connected accounts with auth statusremove_zendesk_account— Disconnect a Zendesk accountauthenticate_zendesk_account— Connect using API token
Tickets
search_zendesk_tickets— Search with Zendesk query syntax (max 1000 results)export_zendesk_tickets— Cursor-based export with no 1000-result limitget_zendesk_ticket— Get single ticket by IDget_zendesk_tickets_by_ids— Batch-fetch multiple ticketscreate_zendesk_ticket— Create a new ticketupdate_zendesk_ticket— Update ticket fields, status, or add comment
Users
search_zendesk_users— Search by name, email, or queryget_zendesk_user— Get user by IDcreate_or_update_zendesk_user— Create a user or update the one with the same email
Comments
list_zendesk_ticket_comments— List conversation thread with author resolutionadd_zendesk_ticket_comment— Add public reply or internal note
Discovery
list_zendesk_groups— List agent groupslist_zendesk_ticket_fields— List ticket fields including custom fieldslist_zendesk_views— List saved ticket viewslist_zendesk_view_tickets— Execute a view and list its ticketslist_zendesk_organizations— List organizationsget_zendesk_organization— Get a single organization by ID
Macros
list_zendesk_macros— List or search macrosget_zendesk_macro— Get macro detailsapply_zendesk_macro— Preview and apply macro to ticket
Help Center
search_zendesk_help_center_articles— Search knowledge-base articlesget_zendesk_help_center_article— Read a full Help Center article
Satisfaction
list_zendesk_satisfaction_ratings— List CSAT ratings with score/date filters
Security notes
- Zendesk API-token credentials live in
accounts.json; OAuth credentials are read fromcredentials/*.token.jsonunderZENDESK_CONFIG_PATH. Renewed tokens are written to a 0600 temp file in the same folder and renamed into place; token files are never deleted on a failed refresh. - Access tokens, refresh tokens and the token endpoint's error descriptions are never logged; only HTTP status and OAuth error codes are.
- Host bridge calls, when configured, go to
127.0.0.1using the token fromMCP_HOST_BRIDGE_STATE. - Ticket subjects, descriptions, comment bodies, user/org/group/macro/view/field text, and other externally authored strings are wrapped in
<untrusted-content source="...">...</untrusted-content>envelopes with close-tag escaping before model exposure. - Ticket exports that write files are constrained to the system temp directory (symlink-safe canonical containment) and are created inside a fresh private per-export directory with owner-only permissions — only the requested file name is honoured, the full path is returned as
file_path, and pre-existing files are never touched.export_zendesk_ticketsandget_zendesk_tickets_by_idsare annotated as non-read-only because they can write local export files. - Email inputs are validated for format and phone inputs for E.164 before any network call; numeric IDs and pagination parameters must be positive integers.
- Account removal, ticket updates, ticket comments, and macro application are marked so capable hosts can ask before changing support data.
Smoke test
Ask your MCP host to run:
List my open Zendesk tickets
If that fails, confirm that:
dist/index.jsexists (runnpm run build)ZENDESK_CONFIG_PATHpoints to a readable directoryaccounts.jsoncontains a valid subdomain, email, and API token
Troubleshooting
Licence
FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
来源:connectors/zendesk/README.md,提交 9b9aa57
工具
0版本历史
1- v0.4.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。