rebar — Claude Code MCP server: features and setup
rebar is an MCP server for Claude Code that tracks work in Git and syncs tickets with Jira. Agents can create tickets, claim them, and update their status.
Apache-2.0 ★ 5 updated 2026-11-17
claude mcp add --env REBAR_ROOT=<REBAR_ROOT> --env REBAR_MCP_READONLY=<REBAR_MCP_READONLY> --env REBAR_MCP_ALLOW_LLM=<REBAR_MCP_ALLOW_LLM> --env REBAR_MCP_DEDUP=<REBAR_MCP_DEDUP> --env REBAR_MCP_ALLOW_JIRA_SYNC=<REBAR_MCP_ALLOW_JIRA_SYNC> --transport stdio rebar -- uvx nava-rebarWhat rebar does
rebar keeps ticket history as an event log on its own Git branch, then derives each ticket’s current state from that history. Its MCP server gives an agent access to the same store as the CLI and Python library. Writes are committed and pushed automatically.
Agents can claim tickets atomically, and concurrent event changes merge without losing data. Jira sync works in both directions. Running the server with uvx nava-rebar requires uvx; Jira sync requires Jira.
What it helps with
- track project tickets on a separate Git branch
- let parallel agents claim different tickets
- sync ticket changes between rebar and Jira
- update ticket status through MCP tools
Example prompts for the agent
- Create a ticket for the login page and mark it ready to work.
- Claim the next available ticket and set its status to in progress.
- Sync the project tickets with Jira.
How to install rebar
Platform CLI
claude mcp add --env REBAR_ROOT=<REBAR_ROOT> --env REBAR_MCP_READONLY=<REBAR_MCP_READONLY> --env REBAR_MCP_ALLOW_LLM=<REBAR_MCP_ALLOW_LLM> --env REBAR_MCP_DEDUP=<REBAR_MCP_DEDUP> --env REBAR_MCP_ALLOW_JIRA_SYNC=<REBAR_MCP_ALLOW_JIRA_SYNC> --transport stdio rebar -- uvx nava-rebarReplace <…> with your own values. 32 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from nava-rebar <command>
Platform CLI
codex mcp add rebar --env REBAR_ROOT=<REBAR_ROOT> --env REBAR_MCP_READONLY=<REBAR_MCP_READONLY> --env REBAR_MCP_ALLOW_LLM=<REBAR_MCP_ALLOW_LLM> --env REBAR_MCP_DEDUP=<REBAR_MCP_DEDUP> --env REBAR_MCP_ALLOW_JIRA_SYNC=<REBAR_MCP_ALLOW_JIRA_SYNC> -- uvx nava-rebarReplace <…> with your own values. 32 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from nava-rebar <command>
Config file
{
"mcpServers": {
"rebar": {
"command": "uvx",
"args": [
"nava-rebar"
],
"env": {
"REBAR_ROOT": "<REBAR_ROOT>",
"REBAR_MCP_READONLY": "<REBAR_MCP_READONLY>",
"REBAR_MCP_ALLOW_LLM": "<REBAR_MCP_ALLOW_LLM>",
"REBAR_MCP_DEDUP": "<REBAR_MCP_DEDUP>",
"REBAR_MCP_ALLOW_JIRA_SYNC": "<REBAR_MCP_ALLOW_JIRA_SYNC>"
}
}
}
}Replace <…> with your own values. 32 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from nava-rebar <command>
Config file
{
"servers": {
"rebar": {
"type": "stdio",
"command": "uvx",
"args": [
"nava-rebar"
],
"env": {
"REBAR_ROOT": "<REBAR_ROOT>",
"REBAR_MCP_READONLY": "<REBAR_MCP_READONLY>",
"REBAR_MCP_ALLOW_LLM": "<REBAR_MCP_ALLOW_LLM>",
"REBAR_MCP_DEDUP": "<REBAR_MCP_DEDUP>",
"REBAR_MCP_ALLOW_JIRA_SYNC": "<REBAR_MCP_ALLOW_JIRA_SYNC>"
}
}
}
}Replace <…> with your own values. 32 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from nava-rebar <command>
Platform CLI
gemini mcp add -e REBAR_ROOT=<REBAR_ROOT> -e REBAR_MCP_READONLY=<REBAR_MCP_READONLY> -e REBAR_MCP_ALLOW_LLM=<REBAR_MCP_ALLOW_LLM> -e REBAR_MCP_DEDUP=<REBAR_MCP_DEDUP> -e REBAR_MCP_ALLOW_JIRA_SYNC=<REBAR_MCP_ALLOW_JIRA_SYNC> rebar uvx nava-rebarReplace <…> with your own values. 32 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from nava-rebar <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about rebar
How do I install rebar in Claude Code?
Run claude mcp add rebar -- uvx nava-rebar to add the rebar MCP server.
What does rebar do?
rebar stores tickets as events on a separate Git branch and exposes the tracker through MCP. It can also reconcile tickets with Jira in both directions.
What does rebar need to run?
The MCP server runs with uvx nava-rebar, so uvx is required. Jira is required for Jira synchronization.