zendesk-mcp
Enables Zendesk support workflows through tools for semantic ticket search, customer context retrieval, solution version assessment, and daily work summaries.
README
zendesk-mcp
A custom MCP (Model Context Protocol) server for Zendesk support workflows, built with Node + TypeScript
and the official @modelcontextprotocol/sdk.
What it does
Exposes four tools that Claude (or any MCP client) can call:
| Tool | Purpose |
|---|---|
search_similar_tickets |
Semantic search (via an external vector index) + live Zendesk keyword search for similar past issues |
get_customer_context |
Pull a customer's org + full ticket history before responding |
assess_solutions_by_version |
Find past fixes for an issue and check if they apply to the customer's version |
summarize_daily_work |
Roll up a day's Zendesk activity: tickets touched, by status, high-priority follow-ups |
Tool reference
Each tool's parameters are defined by its inputSchema in src/tools/*.ts — that file is the source of truth if this
table drifts. Params are passed as a JSON object matching the schema below.
| Tool | Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|---|
search_similar_tickets |
issue |
string | yes | — | Description of the issue/symptom to search for |
topK |
integer (1-20) | no | 5 |
Max number of similar past tickets to return | |
get_customer_context |
requesterEmail |
string (email) | one of requesterEmail/organization required |
— | Single customer/requester email address |
organization |
string | one of requesterEmail/organization required |
— | Customer organization name, e.g. "Anthology" — pulls tickets for the whole account instead of one contact |
|
assess_solutions_by_version |
issue |
string | yes | — | Issue description to search past solutions for |
customerVersion |
string | yes | — | Customer's current product version, e.g. "8.2.0" |
|
topK |
integer (1-20) | no | 5 |
Max number of past-solution matches to consider | |
summarize_daily_work |
date |
string (YYYY-MM-DD) |
no | today | Day to summarize |
assignee |
string (email) | no | ZENDESK_EMAIL from .env |
Scopes results to this assignee; defaults to you |
Calling a tool through Claude
Describe what you want in plain language — Claude fills in the parameters:
Run summarize_daily_work for 2026-07-20
Search similar tickets for "PDF export hangs on large files", top 10
Get customer context for jane@example.com
Get customer context for the organization Anthology
Calling a tool via raw MCP JSON-RPC
This is the tools/call request the client actually sends (see test-client.mjs for a working example):
{
"method": "tools/call",
"params": {
"name": "summarize_daily_work",
"arguments": {
"date": "2026-07-20",
"assignee": "sophia.banda@nutrient.io"
}
}
}
Omit any optional argument to fall back to its default (e.g. omit date for "today", omit assignee to scope to
ZENDESK_EMAIL).
Calling a tool from a plain terminal (no Claude Code needed)
The server is just a Node process speaking MCP over stdio — any MCP client can talk to it, including a terminal
script. Use run.mjs (loads your real .env, unlike test-client.mjs which uses fake credentials for smoke
testing):
node run.mjs <tool_name> '<json_args>'
# examples
node run.mjs get_customer_context '{"organization":"Anthology"}'
node run.mjs get_customer_context '{"requesterEmail":"jane@example.com"}'
node run.mjs summarize_daily_work '{"date":"2026-07-20"}'
node run.mjs search_similar_tickets '{"issue":"PDF export hangs on large files","topK":10}'
Run npm run build first if you've made source changes — this calls the compiled server in build/, not the
TypeScript source directly.
How it's put together
src/
clients/
zendesk.ts – thin wrapper over the Zendesk REST API (search, tickets, users, orgs)
vectorDb.ts – adapter interface (VectorDb) + a mock implementation + a generic HTTP
implementation, so the real backend can be swapped in via .env only
tools/
searchSimilarTickets.ts
customerInfo.ts
assessSolutions.ts
dailySummary.ts
index.ts – wires everything together and starts the server over stdio
test-client.mjs – a tiny MCP client used to sanity-check the server without wiring it into Claude
Why the adapter pattern for the vector DB
The exact shape of the backing RAG index isn't fixed yet. Rather than hard-coding a client, vectorDb.ts defines
a one-method interface:
interface VectorDb {
search(query: string, topK?: number): Promise<VectorMatch[]>;
}
Everything else in the codebase (the tools) only depends on that interface, not on a specific backend.
VECTOR_DB_PROVIDER=mock in .env gives a fake in-memory index for building and testing end-to-end. Once the
real index's API is known:
- use the built-in
HttpVectorDbif there's a query endpoint in front of it (adjust the request/response shape invectorDb.tsto match the actual API), or - add a new class (e.g.
PineconeVectorDb,QdrantVectorDb) implementing the same interface, and add a case for it invectorDbFromEnv().
No changes needed anywhere else.
Setup
npm install
cp .env.example .env # fill in your Zendesk subdomain/email/API token
npm run build
.env fields:
ZENDESK_SUBDOMAIN/ZENDESK_EMAIL/ZENDESK_API_TOKEN— from Zendesk Admin Center > Apps and integrations > APIs > Zendesk API. Generate a token there and enable token access.VECTOR_DB_PROVIDER—mockto start; switch once you have real connection info.
Running it standalone (for testing)
node test-client.mjs
This spawns the built server, lists its tools, and calls assess_solutions_by_version against the mock vector
data — useful for iterating without wiring the server into an actual MCP client.
Registering it with Claude
Add it to your MCP client config (e.g. Claude Desktop's claude_desktop_config.json, or Claude Code's
.mcp.json):
{
"mcpServers": {
"zendesk-mcp": {
"command": "node",
"args": ["/absolute/path/to/zendesk-mcp/build/index.js"],
"env": {
"ZENDESK_SUBDOMAIN": "your-company",
"ZENDESK_EMAIL": "you@company.com",
"ZENDESK_API_TOKEN": "...",
"VECTOR_DB_PROVIDER": "mock"
}
}
}
}
Notes / open items
(Internal notes — may be stale, keep or prune as they're resolved.)
- The real vector index's query interface isn't confirmed yet (REST endpoint? Python service? direct DB
connection to Pinecone/Qdrant/pgvector/etc). That determines whether
HttpVectorDbworks as-is, needs tweaking, or a new adapter class is needed. - Once wired to the real index, revisit the
metadatashapeassess_solutions_by_versionexpects (fixedInVersion,product,tags) — align it with whatever fields the index actually stores per chunk. - Consider adding a
list_productsorlist_versionstool if there's a canonical version list to validatecustomerVersionagainst. - Add tests (e.g. with
node --test) forcompareVersionsinassessSolutions.ts— it's a naive semver comparator and worth hardening for versions like8.4.2-rc1.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.