Jules API MCP
Enables automated code modification and repository management through Jules, supporting repository-specific sessions and the retrieval of pull request URLs for completed tasks.
Provides tools to interact with Jules, Google's AI coding agent, allowing for the management of sessions, approval of execution plans, and direct communication with the agent.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
jules-api-mcp
An MCP server for Jules — Google's AI coding agent. Manage Jules sessions from any MCP-compatible client: Claude, Gemini CLI, Cursor, Zed, VS Code, and more.
Tools
Tool | Description |
| List all Jules sessions |
| Get session details and current state |
| Create a new Jules session |
| Approve Jules's plan to proceed with execution |
| Send feedback or instructions to Jules |
| Full activity timeline for a session |
| Jules's latest outbound message |
| Get the PR URL from a completed session |
Related MCP server: Jules MCP Server
Requirements
Node.js 18+
A Jules API key (
JULES_API_KEY)
Installation
From source
git clone https://github.com/GreyC/jules-api-mcp
cd jules-api-mcp
npm install
npm run buildConfiguration
Add to your MCP client config (e.g. ~/.claude/claude_desktop_config.json or ~/.gemini/settings.json):
{
"mcpServers": {
"jules": {
"command": "node",
"args": ["/path/to/jules-api-mcp/dist/index.js"],
"env": {
"JULES_API_KEY": "<your-key>"
}
}
}
}Usage Examples
List all sessions:
list_sessions()Create a session with auto PR:
create_session(
repo="owner/repo",
prompt="Refactor the login function in auth.py to use async/await",
automation_mode="AUTO_CREATE_PR"
)Approve a plan:
approve_plan(session_id="<ID>")Send feedback:
send_message(session_id="<ID>", message="Looks good, please create the PR.")Session States
State | Meaning |
| Jules is actively working |
| Jules generated a plan, waiting for approval |
| Jules has a question mid-execution |
| Jules finished |
| Unrecoverable error |
Related
jules-skill — Agent skill with workflow guidance, decision heuristics, and prompt templates for autonomous Jules management
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for automating Google Jules that enables seamless integration for task creation, code analysis, and AI-powered development workflows. It supports multiple session modes including Browserbase and cookie-based authentication for both local and cloud environments.1310 npm14MIT
- AlicenseAqualityDmaintenanceAn MCP server for orchestrating Google Jules as a remote coding agent from a local coding agent, handling task decomposition, API dispatch, monitoring, intervention, code review, and PR merging.164 npmMIT
- AlicenseAqualityDmaintenanceMCP server for Google Jules enabling LLMs to create coding sessions with automatic pull request creation from issues or custom prompts.4MIT
- AlicenseAqualityAmaintenanceUnofficial MCP server for Google's Jules AI coding agent that lets AI assistants create and manage asynchronous coding tasks through the Jules API v1alpha.20109 npm2MIT