GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Lets your AI find open-source tools on GitHub and install them as sandboxed MCP tools.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"legwork": {
"command": "uvx",
"args": [
"legwork-mcp",
"hub"
]
}
}
}在终端中运行这条命令
claude mcp add legwork -- uvx legwork-mcp hub粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"legwork": {
"command": "uvx",
"args": [
"legwork-mcp",
"hub"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"legwork": {
"type": "stdio",
"command": "uvx",
"args": [
"legwork-mcp",
"hub"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 kumarganduri 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.19)于6天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Your AI finds the open-source tool it needs on GitHub. Legwork installs it in a sandbox.
https://github.com/user-attachments/assets/9e9b80b5-99ff-4d21-b689-74655418f23d
A real run in Claude Desktop. The 25-second install is sped up; the malware repos' names are masked.
Add Legwork to Claude, Cursor, Codex, opencode or any MCP client once. When you ask for something your AI has no tool for, it searches GitHub, picks a repo, and asks you to approve installing it. Legwork then checks the code for hidden payloads, builds a working tool for it in a sandbox, tests it, and hands it over. In your home folder it can only read the folders you allow.
claude mcp add legwork -- uvx legwork-mcp hub --allow-read ~/Downloads
Then just ask. Four to try first, all from the public cache, so they need no API key:
Saying "use Legwork" matters in Claude Desktop: without it, Claude may reach for its own cloud code sandbox, which can't see the files on your computer unless you attach them.
Your AI finds the tool (faster-whisper, rembg, pdfplumber, qrcode), you approve the install, and about a minute later it does the job. Files a tool makes are copied to ~/Legwork/outputs/. On macOS, the first time a tool reads Downloads, macOS asks whether uvx may access it; allow it once. If something doesn't work, uvx legwork-mcp doctor checks your setup. Or build one tool yourself: uvx legwork-mcp owner/repo (a model key for repos not in the cache).
On 2026-09-26 we ran Legwork against the 10 most-starred AI repos created on GitHub in the previous week, taken exactly as search ranked them, with nothing skipped for being hard:
| Outcome | Repos |
|---|---|
| ✅ Built a working MCP server | 3 — an npm CLI, a Python library, a Go binary |
| ↩️ Refused, with the right reason | 5 — two Android/macOS apps, a desktop app, a repo with no usage docs, a tool that needs its own API keys |
| 🛑 Blocked before install (malware) | 2 |
Two of those top-10 "AI tools", about 700 stars each and three days old at the time, carried the same byte-identical obfuscated dropper under different file names. Legwork's pre-install scan refused both in about a second. Nothing from them was installed or run. Stars are not a trust signal.
The tripwire has to stay quiet on ordinary code too. Run over the 150 most-starred Python, JavaScript and TypeScript repos on GitHub (2026-10-01), it blocks one: lodash, for a vendored 2009 debugging script that really does run eval(unescape(...)).
Full write-up, including what failed along the way and what we fixed: docs/designs/legwork-trending-trial-2026-09-26.md.
A second, larger run on the next 22 new trending repos, with two models: gpt-5 built 12 and refused 10 with reasons, with no crashes; OpenRouter's free Nemotron built 4. That run also caught two false malware alarms and a gap where only published packages could be installed, both fixed. Write-up.
legwork hub is one MCP server that gives your AI five tools: find_tools, install_tool, install_status, list_installed_tools and use_tool.
claude mcp add legwork -- uvx legwork-mcp hub --allow-read ~/Downloads
For Claude Desktop (macOS), download legwork.mcpb and double-click it. Desktop installs it as an extension and lets you pick the folders tools may read (Downloads by default) and whether they may use the internet, under Settings → Extensions → Legwork → Configure. It runs the released legwork-mcp from PyPI, pinned to that release.
Or, for Cursor or Claude Desktop without the extension, add this to the MCP config (for Claude Desktop, while the app is quit), with your own user name in the path: a folder that doesn't exist stops the hub from starting.
{ "mcpServers": { "legwork": { "command": "uvx",
"args": ["legwork-mcp", "hub", "--allow-read", "/Users/you/Downloads"] } } }
For opencode, add this to ~/.config/opencode/opencode.json. opencode runs MCP tools without asking by default, so the permission line is what makes it ask you before an install:
{
"$schema": "https://opencode.ai/config.json", "mcp": { "legwork": { "type": "local", "command": ["uvx", "legwork-mcp", "hub", "--allow-read", "~/Downloads"] } }, "permission": { "legwork_install_tool": "ask" } }
legwork build asks y/N in the terminal).--allow-net. Secret folders (~/.ssh, ~/.aws, ...) are refused outright.pdfplumber__extract_tables), and use_tool works in clients that don't refresh their tool list. Installs are remembered across restarts.37 tools are in the [public cache](cache/) and install in about a minute with no API key: speech-to-text, OCR, background removal, PDFs and Office files, video, YouTube transcripts, charts, DuckDB and CSV tools, maths and units, and linters and formatters. Each was built, reviewed by hand and tried with a real call before it was added, and pins the version of the package it wraps (its dependencies resolve at install). The cache a release reads is the one tagged with that release, so a change to the cache reaches you only with an upgrade. Others need a model key, and building takes 1–5 minutes. Put the key in ~/.legwork.env (three lines, chmod 600) and the hub reads it when it needs to build, so the key never goes in your MCP config, where it would sit in plain text.
legwork find "extract tables pdf" runs the same search from your terminal.
--allow-net; without it they install, then can't connect.~/Legwork/outputs/ /, and the reply says where; images also come back inline. Your granted folders stay read-only, so a tool can't write next to your files. The copies are never executable, and on macOS they get the same quarantine flag as downloads. --outputs DIR puts them elsewhere, --outputs off turns copying off.find_tools uses 2 to 4. Cached tools still show up when GitHub says no. For 30 a minute, add GITHUB_TOKEN= to ~/.legwork.env.Legwork is a standard MCP server over stdio, so any client that runs local MCP servers can use it. What differs is whether the client asks you before it calls a tool. Legwork labels its tools (searching only reads; installing acts), and the clients marked "asks" use those labels.
| Client | Tested | Add Legwork | Before an install |
|---|---|---|---|
| Claude Code | ✅ | claude mcp add legwork -- uvx legwork-mcp hub --allow-read ~/Downloads | asks |
| Claude Desktop | ✅ | JSON above | asks |
| Cursor | ✅ | JSON above | its default Auto-review mode lets an AI decide, and ran installs without asking in our test; to approve every install, set Settings → Agents → Approvals & Execution to Allowlist and leave install_tool off the list |
| opencode | ✅ 1.18 | JSON above | asks only with the permission line above |
| Codex CLI | ✅ 0.159 | codex mcp add legwork -- uvx legwork-mcp hub --allow-read ~/Downloads | asks |
| Goose | ✅ 1.52 | goose session --with-extension "uvx legwork-mcp hub --allow-read ~/Downloads" | asks with GOOSE_MODE=smart_approve; the default mode doesn't |
| OpenClaw | ✅ 2026.9 | openclaw mcp add legwork --command uvx --arg legwork-mcp --arg hub --arg --allow-read --arg ~/Downloads | its default full-permission mode doesn't ask |
| Gemini CLI, Cline, Zed, Continue, ... | not yet | the same command in the client's MCP config | check the client's settings |
In every client, the folders and network you start the hub with stay the ceiling, whether or not the client asks.
Faster starts: uvx downloads Legwork on the first run, which can be slower than some clients wait (Codex allows 10 seconds; add startup_timeout_sec = 60 under [mcp_servers.legwork] in ~/.codex/config.toml). Or install it once with uv tool install legwork-mcp and use the full path that which legwork prints, plus hub ..., as the command (desktop apps don't see your shell's PATH); uv tool upgrade legwork-mcp updates it.
You need macOS or Linux and uv. Tools in the public cache need nothing else. For any other repo you also need a model key for an OpenAI-compatible chat-completions endpoint (see Model providers). Legwork itself is free; the only cost is your own model usage, which is 1–3 calls per build.
Linux: install bubblewrap (and one step on Ubuntu 24.04+)
The Linux sandbox is bubblewrap:
sudo apt install bubblewrap python3-venv # Debian/Ubuntu
sudo dnf install bubblewrap # Fedora
Ubuntu 24.04 and later block the user namespaces bubblewrap needs, unless a program's AppArmor profile allows them. Allow them for bwrap only (this is what Ubuntu does for Chrome and
只显示了开头部分;其余内容请在仓库中阅读