Provides tools for git branch management, including creating, merging, and listing local branches to support staged orchestration and development workflows.
Integrates with the Google Jules API to orchestrate multiple AI instances for comprehensive code generation, bug fixing, and security-focused code reviews.
Click on "Install 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 ServerCreate a worker to fix the bug in server.js on a new branch"
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.
Jules MCP Server
TypeScript-based Model Context Protocol (MCP) server for orchestrating multiple Jules AI instances with comprehensive code generation, bug fixing, and review capabilities.
๐ Features
Core Capabilities
Multi-Instance Orchestration: Create and manage multiple Jules workers simultaneously
Real-Time Activity Monitoring: Track worker progress and status updates
Plan Approval Flow: Review and approve Jules-generated plans before execution
Direct Worker Communication: Send messages between workers for coordination
Shared Memory System: Store and retrieve data across worker sessions
Git Integration: Branch creation and merging for staged orchestration workflow
MCP Protocol Compliance
3 Core Tools: jules_create_worker, jules_send_message, jules_get_activities
ESM Module Support: Modern JavaScript module system compatibility
Zod Schema Validation: Comprehensive input validation and error handling
TypeScript Implementation: Full type safety and modern development practices
Quick Start
Prerequisites
Node.js 18+
Jules API key
Installation via npx (Recommended)
Local Development
Configuration
Environment Variables
Get your API key from: https://jules.google.com/settings#api
MCP Client Configuration
Add to your claude_desktop_config.json:
MCP Tools & Resources
๐ ๏ธ MCP Tools
jules_create_worker- Create Jules AI workers for specific implementation tasks (supports Roles: Maestro, Crew, Evaluator)jules_send_direct_message- Send direct messages between workersjules_estimate_work- Create an Evaluator worker for task estimationjules_store_memory- Store shared memory valuesjules_read_memory- Read shared memory valuesjules_create_branch- Create a new git branch (essential for Staged Orchestration)jules_merge_branch- Merge a feature branch into a target branchjules_list_branches- List all local branchesjules_generate_code- Generate code for specific requirements with context awarenessjules_fix_bug- Analyze and fix bugs in existing codejules_review_code- Comprehensive code review with security and quality assessmentjules_get_status- Check worker status and progress
๐ MCP Resources
jules_documentation://- Comprehensive documentation for all featuresjules_templates://- Pre-built templates for common development patternsjules_examples://- Real-world examples and implementation patternsworkers://all- View all active workersworker://{session_id}/status- Individual worker status
Usage Examples
Basic Code Generation
Bug Fixing
Code Review
Claude + Jules Workflow
1. Planning Phase (Claude)
Claude creates detailed specifications and planning documents using the knowledge base:
2. Implementation Phase (Jules)
Jules implements based on Claude's specifications:
3. Review & Integration
Both Claude and Jules collaborate on code quality and integration.
Knowledge Base
The Jules MCP server includes a comprehensive knowledge base with:
250+ Community-Curated Prompts: From the Google Jules Awesome List
20+ Development Categories: Web, mobile, backend, DevOps, security
Real-World Examples: Production-tested patterns and implementations
Performance Benchmarks: Optimization strategies and best practices
Access the knowledge base through:
JULES_KNOWLEDGE_BASE.md- Complete prompt libraryMCP tools for prompt recommendations
Context-aware suggestions based on project type
Testing
Monitoring & Analytics
Health Checks
Metrics Available
Request Volume: API calls per minute/hour
Cost Tracking: Real-time cost accumulation
Cache Performance: Hit rates and efficiency
Error Rates: Types and frequency of errors
Response Times: Latency percentiles
Status
โ Production Ready - Enhanced implementation with knowledge base integration โ Google Jules API - Full API integration with cost optimization โ MCP Protocol - Complete Model Context Protocol compliance โ Knowledge Base - 250+ community-curated prompts integrated โ Performance - 11,981+ activities/second capability demonstrated โ Enterprise Features - Cost tracking, security, monitoring
Architecture
src/index.ts- Main MCP server entry point with tool registrationsrc/jules-client.ts- Jules API client with TypeScript typessrc/worker-manager.ts- Worker orchestration and managementdist/- Compiled JavaScript output for distributionpackage.json- Node.js package configuration and dependencies
Built with: @modelcontextprotocol/sdk, TypeScript, axios, zod
Version: 1.0.0 | Last Updated: 2026-01-24 | Support: Enterprise Available