# rebar [Health: Active]

**Category:** 📋 Product Management  
**Repository:** https://github.com/navapbc/rebar  
**GitHub Stars:** 5  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rebar

## Description
Event-sourced ticket system with a Jira reconciler, exposed as an MCP server.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "rebar": {
    "command": "uvx",
    "args": ["below"]
  }
}
```

## Documentation

## What rebar MCP server does

rebar provides an MCP interface to a Git-backed ticket system designed for parallel agent work. Tickets are stored as an append-only event log on a dedicated orphan branch rather than in the application's source branch or an external database. The current state of each ticket is reconstructed from its events.

The MCP surface lets agents drive the same basic workflow available through rebar's CLI and Python library: create a ticket, inspect work that is ready, claim a ticket, and transition it through its lifecycle. A claim uses optimistic concurrency so two agents do not successfully take the same piece of work. Ticket events are committed and pushed automatically, allowing other clones and sessions to observe updates.

The repository also supports optional coordination features for agent teams, including file-impact-aware scheduling, per-ticket scratch notes, provenance links, structural quality checks, and LLM review gates. These capabilities form part of the wider rebar system and can be used alongside the MCP interface.

## How it works

A tracker worktree is kept in `.tickets-tracker/`, while ticket events live on a configurable tracker branch. Replaying the event log produces deterministic ticket state. Each event receives a globally unique filename, which lets parallel changes merge as a union rather than requiring agents to edit the same state file. Writes use Git commits and pushes to share changes.

The normal lifecycle is:

1. Initialize the repository tracker.
2. Create a ticket.
3. Find tickets that are ready.
4. Claim a ticket for an agent.
5. Transition the ticket through its states, including closure.

The branch name and tracker worktree directory can be configured through the `tracker.branch` and `tracker.dir` settings. Jira synchronization is level-triggered and bidirectional, so changes can be reconciled between rebar tickets and Jira.

## Setup and configuration

Install the Python package with `pipx install nava-rebar`, or use the Homebrew installation from the project’s tap. The MCP extra is needed for the MCP entry point. A package-runner configuration can launch the server with:

```json
{
  "mcpServers": {
    "rebar": {
      "command": "uvx",
      "args": ["--from", "nava-rebar[mcp]", "rebar-mcp"]
    }
  }
}
```

The host repository must have Python 3.11 or newer and Git available at runtime. The tracker uses a Git orphan branch and worktree, so the repository must be able to perform the required Git operations. Rebar serializes writes with Python-based locking and does not require an external lock executable.

For Jira Cloud reconciliation, install the Atlassian CLI (`acli`) and make it available on `PATH`. Jira bridge and reconciliation mutations invoke that binary. The tracker branch and worktree location are configurable through the `tracker.branch` and `tracker.dir` settings.

## Tools and capabilities

- Create and manage event-sourced tickets through MCP.
- List or identify tickets that are ready for work.
- Claim tickets with atomic optimistic-concurrency behavior.
- Transition tickets between lifecycle states, including closing completed work.
- Share ticket state across agents through Git commits and pushes.
- Schedule parallel work using recorded file-impact information.
- Pass notes between subagents through per-ticket scratch space.
- Link newly discovered work to the ticket that exposed it.
- Reconcile ticket data bidirectionally with Jira when the Jira path is configured.
- Apply optional plan, completion, and code review gates.

## Limitations and notes

Rebar is repository-oriented: its shared state depends on Git, the tracker branch, and the tracker worktree rather than a standalone service. Agents operating on the same project need access to the repository and its remote for automatic sharing.

Jira synchronization is optional, but Jira Cloud mutations require the external `acli` binary. The MCP configuration launches `rebar-mcp`; the CLI and Python library are separate interfaces to the same underlying store.

The project documents a Git-based scale model and cached replay for larger ticket collections, but performance depends on the repository and event history. Optional LLM review gates add review and signing behavior to the workflow and are not required for the basic create, ready, claim, and transition loop.

_Full upstream README: https://allmcps.com/mcp/rebar/readme_

