
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@fruggr/zendesk-mcp-server
Advanced tools
Deep Zendesk MCP server for your AI assistant: search, draft, update and translate Help Center articles and manage Support tickets end to end — comments, triage and image attachments.
Bring Zendesk deep into your AI assistant. A Model Context Protocol (MCP) server: find answers in the Help Center, draft, update and translate articles (keeping languages in sync), and manage Support tickets end to end — comments, triage and image attachments — all in plain language, without switching apps.
Think of it as the Zendesk agent for Microsoft 365 Copilot, but vendor-neutral — it drops into any MCP client (Claude Desktop, Claude Code, Cursor, VS Code, …) instead of being tied to one assistant — and it always acts with each user's own Zendesk permissions, never a shared admin key.
Ask in natural language; the assistant figures out context and intent, then calls the right tools on your behalf:
Because it runs on the user's own OAuth session, the assistant only ever sees and touches what that person is allowed to — the same scoping you'd get signing into Zendesk directly.
Most Zendesk integrations use a shared admin API key, giving every user full access to every ticket, and bolt on a fixed set of tools. This server is built differently:
@modelcontextprotocol/sdk plus zod.Under the hood it speaks to the Zendesk Support & Help Center (Guide) APIs, runs locally over stdio or as a private remote MCP server over HTTP, and ships fine-grained tool-visibility controls — the specifics are below.
Ticket image attachments are returned as native MCP multimodal content, so the
assistant's own model (Claude, GPT, Gemini, …) sees the pixels directly. There is
no server-side vision model and no extra API key — the opposite of servers
that expose an analyze_ticket_images-style tool calling a vision model with the
operator's own key.
| This server | Server-side-analysis alternatives | |
|---|---|---|
| Who sees the image | The client's own model receives the pixels as multimodal input | The server calls a vision model with its own API key |
| Extra dependencies | None | Vision-model API key + billing on the server |
| Vendor neutrality | ✅ Full | ❌ Locked to one provider |
Non-image attachments come back as text references. The per-image size cap and the
number of embedded images are configurable — see
ZENDESK_MAX_ATTACHMENT_BYTES
and ZENDESK_MAX_EMBEDDED_IMAGES.
Reach for it when:
npx-installable server with no extra infrastructure, or you want to deploy it as a private remote MCP server that web/native clients reach over HTTP — each MCP client still carries its own user's OAuth token.Look elsewhere when:
No API-token authentication. This server is OAuth 2.1 PKCE only — there is no ZENDESK_EMAIL + ZENDESK_API_TOKEN (Basic auth) mode, in any transport. This is a deliberate design choice:
If you specifically need an API-token / service-account mode (e.g. headless CI with a shared account), use one of the other Zendesk MCP servers that support it — see Inspiration & related projects.
| Persona | Transport | Auth | Quick start |
|---|---|---|---|
| Run it on your laptop — single user, plugged into Claude Desktop / Claude Code / VS Code | stdio (default) | OAuth 2.1 PKCE in your browser | Quick start: local |
| Deploy a private remote MCP server — one server per Zendesk account, each MCP client carries its own user's OAuth token | http | Per-user OAuth 2.1 PKCE bearer in Authorization: header | Quick start: remote |
The server registers tools in one of three modes, controlled by --mode:
| Mode | Tools exposed | Best for |
|---|---|---|
all | Every operation as its own tool (get_ticket, search_articles, ...) | Clients with good tool selection, full granularity |
namespace (default) | One proxy tool per namespace (zendesk_tickets, zendesk_help_center, zendesk_users) | Balanced context usage, grouped operations |
single | A single proxy tool (zendesk) | Minimal context footprint, single entry point |
In namespace and single modes, the proxy tool accepts { "operation": "<tool_name>", "params": { ... } } and dispatches to the appropriate handler after validating params through the original Zod schema. Proxy descriptions include only the first sentence of each sub-operation to stay compact; the full schema is applied when the operation is actually called.
Tip: The
singlemode is particularly useful for models with limited tool slots — one tool handles every operation.
--namespace and --read-only apply to every mode (including the default namespace mode) — they filter tools before the proxies are built, so the description of each proxy reflects only the operations that survive the filters. Combine them to register a focused surface:
# Only the Help Center proxy, only read-only operations
zendesk-mcp-server acme --namespace help_center --read-only
# Only the Tickets proxy (read + write)
zendesk-mcp-server acme --namespace tickets
--namespace is repeatable. --tool is also available for cherry-picking individual operations but forces --mode all.
The tools are grouped into four namespaces — Tickets, Help Center,
Users & Organizations, and Search — each of which you can enable
selectively with --namespace (see Tool modes).
The full tool-by-tool reference — every tool with its description and its
read/write mode — lives in
docs/mcp-tools-reference.md.
Beyond tools, the server hands an LLM the structural context it needs to work
against your Help Center — so it stops guessing locales or fuzzy-matching
section names and uses real IDs instead. This is delivered through MCP-native
channels (all active only when the help_center namespace is), each fetched
with the caller's own token so it respects that user's read permissions:
instructions (sent on initialize): a short, static blob auto-loaded by
compliant clients. It names the subdomain and points at the topology resource.zendesk-hc://topology (a pull-only MCP resource):
read on demand, it returns Markdown describing the active locales (and the
default), the category → section tree with IDs, the visibility user segments,
the permission groups, and the calling user's role. Listing the permission
groups and user segments needs Guide-admin / Help Center manager rights; with a
content-editor token those two sections are marked unavailable (not empty) and
the rest still renders — reuse those IDs from an existing article (get_article)
instead. On a very large Help Center the section tree is summarized (per-category,
with a pointer to list_sections) to stay concise.zendesk-hc://article/{id} (pull-only MCP resources):
two distinct capabilities. Read-by-id — any article id can be read on demand,
returned as Markdown (a cheap single fetch, no preloading). Promoted pre-listing —
the resource's listing surfaces the promoted (featured) articles so a user can
pin one in clients that support resource pinning / @-mention, and the companion
list_promoted_articles tool returns the same set. Clients that don't support
resources ignore these silently.
resources/list
calls coalesce); the list_promoted_articles tool performs a fresh scan on every
call. It runs only on a client's resources/list or a tool call, never at connect,
and consumes no LLM context until an article is pinned/read. Read-by-id costs one
fetch, only when a specific article is opened. See
ZENDESK_ARTICLE_RESOURCES_SCAN_MAX_PAGES.The instructions blob and the topology resource are toggled together with
--no-topology. The promoted pre-listing is toggled independently with
--no-promoted-articles — which turns off the resource list scan and the
list_promoted_articles tool, so the server makes zero preloading requests;
reading a known article by id stays available (it never preloads). Clients that
don't consume instructions or resources simply ignore them — the feature
degrades silently. The zendesk-hc:// URI scheme is the default; a deployer can
brand it with
--hc-resource-scheme / HC_RESOURCE_SCHEME
(e.g. wiki → wiki://topology, wiki://article/{id}).
package.json#engines.node)Contributors and maintainers run the toolchain on a newer Node + pnpm — see Development.
The default mode. One developer, one Zendesk account, OAuth 2.1 PKCE in the browser.
# Run without installing
npx -y @fruggr/zendesk-mcp-server <your-subdomain>
# Or install globally
npm install -g @fruggr/zendesk-mcp-server
zendesk-mcp-server <your-subdomain>
Cloning from source and running a development branch is covered in the Development section.
<your-subdomain>_zendesk (or set ZENDESK_OAUTH_CLIENT_ID)http://localhost:27439/callback (change the port to match
ZENDESK_OAUTH_CALLBACK_PORT / --callback-port if you override it; Zendesk
accepts several redirect URLs, one per line)zendesk-mcp-server <your-subdomain>
On the first tool call, the server starts the sign-in flow: it opens a browser window and returns a tool message containing the authorize URL. The call does not block waiting for sign-in — authenticate in the browser (or open the URL manually if it didn't open), then retry the request.
Once authenticated, the token is persisted to disk (one owner-only 0600
file per subdomain in your OS config dir —
%APPDATA%\fruggr\zendesk-mcp-server\<subdomain>.json on Windows,
${XDG_CONFIG_HOME:-~/.config}/fruggr/zendesk-mcp-server/<subdomain>.json
elsewhere; override the path with ZENDESK_TOKEN_FILE). It is reused across restarts, so you don't
re-authenticate every time the MCP client respawns the server. If the Zendesk
OAuth client has token expiration enabled, the stored refresh token is used to
renew access silently — proactively (the token is refreshed before use when
it's expired, near expiry, or of unknown age, so the first request after an
overnight gap never hits a visible auth error) and periodically in the
background so a long-lived, idle session never serves a stale token. Only an
expired/invalid refresh token triggers a new browser sign-in.
Port conflict? If port
27439is already in use the first tool call returns a clear error telling you to setZENDESK_OAUTH_CALLBACK_PORT(or--callback-port) to a free port — remember to register the matchinghttp://localhost:<port>/callbackredirect URL in your Zendesk OAuth client.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"zendesk": {
"command": "npx",
"args": ["-y", "@fruggr/zendesk-mcp-server", "<your-subdomain>", "--mode", "single"]
}
}
}
claude mcp add zendesk -- npx -y @fruggr/zendesk-mcp-server <your-subdomain> --mode single
Add to your .vscode/mcp.json:
{
"servers": {
"zendesk": {
"command": "npx",
"args": ["-y", "@fruggr/zendesk-mcp-server", "<your-subdomain>", "--mode", "single"]
}
}
}
🧪 Experimental. The HTTP transport is shipped but not yet exercised end-to-end against a real Zendesk tenant from every MCP client — local stdio is the supported path.
You can also deploy a private remote MCP server for one Zendesk account, where
every MCP client presents its own user's OAuth bearer in Authorization: (the
server never sees a shared admin key). The full guide — OAuth setup, --public-url
behind a reverse proxy, per-platform config, discovery endpoints, MCP client
wiring, CORS and operator responsibilities — is in
docs/http-deployment.md.
The complete reference for the CLI flags (--mode, --namespace, --read-only,
--transport, --public-url, …) and the environment variables (ZENDESK_SUBDOMAIN,
ZENDESK_TOKEN_FILE, PUBLIC_URL, the attachment-vision caps, …) lives in
docs/configuration.md — with a per-variable anchor so
you can deep-link a specific setting.
The server uses per-user OAuth 2.1 PKCE for every transport (local stdio and remote HTTP). There is no static API-token mode — see What this server does not do.
Browser not opening during OAuth login, the callback port already in use, having
to re-authenticate every time, and where each client writes the server's stderr
are covered in docs/troubleshooting.md. Restart
with LOG_LEVEL=debug for the full OAuth flow trace.
Setting up the repo, the toolchain (Node 24 + pnpm 11), dev mode and how to test
a PR branch are covered in CONTRIBUTING.md.
Architecture and code-style conventions live in AGENTS.md.
This project was built with reference to:
Versions follow SemVer and are calculated automatically from commit messages — no one bumps the version by hand. Every merge to main triggers semantic-release, which inspects the new Conventional Commits since the previous tag, computes the next version, updates CHANGELOG.md, publishes to npm, creates the matching GitHub Release, and mirrors the release into the official MCP registry as io.github.fruggr/zendesk-mcp-server so registry-driven clients discover the new version automatically.
| Commit type | Resulting bump |
|---|---|
fix:, perf: | patch |
feat: | minor |
feat!:, fix!:, or a BREAKING CHANGE: footer | major |
docs:, chore:, refactor:, test:, ci:, style:, build: | no release |
Do I need a Zendesk admin API key? No — and the server doesn't support one. The OAuth 2.1 PKCE flow means each user authenticates with their own credentials and the server acts with exactly their permissions. Static API tokens are intentionally unsupported (see What this server does not do).
Which Zendesk products are supported? Zendesk Support (tickets, users, organizations) and the Help Center / Guide (articles, sections, categories, translations, labels, content tags, segments, attachments). Talk, Explore, and Sell are out of scope.
How do I keep the model's context small?
Use --mode single (one zendesk tool) or --mode namespace (three proxies),
and --read-only to drop write operations. For big articles, the section-based
tools (get_article_outline, get_article_section, update_article_section)
let the model touch one section at a time instead of the whole HTML body.
Can I restrict it to read-only?
Yes — pass --read-only and every write tool is filtered out before the proxies
are built, in any mode.
Which Node.js version do I need?
Node.js >= 20 to run the published package (engines.node). The dev toolchain
uses a newer Node — see Development.
The OAuth browser window didn't open. What now?
The authorization URL is also printed to stderr — open it manually. Restart with
LOG_LEVEL=debug for the full flow trace. See
Troubleshooting.
Is it safe to run via npx?
Releases are published from CI via npm Trusted Publishing (OIDC), so each version
carries a build provenance attestation you can verify on its
npm page. No secrets
are ever logged by the server.
Pull requests are welcome — including AI-assisted ones, as long as the human author has read and validated every line.
The full guide is in CONTRIBUTING.md. The short version:
main.pnpm check, pnpm typecheck, and pnpm test pass locally.Every PR is reviewed automatically by CodeRabbit in CI, on top of the author-side AI review. The project is maintained in part with Claude Code assistance; that workflow is documented in CONTRIBUTING.md.
Built and maintained by Digital4better for the Fruggr project.
FAQs
Deep Zendesk MCP server for your AI assistant: search, draft, update and translate Help Center articles and manage Support tickets end to end — comments, triage and image attachments.
The npm package @fruggr/zendesk-mcp-server receives a total of 651 weekly downloads. As such, @fruggr/zendesk-mcp-server popularity was classified as not popular.
We found that @fruggr/zendesk-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.