GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Model Context Protocol server for Google's Jules AI coding agent
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
JULES_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"google-jules": {
"command": "npx",
"args": [
"-y",
"google-jules-mcp-server"
],
"env": {
"JULES_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add google-jules --env JULES_API_KEY=your-value -- npx -y google-jules-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"google-jules": {
"command": "npx",
"args": [
"-y",
"google-jules-mcp-server"
],
"env": {
"JULES_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"google-jules": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-jules-mcp-server"
],
"env": {
"JULES_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 georgeracu 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:JULES_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
If you're searching for a way to drive Google's Jules coding agent from Claude, Cursor, VS Code Copilot, or any other MCP client, this is that bridge. google-jules-mcp-server is an unofficial Model Context Protocol server that exposes the full Jules API (v1alpha) as 13 tools, so your assistant can create sessions, poll status, approve plans, and fetch the resulting pull request without you leaving the chat.
Developers running Jules across many repositories at once use it to let their AI assistant manage the whole async workflow: kick off a task, check on it later, and hand back a PR link when it's done, instead of switching to the Jules web app to babysit progress. Every response is validated at runtime through Zod schemas, so a drifted Jules API response fails loudly rather than silently breaking downstream code.
Model Context Protocol (MCP) server for Google's Jules AI coding agent — unofficial. Lets AI assistants like Claude create and manage asynchronous coding tasks through the Jules API v1alpha.
Jules is Google's AI coding agent that executes development tasks in isolated cloud VMs — generating code, fixing bugs, writing tests, updating dependencies, and refactoring across files. This server exposes the full Jules API surface as 13 MCP tools, covering repository sources, session lifecycle, and activity logs.
Tasks run asynchronously and typically complete in 5–60 minutes depending on complexity.
The server is organized by Jules resource domain rather than as one flat file:
src/
├── index.ts # entrypoint: connects the stdio transport ├── server.ts # createServer(): wires the MCP server + all tool registrations ├── core/ # transport-agnostic: auth, HTTP client, retry/backoff, typed errors, logging └── resources/ ├── sources/ # jules_list_sources, jules_get_source ├── sessions/ # session lifecycle (create/list/status/message/approve/output/delete/archive/unarchive) └── activities/ # jules_list_activities, jules_get_activity
Each resource module owns its own Zod schemas, a typed API client, and its MCP tool registrations. Zod schemas are the single source of truth: TypeScript types are inferred from them (z.infer), and every Jules API response is validated at runtime through core/http-client.ts — so a drifted API response fails loudly as a JulesResponseValidationError instead of silently producing undefineds downstream.
core/http-client.ts also centralizes retry-with-backoff (bounded, honors Retry-After) and a typed error hierarchy (JulesAuthError, JulesNotFoundError, JulesRateLimitError, JulesServerError, JulesClientError, JulesNetworkError, JulesResponseValidationError) so callers can distinguish failure modes programmatically rather than pattern-matching error strings.
The package is published on npm as google-jules-mcp-server. Most MCP clients can run it directly via npx — no separate install step needed, skip to step 2.
If you'd rather install it once instead of letting your client invoke npx on every launch:
npm install -g google-jules-mcp-server
This puts a google-jules-mcp binary on your PATH.
Building from source (for contributors, or to run unreleased changes):
git clone https://github.com/georgeracu/google-jules-mcp-server.git
cd google-jules-mcp-server npm install npm run build
Get a key from https://jules.google.com/settings#api. Set it directly in your MCP client's server config (see below) — that's the only place it needs to live for normal use.
If you're building from source and want to run npm run test:smoke or use .env for local scripts:
cp .env.example .env
Claude Desktop — edit the config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": { "jules": { "command": "npx", "args": ["-y", "google-jules-mcp-server"], "env": { "JULES_API_KEY": "your_actual_jules_api_key_here" } } } }
Claude Code:
claude mcp add jules -s user -e JULES_API_KEY=your_actual_jules_api_key_here -- npx -y google-jules-mcp-server
GitHub Copilot CLI:
copilot mcp add jules -e JULES_API_KEY=your_actual_jules_api_key_here -- npx -y google-jules-mcp-server
Or edit ~/.copilot/mcp-config.json directly:
{
"mcpServers": { "jules": { "type": "local", "command": "npx", "args": ["-y", "google-jules-mcp-server"], "env": { "JULES_API_KEY": "your_actual_jules_api_key_here" }, "tools": ["*"] } } }
VS Code (Copilot Chat agent mode) — via terminal:
code --add-mcp '{"name":"jules","command":"npx","args":["-y","google-jules-mcp-server"],"env":{"JULES_API_KEY":"your_actual_jules_api_key_here"}}'
Or add to .vscode/mcp.json (workspace) or via MCP: Open User Configuration (user-level):
{
"servers": { "jules": { "type": "stdio", "command": "npx", "args": ["-y", "google-jules-mcp-server"], "env": { "JULES_API_KEY": "your_actual_jules_api_key_here" } } } }
Cursor — add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-only):
{
"mcpServers": { "jules": { "command": "npx", "args": ["-y", "google-jules-mcp-server"], "env": { "JULES_API_KEY": "your_actual_jules_api_key_here" } } } }
OpenAI Codex CLI:
codex mcp add jules --env JULES_API_KEY=your_actual_jules_api_key_here -- npx -y google-jules-mcp-server
Or edit ~/.codex/config.toml directly:
[mcp_servers.jules]
command = "npx" args = ["-y", "google-jules-mcp-server"] env = { JULES_API_KEY = "your_actual_jules_api_key_here" }
If you installed globally instead, replace "command": "npx", "args": ["-y", "google-jules-mcp-server"] with "command": "google-jules-mcp", "args": [] (and any npx -y google-jules-mcp-server in a CLI command above with just google-jules-mcp).
If you're running from a local clone instead, use "command": "node", "args": ["/absolute/path/to/google-jules-mcp-server/build/index.js"] (an absolute path to build/index.js).
Behind a corporate proxy — to support enterprise/corporate proxy setups without requiring any server-side config, the server automatically picks up proxy settings from the environment. The underlying EnvHttpProxyAgent (from undici) honours the standard HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy, and NO_PROXY variables. What catches people out is that your MCP client spawns the server as a child process, so a variable exported in ~/.zshrc never reaches a GUI-launched app. Set it in the same env block as your API key:
{
"mcpServers": { "jules": { "command": "npx", "args": ["-y", "google-jules-mcp-server"], "env": { "JULES_API_KEY": "your_actual_jules_api_key_here", "HTTPS_PROXY": "http://proxy.example.com:8080", "NO_PROXY": "localhost,127.0.0.1" } } } }
Proxied requests are broken in 0.2.3 and earlier, where every call fails on a gzipped response the client never decoded. If you hit that, upgrade rather than reconfigure.
Restart your client after editing its config.
Ask your assistant: "List my Jules repositories." You should see the jules server connected with 16 tools available.
| Tool | Purpose |
|---|---|
jules_list_sources | List GitHub repositories connected to Jules |
jules_get_source | Get details (branches, visibility) for one connected repository |
jules_create_session | Start a new asynchronous coding task |
jules_list_sessions | List sessions and their states |
jules_list_stuck_sessions | List sessions awaiting plan approval or user feedback, following pagination automatically |
jules_get_status | Check a session's status and recent activity |
jules_send_message | Send a follow-up instruction to a running session |
jules_approve_plan | Approve a session's execution plan (when requirePlanApproval was set) |
jules_get_session_output | Retrieve the final output (PR details) of a completed session |
jules_delete_session | Permanently delete a session |
jules_archive_session | Archive a session without deleting it |
jules_unarchive_session | Restore an archived session |
jules_wait_for_session | Wait/poll for a session to reach a terminal state |
jules_execute_and_wait | Create a session and wait for it to complete in one call |
jules_list_activities | Get a session's detailed activity log |
jules_get_activity | Get a single activity by ID |
Everything these tools return lands in your assistant's context window, and an autonomous coding session can produce very long agent messages, progress descriptions and plans of hundreds of steps. The server therefore caps what it hands back, and says so in-band whenever it cuts something, so the assistant can decide whether to go and fetch the rest.
| Tool | Cap |
|---|
| jules_get_status | 100 characters per activity i
只显示了开头部分;其余内容请在仓库中阅读