- MCP — preferred. The official
no-tickets-mcpserver exposes tools any MCP client can call (Claude Desktop, Cursor, Zed, custom Claude Agent SDK apps). - REST API — for non-MCP environments or for embedding inside an existing agent framework.
MCP — Claude Desktop / Cursor / Zed
The MCP server ships in the same Rust workspace as the CLI. Install it once and point any MCP-aware client at it:Claude Desktop
Add to~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor / Zed
Both editors use the samemcpServers config shape — paste the snippet
above into the editor’s MCP settings.
Tools exposed by the MCP server
The full schema for each tool lives in the
MCP tools reference.
Pushes from agents
When an agent callsnt_push (or nt_update_feature, which pushes on save),
the push lands with:
NT_AGENT_ID per agent if you have multiple agents on the same token —
otherwise they all blur into the same identity.
Claude Agent SDK — direct integration
If you’re building a custom agent using the Claude Agent SDK, you have two choices:Option A: subprocess the MCP server (recommended)
Option B: call the REST API directly
If you can’t run a subprocess (e.g. serverless), call the API directly withanthropic.tool_use blocks that map to no-tickets HTTP routes. See the
REST API reference for the operation list.
This is more code to maintain — you re-implement the validation and delta
logic the MCP server already handles. Prefer Option A unless your environment
forbids subprocesses.
Custom agent frameworks (LangChain, LlamaIndex, etc.)
Any framework that speaks tool-use can wrap the MCP server. The same subprocess pattern works:Best practices for agent-driven workflows
- Set
NT_AGENT_IDper agent. Helps reviewers track which agent did what in the activity feed. - Pin the no-tickets-mcp version. Treat it like any other dependency —
[email protected], not bare. - Don’t let agents change
phasearbitrarily. Phases reflect the PR lifecycle; agents should write task statuses and let the PR workflow drive phase transitions. - Use the dry-run mode in eval loops.
nt push --dry-runvalidates and prints the delta without sending — cheap for agent evals.
See also
- MCP tools reference — full tool schemas
- Concepts → Roles — agent identity and team membership
- REST API reference — for non-MCP integrations