Booster MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Booster MCPShow me the architecture map of my codebase"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Booster MCP
Documentation: English | Русский | 简体中文
Booster is a local Model Context Protocol (MCP) server and cognitive runtime for AI coding agents. It builds a bounded, queryable world model of a repository so an agent can inspect architecture, history, diagnostics, project rules, and validation requirements before changing code.
Most agents already have hands: they can write patches quickly. Booster gives them the perception layer that is usually missing.
Why Booster Exists
Large repositories do not primarily overwhelm agents because they contain many files. They overwhelm agents because the important relationships are scattered across source code, tests, git history, diagnostics, and project conventions.
Without Booster, an agent often follows this loop:
request -> grep/search -> read a few files -> write a patch -> stopThat loop can miss:
callers and callees of the target symbol;
the files and tests affected by an interface change;
the historical reason behind surprising code;
project-specific rules and stored architectural decisions;
existing compiler, type, lint, or security diagnostics;
the validation command that should run after the patch.
Booster adds those signals to the loop:
request
-> project memory
-> repository map and hybrid search
-> AST impact graph
-> git history and blame
-> diagnostics and security checks
-> validation plan
-> focused patch
-> validation and repairRelated MCP server: SRC (Structured Repo Context)
Capabilities
Agent problem | Booster capability | Outcome |
Blind search through a large repository | Bounded scanning, Repo Map, and hybrid semantic plus lexical retrieval | Faster orientation with less context waste |
File snippets without architecture | Tree-sitter symbols, import and call graphs, and impact analysis | Blast radius is visible before editing |
No memory between sessions | Structured project memory in | Rules and decisions survive restarts |
Unclear historical intent | Git log and blame through | Debugging includes historical context |
Diagnostics ignored by the agent | Fail-closed compiler, linter, type, and security diagnostics | Broken checks are not reported as success |
Patch generation without an engineering loop |
| Plan -> implement -> validate -> repair |
Reindexing generated files and dependencies | Shared scanner and watcher ignore rules | Caches and dependency folders stay out of the model |
Architecture
Booster has two complementary planes:
MCP control plane: repository indexing, semantic search, graphs, memory, diagnostics, skills, and validation tools.
Booster Home data plane: an optional local OpenAI-compatible gateway that compiles context, stores recoverable artifacts, and forwards requests to a local or remote model backend.
The existing repository index and Cognitive Runtime are reused. Home does not create a second repository index, gateway, or vector database.
MCP Control Plane
The core server provides:
normalized FAISS cosine search, BM25 lexical search, and reciprocal-rank fusion through
hybrid_search;bounded repository scanning with reproducible scan profiles;
generated
.agents/booster/artifacts such asrepo_map_architecture.md,repo_map_symbols.md,index_health.json,repo_map.md,code_city.html,scan_config.json, andscan_report.json;context resources at
repo://map,repo://stack,repo://conventions, andrepo://artifacts;symbols, import and call graphs, flipcharts, Code City, and repository diagnostics;
impact analysis, git intelligence, structured project memory, security checks, and validation loops;
twelve bundled workflow skills synced to
~/.agents/skills;booster control, a cross-platform control surface for MCP clients, scan settings, diagnostics, and launcher management.
Booster Home Runtime
Home is an optional local data plane. It keeps the MCP control plane intact and adds an OpenAI-compatible gateway with deterministic context compilation, bounded local workers, session-scoped raw artifacts, and targeted integration with the existing Booster index and Cognitive Runtime.
Start it on loopback:
booster home \
--base-url http://127.0.0.1:1234/v1 \
--model nvidia/nemotron-3-nano-4b \
--api-key lm-studio \
--project .Home exposes:
/v1/models;/v1/chat/completions;/v1/responses;/health;/booster/status.
The upstream model ID is discovered from /v1/models; replace it with the ID
reported by the local OpenAI-compatible server. Nemotron deployments may return
provider-specific reasoning_content instead of message.content when the
output budget is consumed by reasoning. Home preserves that field and does not
silently convert an incomplete reasoning response into a successful answer.
Streaming responses are forwarded as chunks. Before a block is evicted, its raw content is saved as an immutable artifact and verified by content hash. If persistence fails, the request fails closed instead of silently losing context.
Repository indexing is job-based. add_repo(wait=true) remains accepted for
compatibility but no longer blocks the MCP request. Use index_status,
cancel_index, and bounded wait_until_ready to observe a job. Each status
contains job_id, phase, processed/total, elapsed time, ETA, last progress,
generation ID, stale state, and the last ready snapshot. Read-only repository
methods continue returning that ready snapshot while a new generation is being
built.
The generated artifacts are split by purpose:
repo_map_architecture.mdis a bounded macro map with top-level module diversity, entrypoint/config/contract coverage, and a coverage summary;repo_map_symbols.mdcontains the detailed symbol map with a per-file cap;index_health.jsonrecords generation, stale paths, selected/skipped files, and map completeness;repo_map.mdremains a compatibility copy of the architecture map.
Configuration precedence is:
defaults
-> ~/.booster/home.toml
-> <project>/.agents/booster/home.toml
-> explicit --config
-> CLI flagsAPI keys are used only in upstream request headers and are redacted from status, telemetry, timelines, logs, and exception text. These commands inspect Home without starting a second server or repository index:
booster home status
booster home doctor --json
booster home inspect-context --input request.json --json
booster home sessions delete <session-id>Loopback is the default and does not require a gateway token. A non-loopback
bind is rejected unless home.auth_token is configured, either in TOML,
through BOOSTER_HOME_AUTH_TOKEN, or with --auth-token. Remote requests must
send Authorization: Bearer <token>; the token is never returned by status or
logs.
Proof: Booster + Nemotron 4B
The strongest way to understand Booster is to see the loop on a hard problem. In a manual LM Studio run with the same 4B-class Nemotron model, a plausible first solution failed hidden cases. After Booster context, explicit constraints, and a repair-and-submit loop, the same workflow produced accepted submissions:
Without the loop | With Booster context and verification |
|
|
Hidden edge cases expose a plausible but incomplete recurrence. | Full judge validation: |
The pattern repeated on additional hard dynamic-programming tasks:
689. Maximum Sum of 3 Non-Overlapping Subarrays: tie-breaking failure ->43/43accepted;123. Best Time to Buy and Sell Stock III:214/214accepted;the recorded accepted runs show
36 msand170 mslocal runtimes.
This is an evidence case study, not a controlled benchmark. It demonstrates the customer-facing value: Booster keeps constraints, project context, diagnostics, and validation in one loop instead of stopping at code that merely looks right.
See the full LeetCode case study for the baseline, repair steps, screenshots, and reproduction checklist.
Context Compression
Home treats compression as context compilation, not irreversible forgetting:
Classify messages by role and content type.
Normalize deterministic noise such as duplicate lines, progress output, and ANSI escape sequences.
Persist the original block before it can be evicted.
Score relevance and allocate the available input budget by priority.
Optionally run bounded semantic workers and targeted world-model retrieval.
Pack the selected messages while preserving protected context and tool-call integrity.
The compiler reports original_tokens, compiled_tokens, removed_tokens,
compression_ratio, operations, warnings, and artifact references. The main
invariants are:
system and active user context are protected;
known hard limits fail closed when protected context cannot fit;
raw data is persisted before eviction;
artifact content is hash-verified after writing and reading;
compression can be disabled, but
policy=offstill refuses a request above a known hard input budget;provider-specific fields, including
reasoning_content, are preserved.
Run the included stress benchmark:
uv run python benchmarks/home_context_benchmark.pyThe benchmark prints raw, deterministic, retrieved, and final token counts, compression ratio, compiler latency, exact artifact recovery, and targeted enrichment results. A successful run must include:
exact_artifact_recovery=TrueResearch Coprocessor
Home also includes a bounded research coprocessor for local experiments. It
reads evidence from research_state.json, memory_bank.md or
memory-bank/*.md, metrics, and report files. It returns structured JSON rather
than presenting an opaque model-generated summary as ground truth.
Tool | Purpose |
| Bounded project state; checkpoint files such as |
| Baseline, best result, active and failed hypotheses, confounds, assumptions, history, and metrics. |
| Bounded lexical lookup by artifact meaning, name, and content. |
| Numeric JSON or JSONL digest with trend, anomalies, invalid rows, and possible confounds. |
| Regime-aware run comparison; mismatches return |
| Scientific memory with IDs such as |
| Candidate experiment design derived from a registered hypothesis. |
| Layered |
| Bounded delegation to a fixed research worker role. |
| Checkpoint metadata plus |
| Visualization of an existing LightningField trace; missing traces are not fabricated. |
Binary checkpoint bodies are never read, indexed, or sent to the model. Only
metadata such as filename, size, step, parent, metrics, experiment, status,
keep flag, and branch is available. Sidecar metadata is searched next to the
checkpoint using .pt.json, .json, _metadata.json, and .metadata.json
conventions.
The context pack is organized as:
L0 current task
L1 current experiment and active hypotheses
L2 recent evidence and relevant code
L3 project invariants and runtime contract
L4 archiveNormal inference uses L0, L1, and relevant parts of L2 and L3.
Duplicate logs, old failed versions, binary artifacts, and irrelevant history
are excluded by policy. Repository content, metrics, reports, and memory are
untrusted data and are not executed as configuration.
Allowed worker roles are:
log_analyst
code_search
benchmark_reader
artifact_indexer
summarizerThe research state and registry are written atomically to
<project>/research_state.json. Home session artifacts remain separate in
.agents/booster/runtime/sessions/; research state is not mixed with chat
timelines or the legacy .agents/booster/memory.json.
Repository Layout
.
├── booster_home/ # Optional OpenAI-compatible data plane
├── assets/ # README and Code City visual assets
├── algocheck/ # Customer-facing LeetCode validation evidence
├── benchmarks/ # Reproducible context and runtime benchmarks
├── docs/ # Architecture and maintainer documentation
├── skills/ # Bundled agent workflow skills
├── tests/ # Pytest suite, including Home regressions
├── server.py # MCP server entrypoint
├── cli.py # `booster` CLI entrypoint
├── cognitive_runtime.py # Impact, memory, diagnostics, and validation tools
├── indexer.py # Repository indexing and graph construction
├── visualizer.py # Code City generation
├── AGENTS.md # Agent-first bootstrap and project instructions
├── RECOMENDET_PROMPT.md # Repository-wide engineering prompt for agents
├── CONTRIBUTING.md # Development and contribution workflow
├── CHANGELOG.md # Release history
├── pyproject.toml # Package metadata and tool configuration
├── MANIFEST.in # Source distribution contents
└── uv.lock # Reproducible dependency lockfileThe legacy MCP control-plane modules intentionally remain at the repository
root. The package entrypoints (server:main and cli:main) and existing
integrations rely on those stable module names. Moving them into src/ should
be treated as a separate compatibility migration, not mixed into routine
feature work.
Recommended Agent Prompt
This repository includes a dedicated engineering system prompt:
RECOMENDET_PROMPT.md.
Load it at the beginning of a non-trivial coding session when the agent needs
to work as an engineer rather than as a patch generator. The prompt defines the
project-context routing rules, the PERCEIVE -> MODEL -> PLAN -> ACT -> VERIFY -> LEARN workflow, Booster-first context retrieval, root-cause analysis,
security checks, validation requirements, and memory discipline.
It is repository guidance for coding agents, not application runtime configuration. The prompt is intentionally kept at the root so agent tooling can discover it before the first edit.
Installation
Requirements
Python 3.11, 3.12, or 3.13. Python 3.12 is recommended.
Git.
Internet access on the first run to download the embedding model.
Windows
Invoke-WebRequest https://raw.githubusercontent.com/NeuroGhostDev/Booster-mcp/main/install.ps1 -OutFile install.ps1
.\install.ps1macOS and Linux
curl -fsSL https://raw.githubusercontent.com/NeuroGhostDev/Booster-mcp/main/install.sh | bashEach installer creates a booster launcher in the user-local bin directory:
Windows:
%USERPROFILE%\.local\bin\booster.cmd;macOS and Linux:
~/.local/bin/booster.
The installer adds that directory to PATH. Open a new terminal if the current
shell does not see the launcher yet.
Development Installation
git clone https://github.com/NeuroGhostDev/Booster-mcp.git
cd Booster-mcp
uv sync --locked --extra devWithout uv, use a Python 3.12 virtual environment:
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .On Windows, activate with \.venv\Scripts\Activate.ps1 and use
\.venv\Scripts\booster.exe until the launcher is installed.
Agent Bootstrap: Paste a GitHub Link, Get the Workflow
When this repository is opened from a GitHub URL in an AI coding agent, the
agent should treat AGENTS.md as the project bootstrap contract.
It should install the local dependencies, synchronize Booster skills, load the
engineering guidance, create the bounded repository artifacts, and connect the
MCP server before editing code.
Run this once from the repository root:
# 1. Install the project and its development dependencies.
uv sync --locked --extra dev
# 2. Install or update the bundled Booster skills for the current agent.
uv run python -c "from skill_installer import install_bundled_skills; print(install_bundled_skills())"
# 3. Load the repository into the bounded Booster world model.
uv run booster expand --profile balanced .
# 4. Connect the current repository to VS Code MCP.
uv run booster control connect \
--client vscode \
--scope workspace \
--project . \
--with-repository \
--force
# 5. Verify the environment and generated artifacts.
uv run booster control doctor --project .
uv run booster control status --client vscode --scope workspace --project .For Claude Desktop, use the user-level connection instead:
uv run booster control connect \
--client claude \
--scope user \
--project . \
--with-repository \
--forceIf uv is unavailable, use python -m pip install -e ".[dev]" and replace
uv run booster with python -m cli or the installed booster launcher.
The agent should then start every non-trivial task with:
Read AGENTS.md and RECOMENDET_PROMPT.md.
Call inject_context(include_map=true, include_stack=true, include_conventions=true).
Use preflight_analysis and impact_analysis before editing code.
Use run_validation_checks after the patch.
Call booster.task_complete(task_id="<task-id>") before the final response.This is intentionally project-level and portable. A repository must not silently
rewrite a host application's hidden system prompt or unrelated global client
configuration. AGENTS.md is the instruction file that agent hosts can discover;
booster control connect changes only the selected MCP client entry and preserves
other servers.
Connect to VS Code
Run the control menu from the repository you want to manage:
booster controlUse a workspace connection for one repository:
cd path/to/project
booster control connect --client vscode --scope workspace --project .
booster expand --profile balancedUse a user connection when Booster should appear in every VS Code workspace:
booster control connect --client vscode --scope user --project .After a user-level server starts, ask the agent to call add_repo for the
repository currently being edited. Indexing runs in the background by default;
index_status reports phase and progress. add_repo(wait=true) remains
accepted for compatibility but is also non-blocking. Use cancel_index or
bounded wait_until_ready when needed. Use --with-repository to bind a
user-level server to one repo.
VS Code keeps workspace and user MCP configuration separately. After changing a
server, run MCP: List Servers, select Booster, start or restart it, and accept
the trust prompt. If it is still missing, run Developer: Reload Window and
inspect MCP: List Servers -> Booster -> Show Output.
Booster Control
booster control provides interactive connection management, scan profiles,
artifact refresh, diagnostics, server removal, and launcher updates. The same
operations are available non-interactively:
# Show the active runtime, client entry, scan policy, and artifacts.
booster control status --client vscode --scope workspace --project .
# Add or remove a client entry.
booster control connect --client vscode --scope workspace --project .
booster control disconnect --client vscode --scope workspace --project .
# Connect another desktop client in the user profile.
booster control connect --client claude --scope user --project .
# Inspect and persist the bounded scan policy.
booster control scan --project .
booster control scan --project . --profile deep --max-files 2000
# Verify Python, FastMCP, FAISS, BM25, and embedding dependencies.
booster control doctor --project .Bounded Repository Scanning
Run booster expand before attaching a large repository. It saves the scan
policy and generates an initial map without requiring a live MCP connection.
booster expand --profile balancedProfile | Depth | Source files | Selected source size | Best for |
| 6 | 250 | 8 MiB | Fast initial orientation |
| 12 | 800 | 32 MiB | Most repositories |
| 20 | 3,000 | 128 MiB | Large monorepos |
The scanner prioritizes conventional source roots, ignores generated and
dependency directories by default, and records every limit decision in
.agents/booster/scan_report.json. Add local exclusions in .boosterignore
when a directory is irrelevant to the current task.
Cognitive Runtime Workflow
Use this flow when an agent is about to change code:
Recall project rules with
project_memory_recall.Find the target with
hybrid_search,semantic_search, orfind_symbol.Estimate the blast radius with
impact_analysis.Check history with
git_intelligencewhen code looks surprising.Collect diagnostics with
collect_diagnosticsfor files in scope. For security-sensitive changes, run the separate advisorysecurity_audit.Patch narrowly using the project's existing patterns.
Validate with
run_validation_checksand repair the same slice until it passes or the hypothesis is rejected.
Typical preflight:
project_memory_recall(query="refactor billing invoice flow", repo="<repo>")
impact_analysis(target="InvoiceService", repo="<repo>", max_depth=3)
git_intelligence(symbol="InvoiceService", repo="<repo>", limit=8)
collect_diagnostics(paths=["src/billing/invoice.py"], repo="<repo>")Typical post-patch validation:
run_validation_checks(
paths=["src/billing/invoice.py"],
commands=["pytest tests/billing -q"],
repo="<repo>"
)Diagnostics Are Fail-Closed
Booster treats diagnostics as engineering evidence. A diagnostic tool that
times out, crashes, or returns unparseable output is reported as an error
finding. This prevents an agent from mistaking a broken validation run for a
clean codebase.
Area | Checks |
Python | In-process syntax compile, Ruff, and Pyright when installed |
TypeScript and JavaScript |
|
Rust |
|
Security |
|
Tests | Any focused command passed to |
Examples
Before a Refactor
impact_analysis(target="AuthService", repo="<repo>", max_depth=4)
git_intelligence(symbol="AuthService", repo="<repo>")
collect_diagnostics(paths=["src/auth/service.py"], repo="<repo>")The agent can answer what calls the service, what it calls, which files are affected, which tests are relevant, and whether red diagnostics already exist.
During a Bug Hunt
analyze_error("<stacktrace>")
git_intelligence(path="src/payments/locks.py", symbol="payment_lock")
flipchart_call_graph(symbol="payment_lock", max_depth=4)The agent can combine the stack trace, call graph, and historical reason behind a suspicious line.
For Long-Term Project Knowledge
remember_project_fact(
category="architecture",
fact="Frontend talks to backend only through the BFF layer",
confidence=0.95,
source="repo_map+impact_analysis"
)Future sessions can recall that fact before editing the API or frontend.
Bundled Workflow Skills
booster-architecture-mapbooster-bug-huntbooster-context-injectbooster-cognitive-runtimebooster-deep-divebooster-feature-addbooster-flipchartbooster-mcp-workflowbooster-onboardbooster-project-memorybooster-refactorbooster-review
Key MCP Tools
Area | Examples |
Repository lifecycle |
|
Search and navigation |
|
Context and artifacts |
|
Reasoning and debugging |
|
Cognitive Runtime |
|
Workflow support |
|
Repository bindings are persisted in the shared user registry at
~/.booster/repositories/, so independently spawned MCP processes see the
same active projects. booster.task_complete queues a final bounded reindex
for the task's repositories. Each completed index preserves
.agents/booster/repo_map.md, code_city.html, scan_config.json, and
scan_report.json in an immutable
.agents/booster/snapshots/<commit>-<state>-<digest>/ directory. Previous
snapshots are never deleted; .agents/booster/latest.json points to the newest
one. Each snapshot also preserves repo_map_architecture.md,
repo_map_symbols.md, and index_health.json. The architecture map reserves
space for top-level module diversity and entrypoint/config/contract coverage;
the symbol map applies a per-file cap so large files cannot consume the whole
context budget.
Troubleshooting
Booster Is Missing from VS Code
Check both configuration scopes:
booster control status --client vscode --scope workspace --project .
booster control status --client vscode --scope user --project .Only a workspace entry is visible in that workspace. A user entry is visible in
all workspaces. Use MCP: List Servers to start, trust, restart, or inspect the
server. Use MCP: Open User Configuration to open the exact global file VS Code
is reading.
No module named rank_bm25
The client is starting a different system Python instead of Booster's environment. Repair the environment and reconnect through Booster Control:
uv sync --locked --extra dev
booster control doctor --project .
booster control connect --client vscode --scope user --project . --forceThe Scan Is Too Narrow
Inspect the report, then select a broader profile or explicit limits:
booster control scan --project . --profile deep
booster expand --profile deepRelease Validation
uv lock --check
uv run python -m pytest tests -q
uv run ruff check .
uv run python -m compileall -q booster_home indexing_jobs.py server.py
uv buildFor detailed workflows, see COOKBOOK.md. For publishing and client distribution, see MARKETPLACE.md. Maintainers should also read CONTRIBUTING.md and CHANGELOG.md.
Roadmap
Booster already maintains an in-memory Tree-sitter symbol, call, and import graph. Planned production improvements include:
persisting the knowledge graph to Neo4j or Memgraph for cross-session graph queries and deeper dependency traversal;
adding headless LSP clients for Pyright, TypeScript, rust-analyzer, gopls, clangd, and Java language servers;
linking commits to pull requests and issues so
git_intelligencecan explain why code changed, not only what changed;adding validation recipes for Docker Compose, health checks, and service logs;
expanding bundled skills into agent-specific architecture, debugging, memory, and quality packs.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Voice-powered bug reporting with 13 MCP tools. Record bugs by talking; let AI find and fix them.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
295k+ bug-fix patterns with MCP Hub proxy, PII filtering, and code search
Related MCP Servers
- AlicenseAqualityAmaintenanceA local-first codebase intelligence tool that enables AI assistants to research codebases using semantic search, multi-hop relationship discovery, and structural parsing. It allows users to extract architectural patterns and institutional knowledge across 30+ programming languages through an MCP-compatible interface.21,415MIT
- AlicenseAqualityCmaintenanceAn MCP server and CLI tool that transforms codebases into AI-ready context through semantic search, call graph analysis, and incremental indexing. It enables AI assistants to perform hybrid vector and keyword searches to understand complex repository structures and cross-file relationships.5281MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that transforms codebases into intelligent, queryable knowledge bases, enabling AI assistants to perform semantic search, explore architecture, and analyze code relationships.166
- AlicenseNot gradedqualityDmaintenanceProvides AI-powered architecture analysis and visualization of codebases, exposing 17 MCP tools for querying components, dependencies, and generating interactive diagrams.1MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NeuroGhostDev/booster_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server

