GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Run Codex and Claude Code on your computer from an MCP client, and track or continue their runs.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentgo": {
"command": "npx",
"args": [
"-y",
"agentgo-mcp",
"stdio"
]
}
}
}在终端中运行这条命令
claude mcp add agentgo -- npx -y agentgo-mcp stdio粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentgo": {
"command": "npx",
"args": [
"-y",
"agentgo-mcp",
"stdio"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentgo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentgo-mcp",
"stdio"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Nishkalkashyap 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.1)于32天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AgentGo lets an AI assistant run Codex and Claude Code on your computer. It's an MCP server: once your MCP client is connected to it, the assistant can look around the projects you've allowed, hand a coding task to Codex or Claude Code, check on it while it works, and read the result.
AgentGo runs on the computer where your code and your logged-in codex and claude CLIs live, and puts itself behind a Cloudflare tunnel, so the assistant can reach it from anywhere: a cloud agent, your phone, or another laptop.
Read this first. The agents run as you, with your files, your logins and your git credentials, and they approve their own actions. Anyone who has the AgentGo password can make them do anything they'd do for you. Only give the password to clients you'd trust at your keyboard, and only add projects you'd let an agent loose on.
I got sick of Codex's remote connection and remote device setup. I never got it working reliably, and when it did work it was too slow. AgentGo is my answer to that.
codex, claude, or both, installed and logged in. AgentGo uses your existing logins and never asks for API keys. It's tested with Codex 0.160.1 and Claude Code 2.1.291.rg) on your PATH, for the file search tools. On macOS: brew install ripgrep.cloudflared for the tunnel. If you don't have it, AgentGo can download it for you (see below).Authorization header.Install the CLI and check that everything it needs is there:
npm install -g agentgo-mcp
agentgo doctor
This installs two commands, agentgo and agentgo-mcp. They're the same thing; this README uses agentgo.
doctor shows whether codex, claude, rg and cloudflared are installed and whether you're logged in to each agent.
Next, tell AgentGo where your projects are. Point it at the folder they live in, and every folder inside it becomes a *workspace* that agents can work in:
agentgo workspace add-folder ~/code
Each workspace is named after its folder, so ~/code/my-app becomes my-app (spaces and other odd characters turn into dashes). Projects you create later show up on their own, and hidden folders are skipped. To add a single project that lives somewhere else, give it a name yourself:
agentgo workspace add notes ~/Documents/notes
agentgo workspace list shows what agents can see, and agentgo workspace remove takes something away. Changes apply straight away, even while the server is running.
Then start the server:
agentgo start
This starts AgentGo in the background along with a Cloudflare tunnel, then prints an MCP URL and the header to send with it:
MCP URL: https://<random-words>.trycloudflare.com/mcp
Header name: Authorization Header value: Bearer
Add both to your MCP client. Include the word Bearer and the space after it.
The password is created the first time you run start and reused after that. Running start again while the server is up just prints it again. To replace it, run agentgo token rotate; the old one stops working straight away.
If cloudflared isn't installed, start stops and tells you. Install it yourself (brew install cloudflared on macOS), or run agentgo start --yes to let AgentGo download the official release from GitHub and check it against its published checksum. Pass --cloudflared if yours is somewhere unusual.
agentgo status
agentgo stop agentgo restart
You don't need to restart after changing workspaces, models or settings; the server picks up changes on the next request. Stopping the server interrupts any runs in progress. Edits they already made stay, but nothing is undone or resumed automatically.
If the server won't start, its log is at ~/.agentgo/daemon.log.
Add --json to any command if you're calling it from a script. The password is in the token field.
By default you get a Cloudflare Quick Tunnel. It needs no Cloudflare account, but its URL changes every time the tunnel starts or reconnects. If you have a domain on Cloudflare, you can use a fixed address instead:
agentgo stop
agentgo start --custom-domain-with-cf agents.example.com
If cloudflared isn't logged in to your Cloudflare account yet, this opens a browser so you can log in. AgentGo then creates a tunnel in your account (or reuses the one it made before) and adds a DNS record for the hostname. It won't overwrite a DNS record that already exists.
If you'd rather manage the tunnel in the Cloudflare dashboard, point its public hostname at http://127.0.0.1:8765, save the tunnel token to a file, and run:
agentgo start --tunnel-token-file ~/tunnel-token --hostname agents.example.com --port 8765
start remembers how it was last started, so later start and restart calls reuse the same tunnel. Pass --quick to go back to a Quick Tunnel, or --local to listen on 127.0.0.1 with no tunnel at all.
If the tunnel drops, AgentGo reconnects it in the background. Runs in progress aren't affected.
If your MCP client runs on the same computer, it can launch AgentGo directly instead:
{
"mcpServers": { "agentgo": { "command": "agentgo", "args": ["stdio"] } } }
There's no tunnel or password in this mode. Runs only last as long as the client keeps AgentGo open: when the client disconnects, runs in progress are interrupted.
The stdio server and the background server can't use the same state directory at the same time. Either stop the background server first, or give the stdio one its own directory with "args": ["stdio", "--state-dir", "/path"] and add workspaces to it with the same --state-dir.
AgentGo gives the assistant 13 tools.
Finding its way around. These read files directly. They don't start an agent.
| Tool | What it does |
|---|---|
listWorkspaces | Lists the projects you've added |
listDirectory | Lists the files and folders in a directory |
readFile | Reads lines from a text file |
globFiles | Finds files by name pattern, such as src/**/*.ts |
grepFiles | Searches file contents with ripgrep |
Running agents.
| Tool | What it does |
|---|---|
getAgentCapabilities | Shows which agents are installed and their versions |
getSupportedModels | Lists the models, effort levels and service tiers each agent accepts |
startAgentRun | Gives Codex or Claude Code a task in a workspace |
getAgentRunStatus | Checks whether a run is queued, running or finished |
getAgentRunOutput | Reads what the agent said and did, and its final answer |
listAgentRuns | Lists past and current runs |
cancelAgentRun | Stops a run |
continueAgentSession | Sends a follow-up to a finished run, in the same conversation |
A run started by the assistant looks like this:
{
"provider": "codex", "model": "gpt-6.1-sol", "effort": "high", "serviceTier": "priority", "workspaceId": "my-app", "prompt": "Fix the failing tests and explain what was wrong.", "idempotencyKey": "fix-tests-1" }
It returns straight away with a taskId and a sessionId. The assistant then polls getAgentRunStatus and reads the result with getAgentRunOutput. To follow up, it calls continueAgentSession with the sessionId and a new prompt.
A few things worth knowing:
workspace-write sandbox and its automatic reviewer (auto_review). Claude Code runs in auto mode with permission prompts turned off. Their reviewers can still refuse an action. Nobody is there to answer questions mid-run, so if Codex asks for input, the run fails with INPUT_REQUIRED. There's no option to bypass permissions entirely.readFile, grepFiles and the rest stay inside the workspace, don't follow symlinks, and refuse secrets such as .env, .ssh, .aws, .git, .npmrc and private keys. Agents are only held back by their own sandbox and reviewer, so they can read and run whatever those allow.globFiles and grepFiles search one workspace at a time, up to 100,000 files. They follow .gitignore, skip hidden files, and skip folders such as node_modules, vendor, dist, build, target, .venv and __pycache__ wherever they appear. listDirectory and readFile can still open those.getSupportedModels first. Codex reports its own list. For Claude, AgentGo starts with the sonnet and opus aliases at low, medium and high effort; add others with agentgo model add claude-sonnet-5-5 --efforts low,medium,high,xhigh,max. An unknown model, effort or tier is an error, never silently swapped. Leave out serviceTier for Claude.idempotencyKey. If the assistant retries with the same key and arguments, it gets the original run back. Reusing a key with different arguments is an error.limits.wallTimeSeconds, up to an hour by default.Everything lives in ~/.agentgo: your workspaces and settings, the password, tunnel settings, run history, the server log, and cloudflared if AgentGo downloaded it. Use --state-dir or the AGENTGO_HOME environment variable to put it somewhere else. Workspaces can't be inside it, or contain it.
Run history is kept for 30 days. After that, prompts and output are deleted, but a small record of each run stays so a very late retry still can't start it again. Codex and Claude Code keep their own conversation history separately, and AgentGo doesn't touch it.
If the server stops unexpectedly, runs that were in progress are marked interrupted when it next starts. They're never re-run automatically; check the workspace for half-finished changes and continue the session yourself if you want.
Agents don't inherit your whole environment. They get PATH, HOME, locale, proxy settings, and the variables Codex and Claude Code use to log in (OPENAI_*, ANTHROPIC_*, and the AWS, Google and Azure ones). The AgentGo password is never passed to them.
agentgo config show prints the current settings. You can change these in ~/.agentgo/config.json:
| Setting | Default | What it controls |
|---|---|---|
maxConcurrentRuns | 5 | Runs that can go at once (up to 8) |
maxQueuedRuns | 100 | Runs that can wait in the queue |
maxRunSeconds | 3600 | The longest time limit a run can ask for |
maxRunOutputBytes | 10 MiB | Output a run can produce before it's stopped |
retentionDays | 30 | How long prompts and output are kept |
| searchExclude | node_modules, dist, … | Folder
只显示了开头部分;其余内容请在仓库中阅读