batuta-mcp
This server facilitates parallel, conflict-free development by breaking a large task into isolated plans and preparing a separate Git environment for each.
Decompose a brain dump into parallel plans: Provide a free-form description of work, and the server splits it into 2–5 plans, each with a title, spec, branch slug, and disjoint
fileBoundaries. It auto-corrects overlapping boundaries once if needed, returning metadata likeoverlapsResolvedandattempts.Check for file boundary overlaps: Given a list of plans, validate that no two plans share the same files. Returns an
okboolean and details of any detected overlaps.Scaffold isolated git worktrees: For a given repository path and set of plans, create a separate
git worktreefor each plan. Includes pre-flight safety checks (valid git repo, no overlapping boundaries, no path traversal). Each result includes the worktree path, the git command used, and a ready-to-paste agent prompt. Supports adryRunmode to preview actions without modifying the disk.
Creates git worktrees for each plan, enabling isolated development environments with a suggested prompt for each worktree.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@batuta-mcpdecompose task: add user login module"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
batuta-mcp
Split a task into plans with disjoint file boundaries, then scaffold a git worktree per plan — so parallel agents never step on each other.
A stateless MCP server that turns a brain dump into conflict-free parallel work.
Why
Running several coding agents in parallel is fast — until two of them edit the same file and silently clobber each other's work. The fix isn't live coordination; it's separation: give each agent a set of files that don't overlap, and the conflict can't happen by design.
batuta-mcp is the brain that does that split. You hand it a brain dump; it returns plans with disjoint file boundaries, and scaffolds an isolated git worktree for each one.
Related MCP server: agent-coord
How it works
It's a stateless MCP server (stdio). No database, no daemon, no web UI — just three tools that compose:
Decompose a brain dump into 2–5 plans whose
fileBoundariesdon't overlap (auto-corrects once if they do).Check that the boundaries are truly disjoint.
Scaffold a
git worktreeper plan, returning a ready-to-paste prompt for each — open them in separate terminals/tabs and let one agent work each, conflict-free.
The "muscle" (running the agents, the terminals) stays in your editor; batuta-mcp is just the planning brain.
Features
🧠 Disjoint decomposition — plans are generated so no file appears in two plans.
♻️ Auto-correction — if the model returns overlapping boundaries, it retries once to separate them.
🌳 Worktree scaffolding — one isolated
git worktreeper plan, with a ready-to-paste prompt.🔒 Safe by design — pre-flight checks (valid git repo, no overlaps, no path traversal) before touching disk;
dryRunpreviews without writing.🪶 Stateless — nothing persisted; uses your logged-in
claudeCLI (no API key needed).
Requirements
Bun 1.3+
git2.x (forscaffold_worktrees)The
claudeCLI, logged in (fordecompose_into_plans)Claude Code or any MCP client
Installation
git clone https://github.com/vorluno/batuta-mcp.git
cd batuta-mcp
bun install
claude mcp add batuta -- bun run /absolute/path/to/batuta-mcp/src/index.tsConfiguration
Any MCP client works. The mcpServers entry:
{
"mcpServers": {
"batuta": {
"command": "bun",
"args": ["run", "/absolute/path/to/batuta-mcp/src/index.ts"]
}
}
}For Claude Code, claude mcp add (above) writes this for you. For Warp or Cursor, paste the snippet into their MCP settings.
Tools
Tool | Description |
|
|
|
|
|
|
Typical flow
decompose_into_plans→ plans with disjoint boundaries.check_boundary_overlaps→ confirmok: true(or adjust).scaffold_worktrees→ creates the worktrees; open each in its own terminal/tab and paste itssuggestedPrompt.
Development
bun test # full suite
bunx tsc --noEmit # type-checkBuilt test-first across 10 TDD tasks with per-task and whole-branch review.
License
MIT © 2026 Vorluno
Built by Vorluno — a software studio from Panamá 🇵🇦
Part of the mcp-s family of MCP servers.
Looking for live coordination between sessions instead of separation? See agora.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceMCP server for managing a project backlog as Markdown files in Git, enabling AI agents to read, create, and update tasks programmatically.Last updated2
- Alicense-qualityCmaintenanceA zero-dependency MCP server that allows multiple coding agents to coordinate work on the same repository using file locks, task claims, and status messages.Last updated1MIT
- Flicense-qualityBmaintenanceA minimal MCP server for file-based task management and multi-agent team orchestration, enabling creation, completion, and reassignment of tasks across teams.Last updated
- Alicense-qualityDmaintenanceA filesystem-based MCP server for AI coding agents to coordinate work across git worktrees by claiming files, checking for conflicts, and logging progress without affecting the repository's git history.Last updatedMIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vorluno/batuta-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server