Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Domain-blind code graphs for AI agents: symbols, calls, blast radius, proof-checked snapshots.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
作者没有在注册中心列出安装信息。请查看下方作者的 README。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 nrupala 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.9.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Rust。
同一分类中有:Spec Driven Development, Remote Desktop Commander, yontu
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Registry identity: mcp-name: io.github.nrupala/codetopo
See your codebase the way an agent sees it. codetopo turns a source repository into a queryable code graph — symbols, calls, references, and structure — with JSON answers an AI coding agent can act on directly.
codetopo holds the OpenSSF Best Practices Passing badge — 100% of 67 criteria.
You are here because an agent just touched your codebase and you want to answer structural questions fast: *what calls this function? what breaks if I change this? how are these two modules connected?* codetopo indexes the tree once and answers those questions as data — counts first, full lists only when asked — over a CLI, an HTTP API, or the MCP tools your agent already speaks.
It is deliberately domain-blind: it reports measurements — counts and rankings of structural facts, each with its method stated — and it never scores code quality or holds opinions about what the code means. It answers structural questions about source trees, and only that. Domain meaning belongs to the agents and teams composing on top.
codetopo is a product of AIMLDS (2351485 ALBERTA INC.) — the house behind Conduit, managed MCP connector rails where every call is routed, metered, and receipted.
Live demo: codetopo.aimlds.org — codetopo's real map of this repository, drawn by codetopo itself and refreshed on every push to main.
Requires a stable Rust toolchain (install via rustup).
# Install the four binaries: codetopo (CLI), codetopo-server (HTTP API),
cargo install --git https://github.com/nrupala/codetopo codetopo-cli codetopo-server codetopo-mcp codetopo-acp
for the CLI, cargo install codetopo-mcp` for the MCPcodetopo.codetopo index ~/my-project --db graph.db
codetopo search connect --db graph.db
codetopo descendants my-project::net::Client::connect --db graph.db --expand
That's the whole loop: index once, query as data. Aggregate-first output — totals before lists — keeps token budgets and pipes sane by default; --expand brings the full list when you want it.
Against the fixture repository used in the project's own end-to-end verification (docs/phase-2-verification.md) — output shown is the real output of the CLI:
$ codetopo index crates/codetopo-server/tests/fixture-repo --db graph.db
files indexed: 3 files failed: 0 symbols: 6 nodes: 15 edges: 23 diagnostics: 2
$ codetopo stats --db graph.db nodes: 15 package: 1 module: 3 file: 3 function: 6 external: 2 edges: 23 calls: 5 contains: 12 reads: 6
$ codetopo descendants fixture-repo::alpha::entry --db graph.db --expand 2 descendants of fixture-repo::alpha::entry fixture-repo::alpha::helper_a fixture-repo::alpha::helper_b
A few more things you can ask (same engine, same data):
codetopo ancestors <node-id> --db graph.db # what depends on this node
codetopo blast-radius --db graph.db # what a failure here would take with it codetopo path --db graph.db # shortest typed path between two nodes codetopo verify --db graph.db # verify the hash-chained audit log codetopo snapshot --db graph.db --out g.json # portable frozen JSON export of the whole graph codetopo restore --snapshot g.json --db g2.db # restore a snapshot into a fresh database
The path answer renders as typed steps, e.g. a --calls--> x --imports--> b (illustrative; exact ids depend on your index).
codetopo-server)The same queries over JSON, behind Bearer API-key auth, with per-request metering — one transport for any client, any language:
KEY="demo-key:$(openssl rand -hex 16)" # a fresh random secret, generated exactly as docker-compose does — never a published example value
echo "$KEY" > api_keys && chmod 600 api_keys codetopo-server # listens on 127.0.0.1:8080 by default
curl -H "Authorization: Bearer $KEY" -X POST localhost:8080/v1/index \ -H 'Content-Type: application/json' -d '{"repo_path": "~/my-project"}'
curl -H "Authorization: Bearer $KEY" \ "localhost:8080/v1/graphs/ /descendants?node= &expand=true"
Twenty endpoints under /v1, one index operation plus nineteen read-only queries: POST /v1/index, GET /v1/graphs/{id}/{descendants, ancestors, blast-radius, path, stats, verify, snapshot, neighborhood, symbol, search, diagnostics, rank, diff, metrics, history, communities, topo-sort, render}, GET /v1/schema. Full contract in schemas/openapi.yaml (OpenAPI 3.1.0), env knobs (CODETOPO_BIND, CODETOPO_DATA_DIR, CODETOPO_KEYS_FILE, CODETOPO_METERING_LOG) documented in schemas/README.md.
codetopo-mcp)A stdio JSON-RPC server exposing the same handler layer as twenty tools — the sixteen query/integrity tools (codetopo_index, codetopo_descendants, codetopo_ancestors, codetopo_blast_radius, codetopo_path, codetopo_stats, codetopo_verify, codetopo_snapshot, codetopo_diagnostics, codetopo_rank, codetopo_diff, codetopo_metrics, codetopo_history, codetopo_communities, codetopo_topo_sort, codetopo_render) plus discovery (codetopo_search_symbols, codetopo_get_symbol, codetopo_neighborhood, codetopo_describe_schema) — so an in-process agent learns one surface and gets both. MCP answers are identical to the HTTP answers by construction: both call the same codetopo-core queries.
{ "mcpServers": { "codetopo": { "command": "codetopo-mcp" } } }
codetopo-acp)A stdio agent speaking the Agent Client Protocol — for editors and clients that converse with agents instead of calling tools. Open a session on a working directory and ask code-structure questions in plain language:
→ {"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
← {"jsonrpc":"2.0","id":1,"result":{"agent":"codetopo","protocolVersion":"1.0", "agentCapabilities":{"read_only":true,"code_structure":true},"agentInfo":{"name":"codetopo"}}} → {"jsonrpc":"2.0","id":2,"method":"session/new","params":{"cwd":"/path/to/repo"}} → {"jsonrpc":"2.0","id":3,"method":"session/prompt", "params":{"sessionId":" ","prompt":"blast radius of auth::login"}} ← {"jsonrpc":"2.0","id":3,"result":{"answer":"Blast radius of 'auth::login': 14 nodes — …"}}
Deterministic intent routing (descendants / ancestors / blast-radius / path / stats / snapshot / verify) straight to the same codetopo-core queries — no LLM, no network, no file writes. Edit requests get an honest read-only refusal. stdout carries only protocol frames; diagnostics go to stderr.
codetopo Hosted)The same HTTP API, run by us, always on. We host the index; you send a repository (public git URL or archive upload) and query the graph from anywhere with your key — no local install, no server to run.
| Tier | Price | What it is |
|---|---|---|
| Free | US$0 | The local CLI, MCP server, and ACP agent in this repository — free and open source (AGPL-3.0), run on your own machine. |
| Team | US$19/month per key | The hosted API, run by us. |
| Guardrails | US$49/month per key | The hosted API at the Guardrails service level — the higher of the two hosted tiers. |
Included limits, by tier:
| Included | Team | Guardrails |
|---|---|---|
| Active indexes | 25 | 100 |
| Queries | 10,000 / month | 50,000 / month |
| Repository size | up to 50,000 files per index | up to 250,000 files per index |
How it works:
https://codetopo-api.aimlds.org with Authorization: Bearer : , the same contract as the self-hosted server (see schemas/).Cancel any time from the Stripe receipt link; the key stays active until the end of the paid period and is then revoked.
The hosted tiers are this same product, served: the local tools stay free and open source and are unchanged — a hosted tier is for when you want the graph served, not installed.
┌─────────────┐ tree-sitter ┌──────────────┐
│ source tree │ ───────────────► │ codetopo- │ extract symbols, └─────────────┘ Rust, TS/JS, Py │ extract │ calls, references └──────┬───────┘ ▼ ┌──────────────┐ │ codetopo-core│ graph model: │ │ nodes, edges, │ │ traversal queries └──────┬───────┘ ▼ ┌──────────────┐ │ codetopo- │ SQLite store + │ store │ hash-chained │ │ audit log └──────┬───────┘ │ ┌──────────────────────────────────┼─────────────────────────────┐ ▼ ▼ ▼ ▼ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ codetopo │ │ codetopo- │ Bearer auth │ codetopo- │ stdio │ codetopo- │ stdio │ (CLI) │ │ server │ JSONL │ mcp │ JSON-RPC │ acp │ ACP └──────────────┘ └──────────────┘ metering └──────────────┘ └──────────────┘
| Crate | Role |
|---|---|
codetopo-core | Graph model, node/edge kinds, all traversal queries, snapshots |
codetopo-extract | tree-sitter extractors (Rust, TypeScript/JavaScript, Python) |
codetopo-store | SQLite persistence + tamper-evident, hash-chained audit log |
codetopo-cli | codetopo headless CLI — the reference query surface |
codetopo-server | codetopo-server axum HTTP API (thin adapter over core) |
codetopo-mcp | codetopo-mcp stdio MCP server (thin adapter over core) |
codetopo-acp | codetopo-acp stdio ACP agent — conversational sessions over the Agent Client Protocol (thin adapter over core) |
The CLI, HTTP, MCP, and ACP surfaces are all
只显示了开头部分;其余内容请在仓库中阅读