Zendesk Model Context Protocol Server

0.5.0 · active · verified Sun Apr 19

The `zd-mcp-server` package provides a Model Context Protocol (MCP) server designed to integrate AI assistants, such as Claude or Cursor, with Zendesk Support. It enables conversational AI to interact with Zendesk tickets, facilitating operations like creating, reading, updating, and searching tickets, adding public comments or private internal notes, and managing ticket tags. The current stable version is 0.5.0, indicating a pre-1.0 development stage, likely with an agile release cadence focused on feature development and stability improvements. Its key differentiator is providing a standardized MCP interface to Zendesk, abstracting the Zendesk API complexities for AI agents, and simplifying setup for popular AI clients. It leverages Zendesk API tokens for secure access.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to quickly set up and run the `zd-mcp-server` using `npx`, including essential environment variable configuration and an example of client-side integration JSON.

// 1. Ensure Node.js version 18 or higher is installed.

// 2. Set your Zendesk API credentials as environment variables.
//    These are crucial for the server to authenticate with Zendesk.
//    export ZENDESK_EMAIL="your-email@company.com"
//    export ZENDESK_TOKEN="your-zendesk-api-token"
//    export ZENDESK_SUBDOMAIN="your-company" // E.g., for 'your-company.zendesk.com'

// 3. Launch the server directly using npx.
//    This command starts the MCP server, making it available for AI clients
//    to connect to. Ensure your environment variables are set in the terminal
//    where you execute this command.
// npx -y zd-mcp-server

// Example of how to configure an AI client (e.g., Claude Desktop) to use this server.
// This JSON snippet would be placed in your AI client's configuration file.
const claudeDesktopConfigExample = {
  "mcpServers": {
    "zendesk": {
      "command": "npx",
      "args": ["-y", "zd-mcp-server"],
      "env": {
        "ZENDESK_EMAIL": process.env.ZENDESK_EMAIL ?? "placeholder@example.com",
        "ZENDESK_TOKEN": process.env.ZENDESK_TOKEN ?? "YOUR_ZENDESK_API_TOKEN",
        "ZENDESK_SUBDOMAIN": process.env.ZENDESK_SUBDOMAIN ?? "your-subdomain"
      }
    }
  }
};

console.log("To run the server, execute: npx -y zd-mcp-server");
console.log("Alternatively, integrate it by adding the above JSON structure to your AI client's MCP configuration.");

view raw JSON →