Zendesk MCP 集成设置指南
存储库设置
克隆存储库:
git clone https://your-repo-url/mcp-experiments.git cd mcp-experiments/zd-mcp-server安装依赖项:
npm install在您的开发环境中配置环境变量:
export ZENDESK_EMAIL="your-email@example.com" export ZENDESK_TOKEN="your-zendesk-api-token" export ZENDESK_SUBDOMAIN="your-zendesk-subdomain"
构建项目
构建 TypeScript 项目:
npm run build这会将
dist
目录中的 TypeScript 文件编译为 JavaScript。对于开发,您可以使用:
npm run dev
使用 Claude 桌面应用程序安装
更新 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" ] } } }用您的实际 Zendesk 凭据替换环境变量。
更新路径以匹配构建的 index.js 文件的位置。
重新启动 Claude Desktop 应用程序以使更改生效。
可用的 Zendesk 工具
MCP Zendesk 集成提供以下功能:
zendesk_get_ticket
- 通过 ID 检索票证zendesk_get_ticket_details
- 获取票证详细信息(包括评论)zendesk_search
- 使用 Zendesk 查询语法搜索票证zendesk_create_ticket
- 创建新票据zendesk_update_ticket
- 更新工单属性zendesk_add_private_note
- 向工单添加内部注释zendesk_add_public_note
- 向票证添加公开评论
身份验证设置
在您的 Zendesk 管理中心生成 API 令牌:
转到管理中心 > 应用和集成 > API > Zendesk API
添加 API 令牌并复制
在您的 MCP 配置中使用您的电子邮件地址和 API 令牌
故障排除
如果遇到授权错误,请验证您的 API 令牌是否有效
确保您的 Zendesk 子域名正确
检查环境变量是否设置正确
修改后重启 MCP 服务器
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
服务器实现为 Claude AI 提供了通过检索、搜索、创建和更新票证等各种功能与 Zendesk 票证系统交互的能力。
Related MCP Servers
- -securityAlicense-qualityThis 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.Last updated -27Apache 2.0
- AsecurityAlicenseAqualityEnables natural language interaction with Azure services through Claude Desktop, supporting resource management, subscription handling, and tenant selection with secure authentication.Last updated -9115MIT License
- -securityAlicense-qualityA modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.Last updated -95MIT License
LPS MCPofficial
-securityAlicense-qualityA minimal server that provides Claude AI with secure file system access and sequential thinking capabilities, allowing Claude to navigate directories, read files, and break down complex problems into structured thinking steps.Last updated -1MIT License