Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Cut AI agent token costs 5-15x — routes only relevant code symbols instead of full files.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agent-booster": {
"command": "uvx",
"args": [
"agent-booster"
]
}
}
}在终端中运行这条命令
claude mcp add agent-booster -- uvx agent-booster粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agent-booster": {
"command": "uvx",
"args": [
"agent-booster"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agent-booster": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-booster"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 sseshachala 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.6.4)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Starreel
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Turn a script into a finished, downloadable short-drama episode — via MCP or REST.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
This repository is archived. Agent Booster now lives in
sseshachala/conductai→tools/booster. Install from PyPI (pip install agent-booster); file issues and PRs on conductai.
Cut AI coding agent token costs 5–15x by routing only the code that matters.
Instead of sending full source files to the model on every read, Agent Booster builds a symbol index of your codebase and returns only the functions and classes relevant to the current task.
Without Booster With Booster
───────────────── ──────────────────────────── Read executor.py smart_read executor.py + task → 1,881 lines (~6k tokens) → 3 matching functions (~200 tokens)
Five layers work together:
| Layer | What it does |
|---|---|
| Symbol index | tree-sitter parses every .py, .ts, .tsx, .js, .jsx file, extracts functions/classes into SQLite |
| Vector embeddings | sentence-transformers encodes each symbol for semantic search |
| Smart read | given a file + task, runs per-file vector search and returns only matching symbol line ranges |
| MCP server | exposes four tools over stdio — any MCP-compatible agent can call them |
| Platform init | one command writes the right config for Claude Code, Cursor, Windsurf, or Codex |
Requires Python 3.10+.
pip install agent-booster # symbol index + MCP tools
pip install agent-booster[embed] # + semantic vector search (recommended)
Step 1 — Wire up your AI tool
booster init claude # Claude Code
booster init cursor # Cursor booster init windsurf # Windsurf booster init codex # OpenAI Codex CLI booster init all # all four
Each command shows exactly what files will change, asks for confirmation, then writes them. Fully reversible:
booster remove claude # or cursor, windsurf, codex, all
Example — wiring up OpenAI Codex (booster init codex → booster start → booster gain):
Run once per project, not once per session.
The hooks live in
.claude/settings.jsonand.mcp.jsonat the project root.
Every Claude Code session opened in this directory — any terminal window, same machine — picks them up automatically.
No per-session setup needed.
Step 2 — Index your codebase
Run once from your project root. Re-run after large refactors.
booster index && booster embed
The index is stored at .booster/ (gitignored). The index is shared across all sessions.
Step 3 — Restart your AI tool
The agent-booster MCP server is now available in every session. Claude Code (and other tools) will use smart_read and search_context automatically on indexed files.
Step 4 — Track savings
booster gain
booster init Writes the MCP server config and rules file for the target platform. Asks for confirmation before making any changes.
booster init claude # .mcp.json + CLAUDE.md + .claude/settings.json hook
booster init cursor # .cursor/mcp.json + .cursorrules booster init windsurf # ~/.windsurf/mcp.json + .windsurfrules booster init codex # ~/.codex/config.json + AGENTS.md booster init all # all four
booster init claude --yes # skip confirmation (CI/scripts)
booster remove Cleanly undoes everything init wrote. No residue.
booster remove claude
booster remove cursor booster remove windsurf booster remove codex booster remove all
booster indexScans all .py, .ts, .tsx, .js, .jsx files from the current directory. Extracts functions, classes, methods, and interfaces into .booster/symbols.db. Skips node_modules, .venv, __pycache__, .git, .booster, .next, dist, build.
booster index
booster embedBuilds sentence-transformer vector embeddings for all indexed symbols. Required for semantic search_context calls. Uses all-MiniLM-L6-v2 (local, no data leaves your machine).
booster embed
booster search " "Keyword search across all indexed symbols. Returns file path, line number, kind, name, and signature.
booster search "guard install"
booster route " "Recommends haiku, sonnet, or opus based on task complexity — keyword signals, file count, and symbol count.
booster route "fix the guard SSE role check"
booster route "refactor the entire runtime compiler and DSL layer"
booster serveStarts the MCP server over stdio. Called automatically by Claude Code, Cursor, Windsurf, and Codex when configured via booster init. You rarely need to run this directly.
booster gainShows token savings from past smart_read calls — total reads, tokens served vs. tokens saved, savings rate, and top files by savings.
Agent Booster — Token Savings Report
───────────────────────────────────── Active days: 3 Total reads: 47 Tokens served: 12,400 Tokens saved: 89,200 Savings rate: 88%
Top files by savings: executor.py 18,400 tokens saved (12 reads) guard.py 14,200 tokens saved (8 reads)
Once booster serve is running, these four tools are available to the agent:
get_symbols(file)Returns all indexed symbols for a file — name, kind, line range, and signature. No file read required.
Input: { "file": "apps/api/app/runtime/executor.py" }
Output: function run_workflow (lines 42-89): def run_workflow(...) class WorkflowState (lines 91-140): class WorkflowState:
search_context(task)Semantic vector search across all symbols in the index. Returns top 10 matches by cosine similarity. Falls back to keyword search if embeddings haven't been built.
Input: { "task": "guard install uninstall" }
Output: apps/web/src/app/settings/modules/page.tsx:99 function handleInstall — function handleInstall() { apps/web/src/components/guard/GuardNav.tsx:13 function GuardNav — function GuardNav() { ...
smart_read(file, task)Runs per-file vector search and returns only the source lines for matching symbols, with a header showing name and line range. If no symbols match, returns an explicit message so the model knows to fall back to a full Read rather than silently receiving the whole file.
Input: { "file": "apps/api/app/runtime/executor.py", "task": "execute output block" }
Output: # function _execute_output (lines 1165-1210) def _execute_output(block, state, credentials, ...): ...
route_model(task, files?)Recommends haiku, sonnet, or opus based on task complexity signals. If files is omitted, auto-detects via search_context.
Input: { "task": "fix the login redirect bug" }
Output: { "model": "haiku", "reason": "narrow task — 1 symbol in 1 file" }
booster init claude writes| File | Change |
|---|---|
.mcp.json | Adds agent-booster to mcpServers |
CLAUDE.md | Appends booster usage rules block (sentinel markers) |
.claude/settings.json | Wires PreToolUse (Read + Grep) and UserPromptSubmit hooks |
.claude/hooks/booster-gate.py | Blocks Read on indexed files — forces smart_read |
.claude/hooks/booster-grep-nudge.py | Nudges semantic Grep patterns toward search_context |
.claude/hooks/booster-route.py | Auto route_model — recommends haiku/sonnet/opus on every user turn |
booster remove claude removes all six, cleanly. No residue.
Agent Booster is the third layer in a three-layer token reduction stack:
Layer 3 — Agent Booster AST+semantic routing, smart file reads
Layer 2 — RTK Token compression on CLI/git/build output Layer 1 — Prompt caching Stable context reuse (native to Claude Code + API)
Each layer is independent and addable separately.
Does it work if I open a second terminal? Yes. The hooks are wired into .claude/settings.json and .mcp.json in your project root — not inside a specific terminal session. Any new Claude Code window you open in this project picks them up automatically.
Do I need to run `booster init` again after restarting my machine? No. booster init writes files to disk once. They persist across restarts and across sessions. The only time you re-run it is if you delete those files or switch to a new project.
Do teammates need to run `booster init` too? Yes — once per developer, once per project. If you commit .mcp.json and .claude/settings.json to the repo, teammates get the hooks when they clone. They still need to run pip install agent-booster[embed] and booster index && booster embed locally, since the symbol index is gitignored.
Can I undo it completely? Yes. booster remove claude removes all six files and cleans the settings entries. No residue.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "agent-booster": { "command": "booster", "args": ["serve"] } } }
Run booster index && booster embed once from your project root before starting Claude Desktop. No env vars required.
tools/booster/
├── README.md ├── pyproject.toml └── booster/ ├── cli.py # click commands: index, embed, search, serve, init, remove, route, gain ├── indexer.py # tree-sitter parser + SQLite symbol store + vector search ├── retriever.py # smart_read: per-file vector search → relevant line slice ├── mcp_server.py # MCP server: get_symbols, search_context, smart_read, route_model └── stats.py # token savings tracking (booster gain)