Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Python code intelligence for coding agents: call paths, control flow, and change impact.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"codecanvas": {
"command": "uvx",
"args": [
"codecanvas-mcp"
]
}
}
}Run this in your terminal
claude mcp add codecanvas -- uvx codecanvas-mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"codecanvas": {
"command": "uvx",
"args": [
"codecanvas-mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"codecanvas": {
"type": "stdio",
"command": "uvx",
"args": [
"codecanvas-mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account donggyun112, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.20) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, Starreel
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
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.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Understand an unfamiliar Python system before spending thousands of tokens reading it file by file.
CodeCanvas is a local static-analysis Model Context Protocol server for Python. It turns project-wide call paths and control flow into compact, citation-ready answers about branches, callers, callees, side effects, and change impact.
The benchmark now spans pinned revisions of Google ADK, LangGraph, and FastAPI. On an Apple M4 Pro, measured cold analysis ranged from 4.38s to 61.62s, and median warm find_symbols latency ranged from 48.264ms to 293.778ms across those repositories. In a controlled 54-session agent suite, both conditions kept the same built-in code-search tools; the treatment added only logic_flow. That single addition used a median 22.95% fewer total tokens across three paired repetitions, demonstrating meaningful incremental value on top of ordinary code exploration. Uncached tokens increased by 0.78%, and the answers are not yet blind-graded. See the methodology, full tables, and limitations.
Use it to answer questions such as:
CodeCanvas is Python-only and requires Python 3.10 or newer.
Ask one question:
Use logic_flow on UserService.update_user. Show its branches, outcomes,
downstream effects, and evidence quality.
Excerpt from the actual response on the included FastAPI sample:
{
"function": "app.services.user_service.UserService.update_user", "source": "app/services/user_service.py:13", "flow": [ "15 user = await self.user_repo.find_by_id(...)", "16 if user is None:", "17 → return None", "18 → return await self.user_repo.update(user_id, user)" ], "outcomes": [ {"at": 17, "detail": "None", "guards": ["user is None"]}, {"at": 18, "detail": "await self.user_repo.update(user_id, user)", "guards": []} ], "downstream": [ { "function": "app.repositories.user_repo.UserRepository.find_by_id", "location": "app/repositories/user_repo.py:13", "effects": ["db"] }, { "function": "app.repositories.user_repo.UserRepository.update", "location": "app/repositories/user_repo.py:18", "effects": ["db"] } ], "evidence_grade": "inferred", "safe_to_summarize": false, "response_guidance": "Do not turn inferred call edges into unconditional claims." }
That single response exposes the early return, success path, downstream database work, exact source locations, and how cautiously the agent may summarize the result.
Install uv if uvx is not already available. The repository includes one shared plugin package with native manifests for both Claude Code and Codex. Install it from the CodeCanvas marketplace:
# Claude Code
claude plugin marketplace add donggyun112/codecanvas claude plugin install codecanvas@codecanvas
codex plugin marketplace add donggyun112/codecanvas codex plugin add codecanvas@codecanvas
Both plugins start uvx codecanvas-mcp and expose the complete tool catalog. See the plugin package for local-checkout testing and validation commands.
If your client does not support plugins, register the server directly. For Claude Code:
claude mcp add codecanvas -- uvx codecanvas-mcp
That command exposes the complete tool catalog. Keep the full catalog enabled when your MCP client supports on-demand tool discovery or tool search: the client can load the relevant schemas only when they are needed, so the other CodeCanvas tools remain available without paying their schema cost on every model request.
[mcp_servers.codecanvas]
command = "uvx" args = ["codecanvas-mcp"]
If your client eagerly injects every enabled tool schema into every model request, use this compatibility profile instead:
[mcp_servers.codecanvas]
command = "uvx" args = ["codecanvas-mcp"] enabled_tools = ["logic_flow", "who_calls", "call_tree"]
The three-tool allow-list is a fallback for eager-schema clients, not a recommendation to discard the rest of CodeCanvas. For another MCP client, use the equivalent stdio configuration:
{
"mcpServers": { "codecanvas": { "command": "uvx", "args": ["codecanvas-mcp"] } } }
Pass an absolute project_path on the first tool call. CodeCanvas remembers the last explicitly selected project for the rest of the server session.
With the complete catalog enabled, project_status reports candidate analysis roots for nested Python projects. Compact-profile users should pass the intended nested root explicitly.
Adding tools does not guarantee that an agent will choose them at the right time. Put a short instruction like this in AGENTS.md, CLAUDE.md, or the equivalent file used by your coding agent:
## Code analysis
Use CodeCanvas before text search when you need to know:
Pass project_path once, then reuse the active project. Treat safe_to_summarize: false, inferred edges, ambiguity, and truncation as qualifications rather than unconditional facts.
Start with logic_flow. Use who_calls for upstream impact and call_tree for a deeper downstream trace.
Then ask your agent naturally:
Use logic_flow first to understand checkout without repeated source searches.
What calls UserService.update_user, up to three hops? What does checkout reach downstream, including HTTP or database effects?
With the complete catalog enabled, CodeCanvas can also answer:
List the entrypoints in this project.
Under exactly what conditions can authenticate raise? Verify that dry-run publish reaches _call_api. Analyze the impact of the current diff.
CodeCanvas complements both. It is for behavioral questions that otherwise require repeated searches and manual reconstruction.
| Need | grep | LSP | CodeCanvas |
|---|---|---|---|
| Exact text | Best fit | Not its job | Keep using grep |
| Definitions and direct references | Manual | Best fit | Resolves symbols inside structural results |
| Transitive callers and callees | Repeated manual hops | References are not a call path | Bounded upstream and downstream graphs |
| Branch guards and outcomes | Read and reconstruct source | Usually not modeled | Structured flow and guarded returns/raises |
| Side effects and change impact | Infer manually | Usually not modeled | Effects attributed through call paths and entrypoints |
| Uncertainty | No confidence model | Resolution-dependent | Evidence grade, ambiguity, truncation, and guidance |
Static analysis is not runtime truth, so CodeCanvas makes uncertainty visible instead of hiding it.
Every successful MCP response identifies the selected analysis_root and includes metadata that helps an agent decide how strongly it may state the result:
evidence_grade describes the strength of the resolved evidence.inferred_edge_count and ambiguous_calls expose uncertain call edges.truncated says whether the bounded response omitted results.safe_to_summarize says whether the result supports an unconditional claim.response_guidance explains how to qualify a result when it does not.verify_claim goes further by combining candidate call paths with branch and return/raise guards. It returns true, false, or uncertain; unsupported qualifiers and inferred-only paths cannot silently become a definite true.
| Tool | Use it for |
|---|---|
project_status | Inspect the active root, Python file count, cache, worker interpreter, and nested project candidates |
list_entrypoints | Find FastAPI routes, scripts, function entrypoints, and distributed library exports |
find_symbols | Locate functions, methods, and classes with exact-first name, semantic, or hybrid search |
logic_flow | Get one compact, citation-ready view of a function's branches, outcomes, downstream calls, and effects |
what_does | Triage a function from its signature, docstring, calls, effects, exceptions, and direct risk |
function_flow | Inspect a structured branch tree with subjects, conditions, scopes, and nesting |
reaching_conditions | Get the enclosing guards for each return or raise, plus complexity and unreachable code |
| Tool | Use it for |
|---|---|
who_calls | Walk direct or transitive callers upstream |
call_tree | Walk project-internal callees downstream and attribute direct/transitive effects |
verify_claim | Conservatively check a qualified source reaches target claim against paths and guards |
analyze_impact | Map an inline diff or git ref to changed functions and affected entrypoints/public surfaces |
| Tool | Use it for |
|---|---|
validate_state_schema | Compare a function's state reads, writes, and mapping returns with a caller-provided schema |
simulate_state_transition | Execute focused generated or explicit state cases with invariants and dependency overrides |
Large result sets are capped. Use each tool's filter, kind, path, depth, or pagination arguments to narrow the answer before treating it as complete.
Depends() chains, scripts, generic function entrypoints, and package exports. /.codecanvas/; an in-process builder is reused during the MCP session.The default analysis limit is 5,000 Python files. Tune large-project behavior with:
| Variable | Default | Description |
|---|---|---|
CODECANVAS_MAX_FILES | 5000 | Maximum Python files to analyze |
CODECANVAS_BATCH_SIZE | 50 | Files processed before yielding |
CODECANVAS_THROTTLE_MS | 10 | Delay between batches in milliseconds |
.codecanvas/ cache. No remote CodeCanvas service is required.simulate_state_transition is different: it imports and executes trusted project code in a separate process. It is isolation for focused repros, nOnly the beginning is shown; read the rest in the repo