SJ

savethepolarbears/jules-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

29 stars 9 forks 质量 62 趋势 8NOASSERTION

适用于 Google Jules API 的生产环境协议(MCP)服务器。支持人工智能助手的自主编码任务和调度。

概览

这是一台面向生产环境的 Google Jules API 服务器,支持自主编码任务并直接由 Claude 等 AI 助手调度。 : 这是一个和 。本服务器是社区驱动的与公共 Jules API 集成的。使用请自行承担风险。官方 Jules 文档请访问 jules.google。 如果你觉得有用,请为该仓库添加星⭐号,帮助他人发现它! 该MCP服务器将Google Jules编码代理与AI助手连接起来,使您能够: - - 将错误修复、重构、测试和功能委托给 Jules- - 建立自动化的每周/每日维护(依赖更新、安全审计等)

概述(AI 翻译)

一个面向生产环境的**模型上下文协议(MCP)**服务器,用于Google Jules API,支持自主编码任务并直接由像Claude这样的AI助手调度。

** 免⚠️责声明**:这是一个独立开源项目,且未由谷歌官方创建、维护或认可。该服务器是社区驱动的与公开Jules API的集成。使用请自行承担风险。官方Jules文档请访问 jules.google。

🌟 给这个仓库加星

如果你觉得有用,请为该仓库添加星⭐号,帮助他人发现它!

概述

该MCP服务器将Google Jules编码代理与AI助手连接起来,使您能够:

  • 创建编码任务 - 将修复错误、重构、测试和功能委托给Jules
  • 安排定期任务 - 设置自动化的每周/每日维护(依赖更新、安全审计等)
  • 监控进展 - 跟踪会话状态并审查生成的计划
  • 批准计划 - 代码变更前的人手环控
  • 管理工作流程 - 发送反馈并迭代Jules的工作

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Jules MCP Server

A production-ready Model Context Protocol (MCP) server for the Google Jules API, enabling autonomous coding tasks and scheduling directly from AI assistants like Claude.

⚠️ DISCLAIMER: This is an independent, open-source project and is NOT officially created, maintained, or endorsed by Google. This server is a community-driven integration with the public Jules API. Use at your own risk. For official Jules documentation, visit jules.google.

🌟 Star This Repository

If you find this useful, please star ⭐ the repository to help others discover it!

Overview

This MCP server bridges the Google Jules coding agent with AI assistants, allowing you to:

  • Create coding tasks - Delegate bug fixes, refactoring, tests, and features to Jules
  • Schedule recurring tasks - Set up automated weekly/daily maintenance (dependency updates, security audits, etc.)
  • Monitor progress - Track session states and review generated plans
  • Approve plans - Human-in-the-loop control before code changes
  • Manage workflows - Send feedback and iterate on Jules’s work
  • Activepieces Integration - Use the included Jules piece (pieces/jules) to automate coding tasks in your Activepieces workflows

Architecture: The “Thick Server” Pattern

Since the Jules API v1alpha is stateless (no native scheduling endpoints), this server implements a local scheduling engine:

  • Persistent Storage: Schedules stored in ~/.jules-mcp/schedules.enc
  • Cron Engine: Uses node-schedule for reliable task execution
  • Survives Restarts: Schedules are rehydrated on server startup
  • Autonomous Execution: Scheduled tasks run even without active IDE sessions

Installation

Prerequisites

  • Node.js 18.0.0 or higher
  • npm 9.0.0 or higher
  • Jules API Key - Generate at jules.google.com/settings
  • GitHub Repositories - Ensure your repositories are connected to Jules and the GitHub app is installed.

Developer Setup

# 1. Clone the repository
git clone https://github.com/savethepolarbears/jules-mcp-server.git
cd jules-mcp-server

# 2. Install dependencies
npm install

# 3. Configure environment
# Copy example env and fill in your JULES_API_KEY
cp .env.example .env

# 4. Verify the setup
npm run lint
npm run typecheck
npm run test

# 5. Build the project and run a smoke test to verify connectivity
npm run mcp:smoke

Quick smoke test (MCP stdio)

After building and setting JULES_API_KEY, you can validate the server end-to-end:

npm run mcp:smoke
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "jules": { "command": "node", "args": ["/path/to/jules-mcp/dist/index.js"], "env": { "JULES_API_KEY": "your-key-here" } } } }