The Zendesk MCP Server is a tool for integrating with Zendesk to manage and interact with tickets through these functions:
Retrieve Tickets: Get tickets by ID and view detailed information including comments
Search Tickets: Find tickets using Zendesk query syntax
Create Tickets: Generate new Zendesk tickets
Update Tickets: Modify properties like status, priority, subject, tags, type, and assignee
Add Notes: Include private internal notes or public comments to tickets
Manage Linked Incidents: Retrieve all incident tickets linked to a particular ticket
Provides tools for retrieving, searching, creating, and updating Zendesk tickets, as well as adding public and private notes to tickets through Zendesk's API.
Zendesk MCP Server
A Model Context Protocol (MCP) server that provides AI assistants like Claude with seamless integration to Zendesk Support. Enables natural language interactions with Zendesk tickets, allowing you to search, create, update, and manage support tickets through conversational AI.
⨠Features
š« Complete Ticket Management: Create, read, update, and search Zendesk tickets
š¬ Comments & Notes: Add public comments and private internal notes
š Advanced Search: Search tickets using Zendesk's powerful query syntax
š Incident Management: Retrieve and manage linked incident tickets
š·ļø Tag Management: Add and manage ticket tags and metadata
š Secure Authentication: Uses Zendesk API tokens for secure access
š Easy Installation: Available via npm, npx, or manual setup
Related MCP server: Azure MCP Server
š Quick Start
Option 1: NPM Installation (Recommended)
Option 2: Use with npx (No Installation)
Option 3: Development Setup
āļø Configuration
Environment Variables
Set these environment variables in your system or MCP client configuration:
Claude Desktop Setup
Add to your Claude Desktop configuration file:
Location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Configuration:
Alternative (if installed globally):
Cursor IDE Setup
Add to ~/.cursor/mcp.json or .cursor/mcp.json in your project:
Other MCP Clients
For other MCP-compatible clients (Cline, Windsurf, etc.), refer to their documentation for MCP server configuration. The server supports standard MCP protocols.
š ļø Available Tools
Tool | Description | Example Usage |
| Retrieve a ticket by ID | "Get ticket #12345" |
| Get detailed ticket with comments | "Show me full details for ticket #67890" |
| Search tickets with query syntax | "Find all urgent tickets from last week" |
| Create a new ticket | "Create a high priority ticket for login issues" |
| Update ticket properties | "Set ticket #555 to solved status" |
| Add internal agent notes | "Add a private note about investigation progress" |
| Add public customer comments | "Reply to customer with solution steps" |
| Get incident tickets linked to problems | "Show incidents related to this problem ticket" |
š¬ Usage Examples
Once configured, you can use natural language with your AI assistant:
Ticket Management
Search & Discovery
Customer Communication
Advanced Queries
š Authentication Setup
1. Generate API Token
Log in to your Zendesk account
Go to Admin Center ā Apps and integrations ā APIs ā Zendesk API
Click Add API token
Add description: "MCP Server Integration"
Click Create and copy the token
Important: Save this token securely - you won't see it again
2. Find Your Subdomain
Your Zendesk URL format: https://YOUR-SUBDOMAIN.zendesk.com
Use YOUR-SUBDOMAIN as the ZENDESK_SUBDOMAIN value.
3. Required Permissions
Ensure your Zendesk user account has:
Agent role (minimum)
Ticket access permissions
API access enabled
š§ Development
Project Structure
Building from Source
Running Locally
Testing
š Troubleshooting
Common Issues
ā "Authentication failed" errors
Verify your API token is correct and hasn't expired
Ensure your email address matches your Zendesk account
Check that your subdomain is spelled correctly (no
.zendesk.comsuffix)
ā "Permission denied" errors
Verify your Zendesk user has Agent permissions or higher
Ensure API access is enabled for your account
Check if your token has the required scopes
ā "Server not found" errors
Ensure you've installed the package:
npm install -g zd-mcp-serverTry using npx instead:
npx zd-mcp-serverCheck that your MCP client configuration file syntax is correct
ā "Environment variables not set" errors
Verify all three environment variables are set:
ZENDESK_EMAIL,ZENDESK_TOKEN,ZENDESK_SUBDOMAINRestart your MCP client after setting environment variables
Check for typos in environment variable names
Debug Mode
Enable debug logging:
Log Files
Check MCP client logs:
Claude Desktop:
~/Library/Logs/Claude/(macOS) or%APPDATA%/Claude/logs/(Windows)Cursor: Check the output panel for MCP server logs
Terminal: Run server directly to see real-time logs
š Advanced Usage
Search Query Syntax
Zendesk search supports powerful query operators:
Batch Operations
While the server doesn't directly support batch operations, you can chain commands:
š¤ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Development Setup
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Reporting Issues
Found a bug? Please open an issue with:
Description of the problem
Steps to reproduce
Expected behavior
Your environment (OS, Node.js version, MCP client)
Relevant log outputs
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Links
Zendesk API Docs: https://developer.zendesk.com/api-reference/
Model Context Protocol: https://modelcontextprotocol.io/
š Support
Issues: GitHub Issues
Zendesk API: Zendesk Developer Documentation
MCP Protocol: MCP Documentation
Made with ā¤ļø for the MCP and Zendesk communities