Jules MCP Server
Manage Jules coding sessions, their activities, and source repositories through a native MCP interface.
Sessions: list (with auto-pagination), get details, create new sessions from a source and prompt (with optional title, starting branch, and plan approval), delete sessions, and bulk-clean completed/terminated/failed/inactive sessions.
Activities: list activities for a session with pagination, fetch all activities automatically, and get individual activity details.
Plan approval: approve a session's generated plan in a single call.
Messaging: send a user message/prompt to an existing session.
Sources: list sources with filtering and pagination, get a single source by ID, or retrieve all sources with optional filtering.
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 Server show 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.
Julius Hub
Overview
Julius Hub is an autonomous Junior AI Coder Runner and Tech Lead Cockpit designed to streamline the development process. It follows the Junior/Senior Coder pattern, where Junior personas (Bolt, Palette, Sentinel) execute isolated worktree tasks under 50 lines of code. The Senior Tech Lead supervises, reviews diffs, approves/discards changes, or escalates to the Antigravity IDE via the Chrome DevTools Protocol (CDP) Bridge on port 9000.
Related MCP server: GenieOS MCP Server
Architecture and Core Components
Hub Components
hub/scanner.py: Discovers registered repositories.
hub/worktree_manager.py: Manages zero-dirty git worktrees in
/home/federico/jules/worktrees/<repo>-<mode>.hub/engine_router.py: Routes tasks to different engines:
Flash: Cloud Gemini Flash.
Local: Local Ollama RTX 5070 Ti (
http://localhost:11434).Hybrid: Local pre-screening + Cloud execution with fallback.
hub/cdp_bridge.py: Handles Chrome DevTools Protocol (CDP) bridge for 1-click escalation to Antigravity Senior Coder.
hub/app.py: FastAPI backend on port 4100, serving Server-Sent Events (
/api/events) for real-time telemetry.
UI Components
ui/: React + Vite + Tailwind Dark Cockpit served on port 4100.
CLI Entry Point
curator.py: Provides CLI commands for
run,fix-ci,knowledge,list,status, andcleanup.
Quickstart and Docker Deployment
To deploy Julius Hub using Docker, follow these steps:
Create a
compose.yamlfile:version: '3.8' services: julius-hub: image: ghcr.io/cavuminfundo/julius-hub:latest network_mode: host environment: - PORT=4100 - CDP_PORT=9000 - OLLAMA_HOST=http://localhost:11434Run the Docker Compose command:
docker-compose up -d
Local Development and Testing
For local development and testing, use the following commands:
Sync dependencies:
uv syncRun tests:
uv run pytest tests/ -qStart the FastAPI backend:
uv run uvicorn hub.app:app --host 0.0.0.0 --port 4100
License
Julius Hub is licensed under the MIT License. See the LICENSE file for more details.
Note: Ensure that all dependencies and configurations are correctly set up before running the application.
Available Tools
13 toolsapprove_session_planApprove Session PlanC
Approve the generated plan for a session in a single native MCP call.
Inputs: session_id (required), _meta. Returns: object
clean_completed_sessionsClean Completed SessionsB
Scans all sessions and deletes completed, terminated, failed, or inactive sessions automatically.
Inputs: _meta. Returns: object
create_sessionCreate SessionC
Create a new Jules session for a given source and prompt.
Inputs: prompt (required), source (required), _meta, title, +2 more. Returns: object
delete_sessionDelete SessionB
Delete a completed or terminated session by ID.
Inputs: session_id (required), _meta. Returns: object
get_activityGet ActivityC
Get details for a single activity by ID.
Inputs: session_id (required), activity_id (required), _meta. Returns: object
get_all_sourcesGet All SourcesC
Get all sources with optional filtering (auto-pagination).
Inputs: _meta, filter_str. Returns: object
get_sessionGet SessionB
Get details for a single session by ID or resource name.
Inputs: session_id (required), _meta. Returns: object
get_sourceGet SourceC
Get details for a single source by ID.
Inputs: source_id (required), _meta. Returns: object
list_activitiesList ActivitiesC
List activities for a specific session.
Inputs: session_id (required), _meta, page_size, page_token. Returns: object
list_all_activitiesList All ActivitiesC
List all activities for a session with automatic pagination.
Inputs: session_id (required), _meta. Returns: object
list_sessionsList SessionsC
List sessions with optional automatic pagination to retrieve sessions natively.
Inputs: _meta, fetch_all, page_size, page_token. Returns: object
list_sourcesList SourcesC
List sources with optional filter and pagination.
Inputs: _meta, page_size, filter_str, page_token. Returns: object
send_session_messageSend Session MessageC
Send a user message (prompt) to an existing session.
Inputs: session_id (required), _meta, prompt, message. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Several tools have unclear boundaries, especially list_activities vs list_all_activities and list_sources vs get_all_sources, which appear to perform nearly the same listing operation with only subtle pagination differences. Descriptions do not clearly explain when to choose one over the other.
Most names follow a consistent snake_case verb_noun pattern (list_sessions, get_session, create_session, delete_session). Minor deviations exist: get_all_sources uses 'get' for a list operation, and list_all_activities/list_activities plus list_sources/get_all_sources introduce inconsistent list vs get_all phrasing.
13 tools is reasonable for a session/activity/source management server. However, the redundant auto-pagination variants slightly inflate the count, meaning not every tool clearly earns its place.
Core session lifecycle is covered with create, get, list, delete, bulk cleanup, plan approval, and messaging. Activities and sources are read/list-oriented, which may be appropriate if they are externally managed, but there is no update or termination operation beyond delete.
Maintenance
Related MCP Connectors
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Open-source AI agent control plane and software factory: govern every tool and model call.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.MIT

GenieOS MCP Serverofficial
AlicenseAqualityDmaintenanceStdio bridge for editors to connect to the GenieOS MCP server, enabling AI agents to interact with GenieOS via Streamable HTTP transport.6411 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.2MIT
- AlicenseNot gradedqualityBmaintenanceCoordinate and verify OpenCode worker agents over MCP Streamable HTTP. The bridge lets compatible AI harnesses dispatch scoped work, inspect progress, run approved commands, and verify results through a safe worker-only endpoint.4PolyForm Noncommercial 1.0.0