jules
Unofficial MCP server for Google Jules agent π
claude mcp add --transport stdio codeagentbridge-jules-mcp-server python -m jules_mcp \ --env JULES_API_KEY="<your_api_key_here>"
How to use
The Jules MCP Server exposes Google Jules Agent operations via FastMCP, allowing MCP clients to discover Jules sources, manage sessions, and inspect activities through the jules-agent-sdk. The server organizes capabilities into three tool areas: Sources, Sessions, and Activities. You can query sources with list_sources or get_all_sources, create and manage sessions with create_session, approve_session_plan, send_session_message, and wait_for_session_completion, and inspect or enumerate activities with get_activity, list_activities, or list_all_activities. The official signatures and inline docs live in the jules_mcp/jules_mcp.py module, which you can reference for parameter shapes and return structures. When running programmatically, you can interact through the FastMCP client, calling tools by name with the appropriate argument payloads.
To use the server from a Python environment, you typically either run the module as a standalone server or instantiate a FastMCP Client against the running server. The examples show how to list sources, create a session with a prompt and source, optionally approve a plan, wait for completion, and then inspect activities. Environment configuration, notably the Jules API key, must be provided so the SDK can authenticate API requests to Jules.
How to install
Prerequisites:
- Python 3.13+ installed on your system
- Access to the Jules API and a valid API key (JULES_API_KEY)
- Optional: uv (for development) and a Python virtual environment tool
Installation steps:
-
Create and activate a virtual environment (recommended): python -m venv .venv
macOS/Linux
source .venv/bin/activate
Windows (PowerShell)
..venv\Scripts\Activate.ps1
-
Install the package in editable mode (from local checkout): pip install -e .
-
Install development dependencies (optional): pip install -e .[dev]
-
(Optional) Install uv for development workflow as described in the README: pip install uv
-
Ensure your environment variable for Jules API key is set prior to running the server:
- Unix shells: export JULES_API_KEY="<your_api_key_here>"
- Windows PowerShell: $Env:JULES_API_KEY = "<your_api_key_here>"
-
Run the server (module entry point): python -m jules_mcp
If you prefer running via uv for development, see the READMEβs guidance on using uv to run the MCP server.
Additional notes
Tips and notes:
- The server expects a Jules API key; without it, many operations will fail. Configure JULES_API_KEY in your environment.
- The mcp config supports running the server via the Python module entry point or as a standalone FastMCP server. The README shows both in-process usage and external server execution.
- When using the Python client examples, ensure you are connected to the same MCP instance and that the mcp object is correctly initialized in jules_mcp.
- For debugging, run with development dependencies installed and consider running tests with uv run pytest -q, noting that Jules API calls may require a valid key.
- If you modify paths or checkout locations, adjust any MCP.json or fastmcp.json configuration references accordingly.
Related MCP Servers
lihil
2X faster ASGI web framework for python, offering high-level development, low-level performance.
ReActMCP
ReActMCP is a reactive MCP client that empowers AI assistants to instantly respond with real-time, Markdown-formatted web search insights powered by the Exa API.
jmeter
β¨ JMeter Meets AI Workflows: Introducing the JMeter MCP Server! π€―
example
A ready-to-use MCP (Model Context Protocol) server template for extending Cursor IDE with custom tools. Deploy your own server to Heroku with one click, create custom commands, and enhance your Cursor IDE experience. Perfect for developers who want to add their own tools and commands to Cursor IDE without complex setup.
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
cloudwatch-logs
MCP server from serkanh/cloudwatch-logs-mcp