プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Codecanvas

作者:donggyun112バージョン 0.1.20i★ –iパソコンで動く
レジストリ名io.github.donggyun112/codecanvas

インストール

概要

作者による説明(英語の原文)

Python code intelligence for coding agents: call paths, control flow, and change impact.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "codecanvas": {
      "command": "uvx",
      "args": [
        "codecanvas-mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add codecanvas -- uvx codecanvas-mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "codecanvas": {
      "command": "uvx",
      "args": [
        "codecanvas-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "codecanvas": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codecanvas-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント donggyun112 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの4907件のうち0%よりスターが多い
  • このカテゴリのほかの4907件のうち45%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの4907件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Codecanvasは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.20)がレジストリに届いたのは2 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT4 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

パソコンで動く★ 10,225MIT16 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

CodeCanvas MCP

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:

  • Who calls this function, directly or transitively?
  • What can this function reach, and where do side effects happen?
  • Under which guards can this return or exception occur?
  • Does this source really reach that target in the requested mode?
  • Which API routes, scripts, or public exports are affected by a diff?

CodeCanvas is Python-only and requires Python 3.10 or newer.

See the difference

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.

Quick start

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

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.

Teach your agent when to use it

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:

  • how a Python function branches, returns, and produces side effects;
  • who calls it directly or transitively;
  • what it reaches downstream through project-internal calls.

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.

Why not just grep or an LSP?

CodeCanvas complements both. It is for behavioral questions that otherwise require repeated searches and manual reconstruction.

NeedgrepLSPCodeCanvas
Exact textBest fitNot its jobKeep using grep
Definitions and direct referencesManualBest fitResolves symbols inside structural results
Transitive callers and calleesRepeated manual hopsReferences are not a call pathBounded upstream and downstream graphs
Branch guards and outcomesRead and reconstruct sourceUsually not modeledStructured flow and guarded returns/raises
Side effects and change impactInfer manuallyUsually not modeledEffects attributed through call paths and entrypoints
UncertaintyNo confidence modelResolution-dependentEvidence grade, ambiguity, truncation, and guidance

What makes the answers trustworthy

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.

Tools

Discover and understand
ToolUse it for
project_statusInspect the active root, Python file count, cache, worker interpreter, and nested project candidates
list_entrypointsFind FastAPI routes, scripts, function entrypoints, and distributed library exports
find_symbolsLocate functions, methods, and classes with exact-first name, semantic, or hybrid search
logic_flowGet one compact, citation-ready view of a function's branches, outcomes, downstream calls, and effects
what_doesTriage a function from its signature, docstring, calls, effects, exceptions, and direct risk
function_flowInspect a structured branch tree with subjects, conditions, scopes, and nesting
reaching_conditionsGet the enclosing guards for each return or raise, plus complexity and unreachable code
Follow behavior and assess change
ToolUse it for
who_callsWalk direct or transitive callers upstream
call_treeWalk project-internal callees downstream and attribute direct/transitive effects
verify_claimConservatively check a qualified source reaches target claim against paths and guards
analyze_impactMap an inline diff or git ref to changed functions and affected entrypoints/public surfaces
Reproduce state-shaped bugs
ToolUse it for
validate_state_schemaCompare a function's state reads, writes, and mapping returns with a caller-provided schema
simulate_state_transitionExecute 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.

How it works

  1. Select a project. CodeCanvas resolves and remembers an explicit Python project root. Ambiguous nested roots must be selected rather than guessed.
  2. Build structural indexes. Python AST analysis builds a project-wide call graph and per-function control-flow data. Extractors add FastAPI routes and Depends() chains, scripts, generic function entrypoints, and package exports.
  3. Reuse compatible analysis. The call graph and entrypoints are cached in /.codecanvas/; an in-process builder is reused during the MCP session.
  4. Project compact answers. Each MCP tool queries the shared analysis and returns bounded results with origin, evidence, ambiguity, and truncation metadata.

The default analysis limit is 5,000 Python files. Tune large-project behavior with:

VariableDefaultDescription
CODECANVAS_MAX_FILES5000Maximum Python files to analyze
CODECANVAS_BATCH_SIZE50Files processed before yielding
CODECANVAS_THROTTLE_MS10Delay between batches in milliseconds

Safety and limitations

  • CodeCanvas analyzes Python source; it does not model every possible dynamic import, monkey patch, reflection path, or runtime value.
  • Inferred and ambiguous edges are reported as qualifications, not promoted to definite evidence.
  • Static-analysis tools read project files and write the local .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, n

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く