# jules-dispatch

Send coding tasks to Google Jules in parallel, track sessions, and gather resulting PR links. Useful when a change can be split into independent pieces.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: Yuuqq
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Yuuqq/jules-dispatch
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/jules-dispatch

## What it does

jules-dispatch connects Google Jules to Claude Code through MCP. An assistant can launch work, check session progress, approve plans, and collect PR links. The server also supports Codex and the other listed platforms.

Tasks can be stored in YAML files with a title, repository, branch, and prompt. Dispatch can create up to 50 sessions concurrently, with an optional delay between launches. LLM-based task planning needs a configured key; the core dispatch commands work without one.

Claude Code setup requires `JULES_API_KEY`; `JULES_DEFAULT_SOURCE` and `JULES_DEFAULT_BRANCH` are available as additional environment settings. Parallel runs suit independent work. Tasks that touch the same files or rely on earlier results should go out in separate waves.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `JULES_API_KEY`, `JULES_DEFAULT_SOURCE`, `JULES_DEFAULT_BRANCH` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env JULES_API_KEY=<JULES_API_KEY> --env JULES_DEFAULT_SOURCE=<JULES_DEFAULT_SOURCE> --env JULES_DEFAULT_BRANCH=<JULES_DEFAULT_BRANCH> --transport stdio jules-dispatch -- npx -y @yuuqq/jules-dispatch
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add jules-dispatch --env JULES_API_KEY=<JULES_API_KEY> --env JULES_DEFAULT_SOURCE=<JULES_DEFAULT_SOURCE> --env JULES_DEFAULT_BRANCH=<JULES_DEFAULT_BRANCH> -- npx -y @yuuqq/jules-dispatch
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "jules-dispatch": {
            "command": "npx",
            "args": [
                "-y",
                "@yuuqq/jules-dispatch"
            ],
            "env": {
                "JULES_API_KEY": "<JULES_API_KEY>",
                "JULES_DEFAULT_SOURCE": "<JULES_DEFAULT_SOURCE>",
                "JULES_DEFAULT_BRANCH": "<JULES_DEFAULT_BRANCH>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "jules-dispatch": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@yuuqq/jules-dispatch"
            ],
            "env": {
                "JULES_API_KEY": "<JULES_API_KEY>",
                "JULES_DEFAULT_SOURCE": "<JULES_DEFAULT_SOURCE>",
                "JULES_DEFAULT_BRANCH": "<JULES_DEFAULT_BRANCH>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e JULES_API_KEY=<JULES_API_KEY> -e JULES_DEFAULT_SOURCE=<JULES_DEFAULT_SOURCE> -e JULES_DEFAULT_BRANCH=<JULES_DEFAULT_BRANCH> jules-dispatch npx -y @yuuqq/jules-dispatch
```
Replace <…> with your own values

## When to use it
- dispatch independent coding tasks to Google Jules
- collect PR links after a batch finishes
- check session status and approve plans
- cancel a session that is running out of control

## Example prompts
- Send the tasks in `tasks/add-tests` to Google Jules and collect the resulting PR links.
- Check the active sessions and show which ones need plan approval.
- Split this migration into independent tasks, prepare a plan, and wait for my approval before dispatching.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
