Jules MCP Server
Provides tools for managing and interacting with Google Jules AI sessions, including listing, creating, deleting sessions, fetching activities, approving plans, sending messages, and cleaning up completed sessions.
Click on "Deploy 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., "@Jules MCP Servershow me the latest sessions"
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.
Jules MCP Server
Production-grade Model Context Protocol (MCP) server for Google Jules AI, built with FastMCP.
Provides an enterprise-ready bridge for AI Agents (Antigravity, Claude Desktop, Cursor, VS Code, Goose) to inspect, mentor, plan, and automate Google Jules execution sessions natively via HTTP, SSE, or Stdio transport.
Key Features
โก Sub-Second Response Times: Single-page fast listing (
fetch_all=Falseby default) returning session data in <200ms.๐ก๏ธ Hardened Network Resilience: Per-request isolated HTTP clients (
httpx.AsyncClient) with strict timeouts (httpx.Timeout(8.0)) catchingasyncio.CancelledErrorandTimeoutErrorto guarantee non-blocking agent turns.๐งน Concurrent Automatic Session Cleanup: Parallel scanning and deletion of terminal/inactive sessions (
COMPLETED,FINISHED,TERMINATED,CANCELLED,FAILED,EXPIRED,CLOSED) usingasyncio.gather(clean_completed_sessions).๐ Type Sanitization: Primitive string and boolean defaults (
title: "",starting_branch: "main",fetch_all: false) eliminatingnullvalidation errors in client schema parsers.๐ Multi-Transport Support: Native HTTP JSON-RPC (
/mcp), Server-Sent Events (/sse), and Stdio bridge support.๐ณ Production Docker Image: Pre-compiled multi-arch image hosted on GitHub Container Registry (
ghcr.io/cavuminfundo/jules-mcp-server:latest).
Related MCP server: MCP HTTP Proxy
๐ ๏ธ MCP Tools Reference
Tool Name | Description | Default Parameters |
| List Jules sessions with fast single-page default or optional auto-pagination. |
|
| Retrieve full details and current state for a specific session ID or name. |
|
| Launch a new Jules AI session for a target repository. |
|
| Fetch activity history and generated plans for a session. |
|
| Fetch all activity history for a session using automatic pagination. |
|
| Retrieve details for a specific activity ID within a session. |
|
| Approve a pending session plan in a single native call. |
|
| Send mentoring feedback, answers, or directives to an active session. |
|
| Permanently delete a completed or inactive session. |
|
| Concurrently scan and delete all terminal/inactive sessions. | None |
| List accessible source GitHub repositories connected to Jules. |
|
| Retrieve all accessible source repositories with auto-pagination. |
|
๐ Quickstart & Container Deployment
1. Docker Compose (Recommended Production Setup)
Create a docker-compose.yml file:
services:
jules-mcp:
image: ghcr.io/cavuminfundo/jules-mcp-server:latest
container_name: jules_mcp_server
dns:
- 8.8.8.8
- 8.8.4.4
environment:
- JULES_API_KEY=your_google_jules_api_key_here
ports:
- "8000:8000"
restart: unless-stoppedRun the container:
docker compose up -d2. Standalone Docker Run
docker run -d \
--name jules_mcp_server \
-e JULES_API_KEY="your_google_jules_api_key_here" \
-p 8000:8000 \
--restart unless-stopped \
ghcr.io/cavuminfundo/jules-mcp-server:latest๐ Client Integration Guide (mcp_config.json)
Add jules-mcp to your AI client configuration (Antigravity, Claude Desktop, Cursor, VS Code, Goose).
Option A: Stateless HTTP JSON-RPC Transport (Recommended - Zero Session State)
Stateless endpoint (/rpc) executing tool calls instantly without stateful SSE connection ID caching or reconnection timeouts:
{
"mcpServers": {
"jules-mcp": {
"type": "http",
"url": "http://<SERVER_IP_OR_HOST>:8000/rpc"
}
}
}Option B: Native Stdio Transport Bridge (SSH / Docker)
Direct process stdio stream execution bypassing HTTP network sockets completely:
{
"mcpServers": {
"jules-mcp": {
"command": "ssh",
"args": [
"-o",
"StrictHostKeyChecking=no",
"user@<SERVER_IP_OR_HOST>",
"docker",
"exec",
"-i",
"jules_mcp_server",
"python3",
"-m",
"jules_mcp.jules_mcp",
"stdio"
]
}
}
}Option C: SSE Transport (Server-Sent Events)
Stateful stream connection for streaming clients:
{
"mcpServers": {
"jules-mcp": {
"type": "sse",
"url": "http://<SERVER_IP_OR_HOST>:8000/sse"
}
}
}Stdio Transport Bridge (mcp-remote)
{
"mcpServers": {
"jules-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://<SERVER_IP_OR_HOST>:8000/sse",
"--allow-http"
]
}
}
}๐ ๏ธ Local Development & Testing
# Clone the repo
git clone https://github.com/cavuminfundo/jules-mcp-server.git
cd jules-mcp-server
# Set environment API key
export JULES_API_KEY="your_google_jules_api_key"
# Install dependencies and start server with uv
uv sync
uv run python -m jules_mcp.jules_mcp๐ License
Distributed under the MIT License. See LICENSE for more information.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Supervised API-write gateway for AI agents with policy, human approval and execution receipts.
Connect, monitor, and control AI agents โ tasks, approvals, schedules, and governance.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceBridges STDIO-based MCP clients with SSE-based MCP servers, allowing applications like Claude Desktop to connect to remote MCP servers that use SSE transport.9-
- AlicenseNot gradedqualityDmaintenanceExposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.8 npmMIT

GenieOS MCP Serverofficial
AlicenseAqualityCmaintenanceStdio bridge for editors to connect to the GenieOS MCP server, enabling AI agents to interact with GenieOS via Streamable HTTP transport.645 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables AI clients to interact with EDA projects via natural language by wrapping EDI's gRPC interface, CLI tools, and ANSYS HFSS as MCP tools supporting SSE and stdio transports.1MIT