racha-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
racha-mcp
A small, read-only MCP server that gives a coding agent the state of a spec-first, ticket-driven repository in one call, instead of making it read whole backlog files and apply the scheduling rules by hand.
It was written for the methodology I use with Claude Code: tickets with a Definition of Ready and a Definition of Done, open decisions that block work until a person resolves them, and up to three agents working in parallel in separate worktrees. The tools below encode the rules an agent needs before it starts a ticket.
Tools
Tool | What it answers |
| The project's core invariant ("Rule #1" in |
| Which tickets can start now: status ⬜, every dependency ✅, not blocked by an open decision, module not already in flight. Returns a batch spread across surfaces, never two tickets of the same module. |
| One ticket's block (fields and Definition of Done) plus its Definition-of-Ready check: missing fields, unfinished dependencies, blocking decisions. |
| Open decisions with their class (who decides), reversibility, the tickets they block, due date, recommendation and fallback plan. |
All four are annotated readOnlyHint: true. The server never writes, merges or calls the network.
Related MCP server: mcp-knowledge-server
Repository format
CLAUDE.md ## Regla #1 — … section (the invariant)
STATUS.md free text; the head is shown
DECISIONS.md ### A-01 — Title, then Estado: 🔴 abierto · Clase · Reversible · Bloquea · Vence · Recomendación · Plan alterno
tickets/fase-N.md F1-001 — Title, then indented Estado · Módulo · Superficie · Riesgo · Dependencias · Bloqueado por · Spec · DoDSee fixtures/demo-repo for a complete, fictional example.
Use it with Claude Code
npm install && npm run buildThen add it to the target repo's .mcp.json (see examples/.mcp.json):
{
"mcpServers": {
"racha": {
"command": "node",
"args": ["/path/to/racha-mcp/dist/server.js"],
"env": { "RACHA_REPO": "." }
}
}
}RACHA_REPO is the repository root; without it the server uses its working directory.
Tests and eval
npm test # parser, rules and an end-to-end test that starts the server and talks MCP over stdio
npm run eval # ten questions with gold answers on the fixtureCorrectness: 10/10 on the fixture (
eval/RESULTS.md). Each scheduling rule has a test that fails when the rule is removed (five hand-made mutations, all caught).Context size: on the fixture the agent receives 80% less text than reading the files it would otherwise open; on a real backlog of ~120 tickets, 98% less.
Agreement: on seven private repositories that use this methodology,
next_ticketsreturns the same batch as each repo's own scheduling script.
The eval is deterministic and does not call a model. The next step is an agent-in-the-loop eval: the same questions answered by an agent with and without the server, scored on accuracy and tokens used.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A hosted backlog coding agents claim work from: one ticket per agent, finished work back to review.
Read-only agent claims, CI status and delivery data from a KirinBoard workspace
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Scope products with your team, check what is ready to build, and hand ready work to coding agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to query the dependency graph of a GitHub backlog, retrieve ordered ready work and prerequisite chains, atomically claim issues, and report blockers—so agents work in the correct order and safely in parallel.MIT
- FlicenseNot gradedqualityCmaintenanceExposes a version-controlled knowledge base as MCP tools so agents can read merged identity/state summaries and next recommended actions at runtime, plus run deterministic schema validation and cross-reference link checks. This lets agents fetch live state and verify integrity via self-describing calls instead of re-reading raw files.-
- AlicenseNot gradedqualityCmaintenanceEnables an agent to check a repository's contribution rules (AI policy, CLA/DCO, assignment and claim windows) and an issue's status (linked open, merged and closed PRs, active claims, merge friendliness) before writing any code. It returns a go, comment & claim first, or don't verdict with the rule or PR evidence behind each reason, reading only and never opening PRs or posting comments.10 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to create, list, claim, update, and log progress on markdown-based tickets stored in repositories across multiple projects. Supports shared ticket state, status workflows, and coordination between concurrent sessions.MIT