Model Context Protocol server for Google's Jules AI coding agent
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.
If you're searching for a way to drive Google's Jules coding agent from Claude, Cursor, VS Code Copilot, or any other MCP client, this is that bridge. google-jules-mcp-server is an unofficial Model Context Protocol server that exposes the full Jules API (v1alpha) as 13 tools, so your assistant can create sessions, poll status, approve plans, and fetch the resulting pull request without you leaving the chat.
Developers running Jules across many repositories at once use it to let their AI assistant manage the whole async workflow: kick off a task, check on it later, and hand back a PR link when it's done, instead of switching to the Jules web app to babysit progress. Every response is validated at runtime through Zod schemas, so a drifted Jules API response fails loudly rather than silently breaking downstream code.
Model Context Protocol (MCP) server for Google's Jules AI coding agent β unofficial. Lets AI assistants like Claude create and manage asynchronous coding tasks through the Jules API v1alpha.
Jules is Google's AI coding agent that executes development tasks in isolated cloud VMs β generating code, fixing bugs, writing tests, updating dependencies, and refactoring across files. This server exposes the full Jules API surface as 13 MCP tools, covering repository sources, session lifecycle, and activity logs.
Tasks run asynchronously and typically complete in 5β60 minutes depending on complexity.
The server is organized by Jules resource domain rather than as one flat file:
Each resource module owns its own Zod schemas, a typed API client, and its MCP tool registrations. Zod schemas are the single source of truth: TypeScript types are inferred from them (z.infer), and every Jules API response is validated at runtime through core/http-client.ts β so a drifted API response fails loudly as a JulesResponseValidationError instead of silently producing undefineds downstream.
core/http-client.ts also centralizes retry-with-backoff (bounded, honors Retry-After) and a typed error hierarchy (JulesAuthError, JulesNotFoundError, JulesRateLimitError, JulesServerError, JulesClientError, JulesNetworkError, JulesResponseValidationError) so callers can distinguish failure modes programmatically rather than pattern-matching error strings.
The package is published on npm as google-jules-mcp-server. Most MCP clients can run it directly via npx β no separate install step needed, skip to step 2.
If you'd rather install it once instead of letting your client invoke npx on every launch:
This puts a google-jules-mcp binary on your PATH.
Building from source (for contributors, or to run unreleased changes):
Get a key from https://jules.google.com/settings#api. Set it directly in your MCP client's server config (see below) β that's the only place it needs to live for normal use.
If you're building from source and want to run npm run test:smoke or use .env for local scripts:
Claude Desktop β edit the config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
Claude Code:
GitHub Copilot CLI:
Or edit ~/.copilot/mcp-config.json directly:
VS Code (Copilot Chat agent mode) β via terminal:
Or add to .vscode/mcp.json (workspace) or via MCP: Open User Configuration (user-level):
Cursor β add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-only):
OpenAI Codex CLI:
Or edit ~/.codex/config.toml directly:
If you installed globally instead, replace "command": "npx", "args": ["-y", "google-jules-mcp-server"] with "command": "google-jules-mcp", "args": [] (and any npx -y google-jules-mcp-server in a CLI command above with just google-jules-mcp).
If you're running from a local clone instead, use "command": "node", "args": ["/absolute/path/to/google-jules-mcp-server/build/index.js"] (an absolute path to build/index.js).
Behind a corporate proxy β to support enterprise/corporate proxy setups without requiring any server-side config, the server automatically picks up proxy settings from the environment. The underlying EnvHttpProxyAgent (from undici) honours the standard HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy, and NO_PROXY variables. What catches people out is that your MCP client spawns the server as a child process, so a variable exported in ~/.zshrc never reaches a GUI-launched app. Set it in the same env block as your API key:
Proxied requests are broken in 0.2.3 and earlier, where every call fails on a gzipped response the client never decoded. If you hit that, upgrade rather than reconfigure.
Restart your client after editing its config.
Ask your assistant: "List my Jules repositories." You should see the jules server connected with 16 tools available.
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/google-jules-mcp-server)<a href="https://allmcps.com/mcp/google-jules-mcp-server"><img src="https://allmcps.com/api/badge/google-jules-mcp-server?style=directory" alt="Google Jules MCP Server on AllMCPs" /></a>