Zendesk

io.github.mindstone由 GitHub 帳號 mindstone 發布v0.4.1更新於 Oct 24, 2026

Zendesk MCP server for Model Context Protocol hosts

概覽

AI 產生的概覽

讓助理在本地 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 的網路存取。
安裝前請注意
設定目錄中的 accounts.json 儲存 Zendesk API 權杖,credentials 檔案儲存 OAuth 權杖,ZENDESK_CLIENT_SECRET 是機密。工具可以建立和更新工單、新增公開回覆或內部備註、建立或更新使用者、套用巨集以及移除帳戶,這些操作會變更支援資料,具備相應能力的主機可能會要求確認。工單匯出會寫入本機檔案,且限制在私有暫存目錄中。工單和使用者文字屬於外部內容,應視為資料而非指令。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Zendesk,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

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:

  1. search_zendesk_tickets — searches type:ticket status:open priority:high and returns ticket summaries.
  2. get_zendesk_ticket — fetches the selected ticket, including wrapped subject and description text.

Response (trimmed):

json
{  "ok": true,  "ticket": {    "id": 12345,    "status": "open",    "priority": "high",    "subject": "<untrusted-content source=\"external-ticket\">Login issue</untrusted-content>",    "description": "<untrusted-content source=\"external-ticket\">Customer cannot access the admin dashboard.</untrusted-content>"  }}

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)
json
{  "mcpServers": {    "Zendesk": {      "command": "npx",      "args": [        "-y",        "@mindstone/mcp-server-zendesk"      ],      "env": {        "ZENDESK_CONFIG_PATH": "~/.mcp/zendesk",        "ZENDESK_CLIENT_SECRET": ""      }    }  }}

Quick Start

Install & build

bash
cd <path-to-repo>/connectors/zendesknpm installnpm run build

npx (once published)

bash
npx -y @mindstone/mcp-server-zendesk

Local

bash
node dist/index.js

Configuration

Environment variables

  • ZENDESK_CONFIG_PATH — path to the config directory that contains accounts.json and credentials/
  • ZENDESK_CLIENT_ID — OAuth client ID used to renew sign-ins whose token file doesn't carry its own client_id; read when a refresh happens
  • ZENDESK_CLIENT_SECRET — only for confidential OAuth clients, and only sent together with ZENDESK_CLIENT_ID; public (PKCE) clients need none
  • MCP_HOST_BRIDGE_STATE — optional path to a host bridge state file used for credential management
  • MINDSTONE_REBEL_BRIDGE_STATE — backwards-compatible alias for MCP_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):

json
{  "access_token": "…",  "refresh_token": "…",  "expires_in": 1800,  "expires_at": 1767225600000,  "token_type": "bearer",  "subdomain": "acme",  "email": "[email protected]",  "client_id": "your-oauth-client-id",  "scope": "read write"}

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/tokens with the refresh token and the client id (the token file's client_id, else ZENDESK_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_accounts shows a warning on 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 with AUTH_FAILED and "Reconnect Zendesk…", and list_zendesk_accounts reports reconnect-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:

bash
mkdir -p ~/.mcp/zendeskcat > ~/.mcp/zendesk/accounts.json <<'EOF'{  "accounts": [    {      "subdomain": "yourcompany",      "email": "[email protected]",      "apiToken": "your-zendesk-api-token"    }  ],  "defaultSubdomain": "yourcompany"}EOF

Host configuration examples

Claude Desktop / Cursor

json
{  "mcpServers": {    "Zendesk": {      "command": "npx",      "args": ["-y", "@mindstone/mcp-server-zendesk"],      "env": {        "ZENDESK_CONFIG_PATH": "~/.mcp/zendesk"      }    }  }}

Local development (no npm publish needed)

json
{  "mcpServers": {    "Zendesk": {      "command": "node",      "args": ["<path-to-repo>/connectors/zendesk/dist/index.js"],      "env": {        "ZENDESK_CONFIG_PATH": "~/.mcp/zendesk"      }    }  }}

Mindstone Rebel

json
"Zendesk": {  "name": "Zendesk",  "type": "stdio",  "command": "node",  "args": ["<path-to-repo>/connectors/zendesk/dist/index.js"],  "env": {    "ZENDESK_CONFIG_PATH": "~/Library/Application Support/mindstone-rebel/mcp/zendesk",    "MCP_HOST_BRIDGE_STATE": "~/Library/Application Support/mindstone-rebel/mcp/rebel-inbox-bridge.json"  },  "description": "Zendesk support tickets...",  "catalogId": "bundled-zendesk"}

Tools (26)

Account management

  • list_zendesk_accounts — List connected accounts with auth status
  • remove_zendesk_account — Disconnect a Zendesk account
  • authenticate_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 limit
  • get_zendesk_ticket — Get single ticket by ID
  • get_zendesk_tickets_by_ids — Batch-fetch multiple tickets
  • create_zendesk_ticket — Create a new ticket
  • update_zendesk_ticket — Update ticket fields, status, or add comment

Users

  • search_zendesk_users — Search by name, email, or query
  • get_zendesk_user — Get user by ID
  • create_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 resolution
  • add_zendesk_ticket_comment — Add public reply or internal note

Discovery

  • list_zendesk_groups — List agent groups
  • list_zendesk_ticket_fields — List ticket fields including custom fields
  • list_zendesk_views — List saved ticket views
  • list_zendesk_view_tickets — Execute a view and list its tickets
  • list_zendesk_organizations — List organizations
  • get_zendesk_organization — Get a single organization by ID

Macros

  • list_zendesk_macros — List or search macros
  • get_zendesk_macro — Get macro details
  • apply_zendesk_macro — Preview and apply macro to ticket

Help Center

  • search_zendesk_help_center_articles — Search knowledge-base articles
  • get_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 from credentials/*.token.json under ZENDESK_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.1 using the token from MCP_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_tickets and get_zendesk_tickets_by_ids are 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.js exists (run npm run build)
  • ZENDESK_CONFIG_PATH points to a readable directory
  • accounts.json contains a valid subdomain, email, and API token

Troubleshooting

SymptomLikely causeFix
Connector fails to startNot built yetRun npm install && npm run build
Auth error or empty resultsWrong config path or invalid credentialsCheck ZENDESK_CONFIG_PATH and accounts.json
AUTH_FAILED with "Reconnect Zendesk"The OAuth sign-in was revoked, expired from disuse, or has no client id to renew withSign in to Zendesk again from the host app
AUTH_REFRESH_FAILEDZendesk couldn't be reached to renew the sign-inTry again in a moment
MCP host reports protocol issuesStdout noise in stdio sessionEnsure no console.log calls (all logging uses console.error)

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。