MCP (Model Context Protocol) server for Google Jules AI coding agent API
npm install google-jules-mcpAn MCP (Model Context Protocol) server that provides access to the Google Jules API - Google's AI-powered coding agent for automating software development tasks.
This MCP server exposes all Jules API capabilities:
``bash`
npx google-jules-mcp
`bash`
npm install -g google-jules-mcp
google-jules-mcp
Set your Google Jules API key:
`bash`
export GOOGLE_JULES_API_KEY=your_api_key_here
Add to your MCP client configuration (e.g., Claude Desktop):
`json`
{
"mcpServers": {
"google-jules": {
"command": "npx",
"args": ["google-jules-mcp"],
"env": {
"GOOGLE_JULES_API_KEY": "your_api_key_here"
}
}
}
}
``
Use jules_list_sources to see all connected GitHub repositories.
``
Use jules_create_session with:
- prompt: "Fix the authentication bug in login.js"
- source: "sources/github/myorg/myrepo"
- startingBranch: "main"
- automationMode: "AUTO_CREATE_PR"
``
Use jules_list_activities with the sessionId to see what Jules is doing.
```
Use jules_send_message to ask Jules questions or provide feedback during a session.
To get your Jules API key:
1. Go to Jules Settings
2. Create a new API key
3. Keep it secure - don't share or commit it to public repositories
- Node.js 18.0.0 or higher
- A Google Jules API key
- GitHub repositories connected to Jules (via the Jules web app)
MIT