Tickets MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tickets MCP Server create a high-priority ticket titled "Checkout page returns 500 error""
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-template
A small, production-minded starting point for a Model Context Protocol server in TypeScript.
Most MCP examples stop at "hello world". This one shows the decisions that matter once agents call your tools for real:
Swappable backend. Tools depend on a
Backendinterface, not on HTTP. The repo ships an in-memory store (used by default and in tests) and a REST adapter; replace either with your own API client without touching tool code.Errors the model can act on. Failures come back as tool results with
isError: trueand a message that says what to do next ("not found, uselist_ticketsto find valid ids"), not as protocol errors that end the call.Validated, described inputs. Zod schemas with bounds (
limit1–100, titles of 3–200 characters) and per-field descriptions, so bad calls are rejected before they reach the backend and the model knows what each argument means.Honest tool annotations.
readOnlyHint,idempotentHintanddestructiveHintare set per tool, so clients can auto-approve reads and ask before writes.Text and structured output. Each result carries a short text summary for the model and
structuredContentfor clients that render or chain results.Server instructions and a resource. The server tells the agent how its tools fit together, and exposes reference docs as an MCP resource.
Tests without a network. The whole client–server round trip runs over the SDK's in-memory transport.
Layout
src/
backend.ts Backend interface + InMemoryBackend + HttpBackend
tools/tickets.ts Tool definitions: schemas, annotations, error handling
server.ts createServer(backend): tools + resources, no transport
index.ts stdio entry point; picks the backend from env
test/
server.test.ts In-memory client ↔ server testsThe example domain is a minimal ticket tracker (list_tickets, get_ticket, create_ticket). Rename it to your domain and keep the structure.
Related MCP server: Support Triage MCP
Run it
npm install
npm test
npm run inspect # opens the MCP Inspector against the server
npm run buildUse it from Claude Code:
claude mcp add tickets -- node /absolute/path/to/mcp-server-template/dist/index.jsPoint it at a real API instead of the in-memory store:
claude mcp add tickets -e API_BASE_URL=https://api.example.com -e API_TOKEN=… -- node /absolute/path/to/dist/index.jsAdding a tool
Add the method to
Backendand implement it in both adapters.Register the tool in
src/tools/with a description written for the model, bounded Zod inputs and accurate annotations.Return
ok(text, structured)orfail(message). Never throw out of a handler.Add a test in
test/server.test.tsthat goes through the client.
License
MIT
Available Tools
3 toolscreate_ticketCreate ticketB
Create a new ticket in status "open". Not idempotent: calling twice creates two tickets.
Inputs: title (required), description.
get_ticketGet ticketARead-only
Get one ticket with its full description. Use list_tickets first if you do not know the id.
Inputs: id (required).
list_ticketsList ticketsARead-only
List tickets, optionally filtered by status or a text query over title and description. Returns at most limit results.
Inputs: limit, query, status.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool maps to a distinct operation on a single resource: listing collections, fetching one by id, and creating a new record. The descriptions even give guidance on sequencing (use list_tickets to find the id before get_ticket), leaving no realistic chance of misselection.
All three tools follow the same verb_noun snake_case pattern (list_tickets, get_ticket, create_ticket) with a consistent resource noun. No mixing of conventions or vague verb-only names.
Three tools is on the lean side for even a minimal ticket system, but each one has a clear, non-redundant role. It's slightly under-scoped rather than bloated.
The surface covers create, list, and get but has no update path at all: an agent cannot change status, edit a description, reassign, or close a ticket, so every ticket created stays 'open' forever. This is a lifecycle dead end that will block common workflows.
Maintenance
Related MCP Connectors
Manage Ticketdesk AI support tickets: create, reply, add notes, assign, tag, prioritize and close.
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Task and bug tracker for AI coding agents: 75 tools to file, triage and update work.
Unofficial. All 693 Zendesk API operations as tools, with approval prompts. By Octri.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables ticket management and AI triage through Mistral-compatible models, with tools for creating, listing, retrieving, triaging, and updating support tickets.-
- AlicenseNot gradedqualityBmaintenanceExposes a support-ticket inbox as tools an AI client can use to list, inspect, triage, and update tickets, including LLM-based category, priority, and sentiment classification with a drafted first response informed by similar past tickets. It works with a mocked dataset styled after a home-loan partner-support inbox, with the tool interface designed so a real ticket source could be swapped in later.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create tickets, post public replies, add private internal notes, change ticket status, and list tickets across Zendesk, Freshdesk, and Help Scout using one consistent tool vocabulary and unified credential setup. It handles each platform's differing authentication schemes and field conventions, including Help Scout's non-refreshable OAuth2 client-credentials tokens.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to list, create, and update support tickets, classify them by category, priority, and sentiment, detect duplicates, and answer queue questions using retrieval-augmented LLM tools.MIT