koundinya_zd-mcp-server
The Zendesk MCP Integration allows users to manage Zendesk tickets through an MCP server setup, offering functions like retrieving, updating, and searching tickets. It supports integration with tools such as the Claude Desktop app and requires an API token for authentication.
Zendesk MCP Integration Setup Guide
Repository Setup
-
Clone the repository:
git clone https://your-repo-url/mcp-experiments.git cd mcp-experiments/zd-mcp-server
-
Install dependencies:
npm install
-
Configure environment variables in your development environment:
export ZENDESK_EMAIL="your-email@example.com" export ZENDESK_TOKEN="your-zendesk-api-token" export ZENDESK_SUBDOMAIN="your-zendesk-subdomain"
Building the Project
-
Build the TypeScript project:
npm run build
This will compile the TypeScript files into JavaScript in the
dist
directory. -
For development, you can use:
npm run dev
Installing with Claude Desktop App
-
Update the Claude Desktop configuration file (
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" ] } } }
-
Replace the environment variables with your actual Zendesk credentials.
-
Update the path to match the location of your built index.js file.
-
Restart the Claude Desktop application for the changes to take effect.
Available Zendesk Tools
The MCP Zendesk integration provides the following functions:
zendesk_get_ticket
- Retrieves a ticket by IDzendesk_get_ticket_details
- Gets ticket details including commentszendesk_search
- Searches tickets with Zendesk query syntaxzendesk_create_ticket
- Creates a new ticketzendesk_update_ticket
- Updates ticket propertieszendesk_add_private_note
- Adds an internal note to a ticketzendesk_add_public_note
- Adds a public comment to a ticketzendesk_get_linked_incidents
- Retrieves all incident tickets linked to a particular ticket
Authentication Setup
-
Generate an API token in your Zendesk Admin Center:
- Go to Admin Center > Apps and Integrations > APIs > Zendesk API
- Add an API token and copy it
-
Use your email address and the API token in your MCP configuration
Troubleshooting
- If you encounter authorization errors, verify your API token is valid
- Ensure your Zendesk subdomain is correct
- Check that the environment variables are properly set
- Restart the MCP server after making changes