ticket-docs (Docs MCP)
The docs MCP server gives AI assistants access to search ticket-rs documentation directly.
Setup
- Claude Code
- Cursor
- Windsurf
- Manual
Add to project
.mcp.json:Available Tools
Example prompts:
- “How do I add a dependency between issues?”
- “What does tk triage show?”
- “How do I sync with GitHub?”
ticket-mcp (Agentic Tools)
The ticket-mcp package provides full issue management capabilities, allowing AI agents to create, update, and manage issues directly.
Installation
- Installer Script (Recommended)
- uv
- pip
Install everything — the This installs the
tk binary, Python bindings, and MCP server — in one command:tk binary to ~/.local/bin and creates a virtual environment at ~/.ticket/.venv with ticket-mcp and ticket-py.After installation, the MCP server is available at:Requires Python 3.10+.
ticket-mcp pulls in ticket-py as a hard dependency — the in-process PyO3 bindings — so no separate tk binary install is needed for the MCP server. You only need the tk binary on PATH if you also want to use the CLI directly.Setup
- Claude Code
- Cursor
- Manual
- From Installer Venv
Available Tools
ticket-mcp exposes exactly three tools. They route every request throughticket_py.dispatch (in-process PyO3), so the full tk CLI
surface — every subcommand, every flag — is reachable without a
per-command wrapper.
Usage Example
Why three tools
The previous version exposed 22 hand-written wrappers (ready,
create, triage, …), which burned ~3,300 tokens of agent context
for tool schemas that drifted whenever the CLI grew a flag. The
three-tool surface keeps the agent on a stable contract and delegates
schema maintenance to clap’s introspection — every flag added to
tk is automatically reachable via tk_run with zero MCP changes.
Which Should I Use?
Docs MCP
Best for learningUse when you want AI to understand tk commands and answer questions about features.
ticket-mcp
Best for automationUse when you want AI agents to actually manage your issues—create, update, close, etc.
Troubleshooting
MCP server not found
MCP server not found
Verify the server is configured:You should see
ticket-docs and/or ticket-mcp in the list.ticket-mcp: ticket-py import error
ticket-mcp: ticket-py import error
The MCP server depends on Verify the import works:If you previously had a
ticket-py (the PyO3 in-process bindings).
Reinstall with the package extras present:tk binary in PATH and the MCP was routing
through subprocess, that path no longer exists — the new server runs
tk in-process via the PyO3 bindings only.ticket-mcp: No issues found
ticket-mcp: No issues found
Make sure you’ve set the workspace context and initialized tickets:
Connection errors (docs MCP)
Connection errors (docs MCP)
The docs MCP server requires internet access to reach
docs.ticket-rs.io. Check your network connection.Next Steps
Claude Code Setup
Full Claude Code integration with tk prime hooks.
CLI Commands
Complete command reference.