# rebar

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: navapbc
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/navapbc/rebar
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/rebar

## What it 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.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `REBAR_ROOT`, `REBAR_MCP_READONLY`, `REBAR_MCP_ALLOW_LLM`, `REBAR_MCP_DEDUP`, `REBAR_MCP_ALLOW_JIRA_SYNC`, `REBAR_MCP_TRANSPORT`, `REBAR_MCP_HTTP_HOST`, `REBAR_MCP_HTTP_PORT`, `REBAR_MCP_HTTP_PATH`, `REBAR_MCP_HTTP_ALLOWED_HOSTS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
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-rebar
```
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>

### Codex

**Platform CLI**
```bash
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-rebar
```
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>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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>

### Gemini CLI

**Platform CLI**
```bash
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-rebar
```
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>

## When to use it
- 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
- 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.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
