Skip to main content
Glama
Zendesk MCP Server

Zendesk MCP Server

by koundinya

Zendesk MCP 集成设置指南

存储库设置

  1. 克隆存储库:

    git clone https://your-repo-url/mcp-experiments.git
    cd mcp-experiments/zd-mcp-server
  2. 安装依赖项:

    npm install
  3. 在您的开发环境中配置环境变量:

    export ZENDESK_EMAIL="your-email@example.com"
    export ZENDESK_TOKEN="your-zendesk-api-token"
    export ZENDESK_SUBDOMAIN="your-zendesk-subdomain"

Related MCP server: Zendesk MCP Server

构建项目

  1. 构建 TypeScript 项目:

    npm run build

    这会将dist目录中的 TypeScript 文件编译为 JavaScript。

  2. 对于开发,您可以使用:

    npm run dev

使用 Claude 桌面应用程序安装

  1. 更新 Claude Desktop 配置文件( claude_desktop_config.json ):

    {
      "tools": {
        "zendesk": {
          "command": "node",
          "env": {
            "ZENDESK_EMAIL": "internal@z3nmail.com",
            "ZENDESK_TOKEN": "your-zendesk-api-token",
            "ZENDESK_SUBDOMAIN": "your-zendesk-subdomain"
          },
          "args": [
            "/path/to/mcp-experiments/zd-mcp-server/dist/index.js"
          ]
        }
      }
    }
  2. 用您的实际 Zendesk 凭据替换环境变量。

  3. 更新路径以匹配构建的 index.js 文件的位置。

  4. 重新启动 Claude Desktop 应用程序以使更改生效。

可用的 Zendesk 工具

MCP Zendesk 集成提供以下功能:

  1. zendesk_get_ticket - 通过 ID 检索票证

  2. zendesk_get_ticket_details - 获取票证详细信息(包括评论)

  3. zendesk_search - 使用 Zendesk 查询语法搜索票证

  4. zendesk_create_ticket - 创建新票据

  5. zendesk_update_ticket - 更新工单属性

  6. zendesk_add_private_note - 向工单添加内部注释

  7. zendesk_add_public_note - 向票证添加公开评论

身份验证设置

  1. 在您的 Zendesk 管理中心生成 API 令牌:

    • 转到管理中心 > 应用和集成 > API > Zendesk API

    • 添加 API 令牌并复制

  2. 在您的 MCP 配置中使用您的电子邮件地址和 API 令牌

故障排除

  • 如果遇到授权错误,请验证您的 API 令牌是否有效

  • 确保您的 Zendesk 子域名正确

  • 检查环境变量是否设置正确

  • 修改后重启 MCP 服务器

Available Tools

7 tools
zendesk_add_private_noteC

Add a private internal note to a Zendesk ticket

Inputs: note (required), ticket_id (required).

zendesk_add_public_noteB

Add a public comment to a Zendesk ticket

Inputs: comment (required), ticket_id (required).

zendesk_create_ticketB

Create a new Zendesk ticket

Inputs: description (required), subject (required), priority, status, +2 more.

zendesk_get_ticketC

Get a Zendesk ticket by ID

Inputs: ticket_id (required).

zendesk_get_ticket_detailsC

Get detailed information about a Zendesk ticket including comments

Inputs: ticket_id (required).

zendesk_update_ticketB

Update a Zendesk ticket's properties

Inputs: ticket_id (required), assignee_id, priority, status, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 7 tools

    Disambiguation3/5

    Most tools have distinct purposes, but there is notable overlap between 'zendesk_get_ticket' and 'zendesk_get_ticket_details'—both retrieve ticket information, which could confuse agents about which to use for basic vs. detailed data. The other tools are clearly differentiated by their actions (create, update, search, add notes).

    Naming Consistency5/5

    All tool names follow a consistent 'zendesk_verb_noun' pattern with snake_case, using clear verbs like 'add', 'create', 'get', 'search', and 'update'. This predictability makes it easy for agents to understand and navigate the toolset.

    Tool Count5/5

    With 7 tools, the server is well-scoped for managing Zendesk tickets, covering core operations like create, read, update, search, and adding notes. This count is appropriate, avoiding bloat while providing essential functionality for the domain.

    Completeness4/5

    The toolset covers key CRUD and lifecycle aspects for Zendesk tickets, including creation, retrieval, updating, searching, and adding notes. A minor gap is the lack of a tool to delete tickets, but this is often intentional in support systems, and agents can work around it.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      This server provides a comprehensive integration with Zendesk. Retrieving and managing tickets and comments. Ticket analyzes and response drafting. Access to help center articles as knowledge base.
      7
      126
      Apache 2.0
    • F
      license
      C
      quality
      D
      maintenance
      A comprehensive server that allows users to interact with the Zendesk API, providing tools and resources for managing Zendesk Support, Talk, Chat, and Guide products including tickets, users, organizations, and more.
      49
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to search tickets, manage tags, create tickets, inspect automations, and more in Zendesk.
      MIT