Integrations
Claude Code Integration (MCP Server)
Jetpack includes an MCP server that makes Claude Code a first-class Jetpack client. Plans and tasks sync bidirectionally between Claude Code and the web UI.
Quick Setup
1. Build the MCP server
# From Jetpack root
pnpm build2. Add to Claude Code settings
Add this to your .claude/settings.local.json:
{
"mcpServers": {
"jetpack": {
"command": "node",
"args": ["/path/to/Jetpack/packages/mcp-server/dist/index.js"],
"env": {
"JETPACK_WORK_DIR": "/path/to/your/project"
}
}
}
}Alternative: Using the CLI wrapper:
{
"mcpServers": {
"jetpack": {
"command": "node",
"args": ["/path/to/Jetpack/apps/cli/dist/index.js", "mcp", "--dir", "/path/to/your/project"]
}
}
}3. Restart Claude Code
After adding the MCP server config, restart Claude Code to connect. Verify connection: In Claude Code, type /mcp to see connected servers.
Available MCP Tools
Plan Management
| Tool | Description |
|---|---|
| jetpack_list_plans | List all plans in Jetpack |
| jetpack_get_plan | Get a specific plan by ID |
| jetpack_create_plan | Create a new plan with items |
| jetpack_update_plan | Update plan title, description, or status |
Task Management
| Tool | Description |
|---|---|
| jetpack_list_tasks | List tasks, optionally filtered by status or plan |
| jetpack_get_task | Get detailed task information |
| jetpack_create_task | Create a new task |
| jetpack_claim_task | Claim a task to work on |
| jetpack_start_task | Mark a task as in progress |
| jetpack_complete_task | Mark a task as completed |
| jetpack_fail_task | Mark a task as failed |
Bidirectional Sync
The MCP server reads and writes the same DataLayer database as the Jetpack web UI:
| Data | Storage | Backend |
|---|---|---|
| Tasks | tasks table | DataLayer (Turso/SQLite) |
| Messages | messages table | DataLayer (Turso/SQLite) |
| Memory | memories table | DataLayer (Turso/SQLite) |
| Reservations | file_reservations table | DataLayer (Turso/SQLite) |
Sync behavior:
- Plans created in Claude Code appear immediately in the Jetpack UI
- Tasks claimed in the UI won't be claimed by Claude Code agents
- Progress is visible in real-time on both sides (after UI refresh)
- Multiple Claude Code sessions can work on the same project
