Click on "Install 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., "@Ticket MCP Serverclaim ticket T-042 and start working on it"
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.
Ticket MCP Server
Local MCP server for the repo ticket system (file-backed).
Features
List/get/update/move/validate tickets in
tickets/Create new tickets with strict frontmatter validation
Agent helpers:
tickets_next_id,tickets_claim,tickets_append_worklog,tickets_reconcileStrict schema enforcement (rejects invalid writes)
HTTP MCP endpoint plus optional stdio proxy
Directory Structure & State Machine
The MCP server expects a tickets/ directory in the root of your project (configured via TICKET_ROOT), containing the following subfolders that directly map to the ticket's status field. The server will strictly enforce that tickets reside in the correct folder for their status:
tickets/pending/→status: pending(Ready to be picked up)tickets/in_progress/→status: in_progressorstatus: blocked(Claimed and being worked)tickets/awaiting_human_test/→status: awaiting_human_test(AI work complete; needs human testing)tickets/done/→status: done(Human has verified and accepted)tickets/archive/→status: archived(Obsolete or old tickets)
Strict Markdown Validation
To prevent AIs from deleting context or inventing their own ticket formats, the MCP server enforces that all tickets contain specific markdown headers in their body. These headers will be automatically injected when creating a ticket via tickets_create.
Required body headers:
## Overview## Approach (medium/high-level)## Tasks / Todos## Requirements (AI implementation)## Human Testing Steps## Key Files / Areas (notes)## Questions## Blockers## Implementation Notes
Usage
Build:
Start HTTP server:
Auto-rebuild on changes (dev watch):
Run integration tests:
Start stdio proxy (for MCP clients expecting stdio):
Auto-restart stdio proxy on changes:
Note: build output lands under dist/ticket-mcp/src/ because the build
includes shared schema sources.
Configuration
TICKET_ROOT(default: repo root inferred from cwd)TICKET_MCP_PORT(default: 3334)TICKET_MCP_PATH(default: /mcp)TICKET_STRICT(default: true)
tickets_stats response
The tickets_stats tool returns aggregate counts plus ticket numbering metadata:
highest_ticket_number: highest numeric suffix parsed from existing ticket IDs (or0if none are numeric).next_ticket_number: convenience value equal tohighest_ticket_number + 1.
Agent helper tools
tickets_next_idReturns
highest_ticket_number,next_ticket_number, andsuggested_id.Optional args:
prefix(defaultT),separator(default-),padding(default3).
tickets_claimClaims a
pendingticket, moves it toin_progress, sets claim metadata, and appends awork_logentry.Requires
actor; acceptsidorpath.
tickets_append_worklogAppends a validated
work_logentry and updatesupdated_at.Requires
entry; acceptsidorpath.
tickets_reconcileAudits ticket invariants and optionally applies safe fixes.
Optional
apply_fixes: truewill fix common metadata/date issues and folder/status mismatches when possible.
Recommended agent workflow
Use this sequence for normal implementation flow: