Google Jules MCP

by samihalawa

Not rated
GitHub

About

Automate Google Jules, the AI coding assistant, for tasks like code reviews, repository management, and AI-powered development workflows.

Details

Author
samihalawa
Categories
Developer Tools, AI

Setup

Install Google Jules MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/samihalawa/google-jules-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Automate Google Jules, the AI coding assistant, for tasks like code reviews, repository management, and AI-powered development workflows.

A Model Context Protocol (MCP) server for automating Google Jules - the AI coding assistant. This MCP enables seamless integration with Jules for task creation, code review automation, repository management, and AI-powered development workflows.

- Create Tasks: Automatically create Jules tasks with repository and description
- Monitor Progress: Track task status and get real-time updates
- Approve Plans: Review and approve Jules execution plans
- Resume Tasks: Resume paused or interrupted tasks
- Bulk Operations: Create multiple tasks efficiently

- Code Analysis: Analyze code changes and diffs
- Branch Management: Handle repository branches and configurations
- Source Navigation: Browse and analyze source files
- Review Automation: Automate code review workflows

- Send Messages: Send instructions and feedback to Jules
- Chat History: Track conversation history with Jules
- Context Extraction: Extract relevant context from task discussions

- Task Listing: List and filter tasks by status
- Progress Tracking: Monitor development progress across projects
- Data Persistence: Local storage of task data and history

- Node.js 18+
- TypeScript
- Git access to repositories you want to manage

# Clone the repository git clone https://github.com/samihalawa/google-jules-mcp.git cd google-jules-mcp # Install dependencies npm install # Build the project npm run build # Test the installation npm test

πŸ” Session Management & Authentication

The MCP supports 5 different session management modes:

🌐Browserbase (Recommended for Smithery)

Perfect for remote deployments and cloud hosting:

SESSION_MODE=browserbase BROWSERBASE_API_KEY=bb_live_g3i-b4WPFh__E3cErKE5rO-jWds # Your API key BROWSERBASE_PROJECT_ID=d718e85f-be7b-497d-9123-b1bbf798f1bb # Your project ID BROWSERBASE_SESSION_ID= # Optional: use existing session
SESSION_MODE=chrome-profile CHROME_USER_DATA_DIR=/Users/yourname/Library/Application Support/Google/Chrome/Default

Save browser data to a specific directory:

SESSION_MODE=persistent CHROME_USER_DATA_DIR=~/.jules-mcp/browser-data # Custom browser data directory

Create a.envfile or set environment variables:

// Create a task to fix a bug { "name": "jules_create_task", "arguments": { "description": "Fix the login authentication bug in the user dashboard. The issue occurs when users try to log in with special characters in their password.", "repository": "mycompany/webapp", "branch": "main" } }
// Get task details and progress { "name": "jules_get_task", "arguments": { "taskId": "9103172019911831130" } }
// Send additional context or instructions { "name": "jules_send_message", "arguments": { "taskId": "9103172019911831130", "message": "Please also add unit tests for the authentication fix and ensure backward compatibility." } }
// Create multiple tasks at once { "name": "jules_bulk_create_tasks", "arguments": { "tasks": [ { "description": "Add dark mode support to the UI", "repository": "mycompany/frontend", "branch": "feature/dark-mode" }, { "description": "Optimize database queries for user search", "repository": "mycompany/backend", "branch": "performance/search" } ] } }
// List active tasks { "name": "jules_list_tasks", "arguments": { "status": "in_progress", "limit": 10 } }
{ "name": "jules_session_info", "arguments": {} }

The server provides useful resources for context:

- jules://schemas/task- Complete task data model
- jules://current/active-tasks- Live list of active tasks
- jules://templates/common-tasks- Template examples for common development tasks

The MCP includes templates for common development scenarios:

- Bug Fix:"Fix the [specific issue] in [filename]. The problem is [description]."
- Feature Add:"Add [feature name] functionality to [location]. Requirements: [list requirements]."
- Refactor:"Refactor [component/function] to improve [performance/readability/maintainability]."
- Testing:"Add comprehensive tests for [component/function] covering [test cases]."
- Documentation:"Update documentation for [component] to include [new features/changes]."

The MCP is fully configured for Smithery deployment with comprehensive session management:
- Fork/Clonethis repository
- Deploy to Smithery: Visitsmithery.aiand connect your repo
- Configure Session Managementin Smithery settings:

SESSION_MODE=browserbase BROWSERBASE_API_KEY=bb_live_g3i-b4WPFh__E3cErKE5rO-jWds BROWSERBASE_PROJECT_ID=d718e85f-be7b-497d-9123-b1bbf798f1bb

- Access Remotely: Use your deployed MCP from any Claude Code instance

- βœ…No Local Browser: Runs entirely in the cloud
- βœ…Persistent Sessions: Maintain Google authentication across deployments
- βœ…Global Access: Use from anywhere with internet connection
- βœ…Auto-scaling: Handles multiple concurrent requests
- βœ…Zero Setup: No local dependencies or configuration needed

- Ensure you have proper access tojules.google.com
- Check if you're logged into your Google account
- Try running withHEADLESS=falseto see what's happening

- Verify repository names are correct (owner/repo-nameformat)
- Ensure you have access to the specified repositories
- Check that branches exist

- Make sure you have write access to the data storage path
- Verify repository permissions in GitHub

- Show browser interactions visually
- Take screenshots on errors
- Provide detailed logging

google-jules-mcp/ β”œβ”€β”€ src/ β”‚ └── index.ts # Main MCP server implementation β”œβ”€β”€ docs/ β”‚ └── referencerecordings/ # Browser automation references β”œβ”€β”€ scripts/ β”‚ └── test-mcp.js # Testing script β”œβ”€β”€ dist/ # Compiled output β”œβ”€β”€ package.json β”œβ”€β”€ tsconfig.json └── smithery.yaml # MCP deployment config

- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request

# Run the test suite npm test # Build and test npm run build && npm test # Development mode with file watching npm run dev

- Browser Automation: Uses Playwright for reliable web automation
- Data Persistence: Local JSON storage for task tracking
- Error Handling: Comprehensive error handling with meaningful messages
- Resource Management: Proper browser lifecycle management
- Security: No credential storage, relies on browser session

This MCP is designed to integrate with development workflows:
- Issue Tracking β†’ Jules Tasks: Convert GitHub issues to Jules tasks
- Code Review β†’ Automation: Automate code review processes
- CI/CD Integration: Trigger Jules tasks from deployment pipelines
- Team Collaboration: Share Jules task management across teams

MIT License - see LICENSE file for details.

- Built with theModel Context Protocol SDK
- Inspired by the tusclasesparticulares-mcp implementation patterns
- Browser automation powered by
Playwright

Note: This MCP requires access to Google Jules. Ensure you have appropriate permissions and access to the repositories you want to manage.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

AI-to-AI code review platform β€” Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.

Orchestrates a dual-AI engineering loop where a Primary AI plans and implements, while a Review AI validates and reviews, with continuous feedback for optimal code quality. Supports custom AI pairing (Claude, Codex, Gemini, etc.)

Provides AI assistants with a comprehensive, one-time analysis for complete codebase context and understanding.

Analyze and visualize code graphs using CodeGPT.

Code intelligence MCP server - PageRank, blast radius, co-change, hotspots, clone detection across 34 languages in a single Rust binary.

Hybrid decomp tool β€” AI decides WHERE to split your monolith, deterministic engine COPIES the code. Minimize tokens, maximize syntax validity.

Refactor TypeScript and JavaScript codebases using ts-morph. Supports renaming symbols and files, moving symbols, and searching for references.

An intelligent security agent that analyzes AI-generated code for vulnerabilities and assists with remediation.

ast-mcp-server gives coding agents compact, type-aware access to TypeScript and JavaScript projects. It uses the real compiler project model through ts-morph, so declarations, references, rename locations, and diagnostics come from the AST instead of text-search guesses.

Token-efficient MCP server for GitHub source code exploration via tree-sitter AST parsing

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.