Batch-dispatch coding tasks to Google Jules: 50 parallel sessions, plan approval, PR collection.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Batch-dispatch tasks to Google Jules in parallel โ and use it as an MCP tool inside Claude Code or OpenAI Codex CLI.
๐ Languages: English ยท ็ฎไฝไธญๆ
๐ Landing page & interactive docs
https://yuuqq.github.io/jules-dispatch/ โ full onboarding guide and MCP integration examples
jules-dispatch is a CLI and an MCP server for the Google Jules API that lets you:
It turns Jules from a "one task at a time" tool into a massively parallel coding workforce, controlled by either humans on the CLI or other AIs over MCP.
Entirely optional. All core commands work without any LLM key. Skip this section if you only want raw dispatch.
Stop hand-writing task YAML. Give jules-dispatch one sentence and let an LLM expand it into N parallel Jules sessions.
Bring your own LLM โ works with any OpenAI-compatible /chat/completions endpoint:
| Provider | LLM_BASE_URL | Example LLM_MODEL |
|---|---|---|
| OpenAI (default) | (omit โ defaults to https://api.openai.com/v1) | gpt-4o-mini, gpt-4o, o3-mini |
| OpenRouter | https://openrouter.ai/api/v1 | openrouter/auto, anthropic/claude-opus-4.7 |
| Ollama (local, free) | http://localhost:11434/v1 | llama3.1, qwen2.5-coder:32b |
| Groq | https://api.groq.com/openai/v1 | llama-3.3-70b-versatile |
| Together / Fireworks / DeepInfra / vLLM / LiteLLM / Azure OpenAI | (their endpoint) | (their model id) |
Configure via env vars (LLM_API_KEY, LLM_BASE_URL, LLM_MODEL) or per-invocation flags (--llm-key, --llm-base-url, --llm-model). OPENAI_API_KEY and OPENROUTER_API_KEY are also recognised as fallbacks.
| Command / Tool | What it does |
|---|---|
jules-dispatch plan-tasks "<intent>" | Plan only โ print or write tasks to a YAML file |
jules-dispatch auto "<intent>" | Plan + dispatch in one shot (with confirmation) |
MCP jules_plan_tasks | Same planning, exposed to Claude Code / Codex (only registered if an LLM key is configured) |
MCP jules_auto | One-shot plan + dispatch (only registered if an LLM key is configured) |
jules-dispatch mcp) โ 15 always-registered tools, plus 2 optional planning tools when an LLM key is configured--json mode โ machine-readable output on every command for AI agents and shell pipelinesplan, approve commands + requirePlanApproval: true task optiontail <id> streams activity events as they happencancel <id> aborts runaway runsget <id>, status --ids no longer limited to the recent pageRetry-Afterdispatch - reads YAML/JSON from a pipe--api-key flag โ pass keys per-invocation, no .env required| Feature | Details |
|---|---|
| โก Bounded, paced dispatch | Continuously replenish a 1โ50 worker pool and optionally space launches with --pace-ms |
| ๐ YAML task files | Multi-document YAML supported (--- separators) |
| ๐ Status polling | Auto-detects PRs, plan approvals, failures |
| ๐ฌ Plan & message control | Approve plans, send follow-up messages, cancel sessions |
| ๐ค MCP server | Drop into Claude Code or Codex as a tool |
| ๐ฆ Structured output | --json mode for clean piping into agents and scripts |
| ๐ Dispatch logs | JSON audit trail of every dispatch run |
jules-dispatch works best when a change can be split into independent, PR-sized tasks. If tasks edit the same files or depend on earlier output, dispatch them in separate waves instead of running them concurrently.
Suppose the auth, billing, users, and audit modules all need tests. Put one self-contained task file per module in a dedicated directory, then dispatch the directory as a batch:
Each Jules session owns one module. With AUTO_CREATE_PR enabled, the result is a set of focused PRs that can be reviewed and merged independently. A failed task can be retried without restarting the rest.
Why it helps: independent test work runs at the same time without turning into one large, hard-to-review change.
For a goal such as migrating an Express API to Fastify, use the optional LLM planner to identify independent routes, middleware, startup code, and test work:
auto shows the proposed tasks and asks for confirmation before dispatching them. Use plan-tasks instead when you want to save and edit the generated YAML before anything is sent to Jules.
Why it helps: the planner reduces the cost of decomposing a broad goal while keeping the task boundaries visible and reviewable.
To add a shared CI check, security baseline, or contribution policy across several Jules-connected repositories, give each task its own source:
Place the task file in a dedicated batch directory and dispatch it with controlled concurrency and launch pacing:
Why it helps: one command coordinates the rollout while preserving a separate session and PR for each repository plus an audit log for the batch.
Authentication, authorization, and database migrations often need review before implementation begins. Require Jules to stop after planning:
Inspect the plan, send corrections if needed, approve it, and then continue monitoring:
Why it helps: you keep control of high-impact decisions without giving up delegated execution.
After configuring the MCP server, describe the outcome instead of operating each session yourself:
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/jules-dispatch)<a href="https://allmcps.com/mcp/jules-dispatch"><img src="https://allmcps.com/api/badge/jules-dispatch?style=directory" alt="Jules Dispatch on AllMCPs" /></a>