Reverse engineer anything with agents, from app behavior down to native binaries.
MCP Batchit
MCP aggregator for batching multiple tool calls into a single request. Reduces overhead, saves tokens, and simplifies complex operations in AI agent workflows.
Install: git clone https://github.com/ryanjoachim/mcp-batchit
Install
git clone https://github.com/ryanjoachim/mcp-batchitInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →MCP BatchIt
Batch multiple MCP tool calls into a single "batch_execute" request—reducing overhead and token usage for AI agents.
Table of Contents
- Introduction
- Why Use BatchIt
- Key Features & Limitations
- Installation & Startup
- Multi-Phase Usage
- FAQ
- License
Introduction
⚠️ NOTICE: Work in Progress
This project is actively being developed to address several complex challenges:
- Maintaining backwards compatibility with existing MCP servers
- Resolving transport complexities with multi-connection clients (Cline, Roo, Claude Desktop)
- Creating a beginner-friendly implementation
While functional, expect ongoing improvements and changes as we refine the solution.
MCP BatchIt is a simple aggregator server in the Model Context Protocol (MCP) ecosystem. It exposes just one tool: batch_execute. Rather than calling multiple MCP tools (like fetch, read_file, create_directory, write_file, etc.) in separate messages, you can batch them together in one aggregator request.
This dramatically reduces token usage, network overhead, and repeated context in your AI agent or LLM conversation.
Why Use BatchIt
One Action per Message Problem: Normally, an LLM or AI agent can only call a single MCP tool at a time, forcing multiple calls for multi-step tasks.
Excessive Round Trips: 10 separate file operations might require 10 messages → 10 responses.
BatchIt’s Approach:
- Takes a single
batch_executerequest. - Spawns (or connects to) the actual target MCP server (like a filesystem server) behind the scenes.
- Runs each sub-operation (tool call) in parallel up to
maxConcurrent. - If one sub-op fails and
stopOnErroris true, it halts new sub-ops. - Returns one consolidated JSON result.
- Takes a single
Key Features & Limitations
Features
Single “Batch Execute” Tool
- You simply specify a list of sub‐ops referencing your existing MCP server’s tools.
Parallel Execution
- Run multiple sub-ops at once, controlled by
maxConcurrent.
- Run multiple sub-ops at once, controlled by
Timeout & Stop on Error
- Each sub-op races a
timeoutMs, and you can skip remaining ops if one fails.
- Each sub-op races a
Connection Caching
- Reuses the same connection to the downstream MCP server for repeated calls, closing after an idle timeout.
Limitations
- No Data Passing Mid-Batch
- If sub-op #2 depends on #1’s output, do multiple aggregator calls.
- No Partial Progress
- You get all sub-ops’ results together at the end of each “batch_execute.”
- Must Use a Real MCP Server
- If you spawn or connect to the aggregator itself, you’ll see “tool not found.” The aggregator only has “batch_execute.”
- One Target Server per Call
- Each aggregator call references a single target MCP server. If you want multiple servers, you’d do more advanced logic or separate calls.
Installation & Startup
git clone https://github.com/ryanjoachim/mcp-batchit.git
cd mcp-batchit
npm install
npm run build
npm start
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io