Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.cdeust/ai-architect-mcp-codebase

Latest version: v0.15.0

Overview

Last scanned
12 Nov 2026
Published
12 Nov 2026
MCP server Transport: stdio Publisher: cdeust
7 Stars
2 Forks
7 Versions
Rust Repo language

Scan summary

io.github.cdeust/ai-architect-mcp-codebase was last scanned on 12 Nov 2026 at version 0.15.0. Risk score 40 of 100 (medium). High-severity rules fired.

  • Releases: 7 versions; the latest was published on 12 Nov 2026.
  • Findings: 1 rule fired in version 0.15.0 (1 high). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.15.0 LATEST 12 Nov 2026 1 rule fired
0.14.0 26 Sep 2026 No rules fired
0.13.0 24 Sep 2026 No rules fired
0.12.0 23 Sep 2026 Not shown
0.11.1 14 Aug 2026 Not shown

Rules fired in 0.15.0: 1

Findings

1 High

Findings for v0.15.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Hidden background process launch

The code starts a detached background process set to run on its own (output discarded or the process unreferenced), either from a program the package keeps in a hidden dot-directory or with a base64-encoded value that decodes to a network address. Both hide from a reader what runs and where it connects.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.15.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.


What it is

ai-architect-mcp-codebase parses a repository with tree-sitter, stores the symbols and their relationships (definitions, calls, imports, implementations, uses) in an embedded LadybugDB graph database on your machine, and exposes that graph to an agent through MCP tools. An agent can search the graph, look up a symbol with its callers and callees, list the reverse dependencies of a symbol, follow execution flows from entry points, map a git diff onto the symbols it changes, and compare two graphs of the same code. Answers about symbols carry source locations and the limits of the analysis behind them.

The server does not edit the files it indexes. It writes its graph and sidecar files under the output_dir you pass, plus a snapshot in the repository only when you ask for the team-shared artifact. Indexing and queries run locally without network calls, no language model reads the code, and nothing is uploaded. The graph is a directory you own.

The graph comes from static parsing of source text, so some things stay out of it. A call made through reflection, dynamic dispatch, generated code, or a macro the parser does not expand has no edge unless an optional language-server pass (lsp: true) or runtime traces (ingest_traces) supply one. Method calls through a receiver are resolved statically only for the receiver shapes listed below; the rest need the language-server pass. Ruby gets a shallow extraction with no imports or visibility. Process flows are reachability in the graph from declared entry points, capped at depth 20, with no observation of execution. An empty answer can mean "no such relationship" or "not indexed", and the coverage report exists to tell those apart.

Install and register

Claude Code plugin
claude plugin marketplace add cdeust/ai-architect-mcp-codebase
claude plugin install ai-architect-mcp-codebase@ai-architect-mcp-codebase-marketplace

The plugin downloads the release binary and verifies its Sigstore provenance before running it; this needs GitHub CLI 2.68 or newer. The plugin starts the full profile unless AP_PROFILE=core is set.

Supported platforms

Installed from the marketplace, the plugin launcher (bin/ensure-binary.sh) installs one release asset per platform below and refuses every other one; in a source checkout it runs cargo build instead, on any platform, when the binary is missing or older than the sources. The platform is read from uname -s and uname -m of the shell, so an x64 Git Bash emulated on Windows arm64 reports x86_64 and installs windows-x86_64. "Started by CI" means the pipeline's install job installs the published asset on that runner and runs initialize, tools/list (the exact tool catalog) and health_check against it (scripts/smoke_claude_plugin.py --installed). On a commit whose version has no published release yet (a release pull request), there is no asset to start: the job checks instead that the launcher refuses with its release-asset error and installs nothing, and says so in its output.

Platform Release asset Plugin launcher Started by CI
macOS arm64 macos-aarch64 installs yes, on macos-latest
Linux x86_64 linux-x86_64 installs yes, on ubuntu-latest
Linux aarch64 linux-aarch64 installs no: built on ubuntu-24.04-arm, never started
Windows x86_64 (a shell whose uname -s starts with MINGW, MSYS or CYGWIN, as Git Bash does) windows-x86_64 installs yes, on windows-latest
macOS x86_64 (Intel), Windows arm64, any other none refuses no

A cargo install or a source build does not go through the launcher. CI runs the test suite from source on Linux x86_64 only; the pipeline's environment job also builds from source and runs install --dry-run on ubuntu-latest, macos-latest and windows-latest (scripts/ci_environment.sh), and windows-build.yml builds Windows x86_64 on every pull request.

Other MCP hosts
cargo install ai-architect-mcp-codebase
ai-architect-mcp-codebase install          # writes the MCP entry for each detected host

install detects Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code and Zed, adds only its own entry to each config file, and never overwrites a file it cannot parse. --dry-run previews the changes; uninstall removes them. To configure a host by hand, register the binary as a stdio server:

{
  "mcpServers": {
    "ai-architect": {
      "command": "ai-architect-mcp-codebase",
      "args": ["--profile", "core"]
    }
  }
}

docs/install.md has the per-host snippets (Codex, Gemini, Cursor, Windsurf, VS Code, the OpenAI Agents SDK), the optional Grep/Glob hook, the plugin's release verification, and the developer escape hatch for running a local build inside the plugin. That optional hook is separate from the code-discovery nudge the plugin itself registers in hooks/hooks.json; see docs/configuration.md.

Build from source
git clone https://github.com/cdeust/ai-architect-mcp-codebase.git
cd ai-architect-mcp-codebase
cargo build --release     # about five minutes the first time (LadybugDB's C++ core)

Rust 1.95.0 is pinned by rust-toolchain.toml, and CMake is required.

Tool profiles

The server registers one of two tool sets, chosen at startup with --profile or the AP_PROFILE environment variable (the flag wins).

Profile Tools Use
core 8: health_check, analyze_codebase, search_codebase, get_context, get_symbol, get_impact, query_graph, detect_changes Recommended for agents. Analyze once, then search, inspect and measure impact.
full all 27 Adds the manual graph passes, history, runtime traces, the verification tools, the artifact builder and the finding-record tools.
ai-architect-mcp-codebase --profile core   # the 8 core tools
AP_PROFILE=core ai-architect-mcp-codebase  # same, through the environment
ai-architect-mcp-codebase                  # default: full (all 27)

The default stays full until the next major version, because shrinking the default tool surface is a breaking change. New agent setups should use the core profile (8 read-only tools): analyze_codebase already runs index, resolve and cluster in one call, and leaving out the 19 hidden tools keeps the tool prompt smaller.

A first session

health_check()
  → server name and version, protocol version, registered tool count

analyze_codebase(path: "/path/to/repo", output_dir: "/tmp/repo-graph")
  → index, resolve, cluster and build the search index in one call
  → node and edge counts, communities, processes, and the coverage report

search_codebase(graph_path: "/tmp/repo-graph/graph", query: "tool request dispatch")
  → ranked symbols (BM25 and sparse TF-IDF fused with RRF), paged with next_offset

get_context(graph_path, qualified_name: "src/main.rs::handle_tool_call")
  → the symbol with its callers, callees, imports, implementations,
    community and processes; suggestions when the name does not match exactly

get_impact(graph_path, qualified_name: "src/main.rs::handle_tool_call")
  → callers, importers, users and implementors, the communities and processes
    affected, and an epistemic label (exact or lower-bound) with its reasons

detect_changes(graph_path, codebase_path: "/path/to/repo", base_ref: "main", head_ref: "HEAD")
  → symbols the diff adds, modifies or deletes, one heuristic risk score for the
    diff, and an epistemic label (exact or lower-bound) with its reasons

query_graph(graph_path, graph: "missed")
  → the files the index could not fully cover, to check with grep

Re-run analyze_codebase after edits. On the same output_dir, a tree with no changed file reuses the graph without re-parsing anything. Any edit, a change of language, dependency_scope or exclude_dirs, another codebase root, a new server version, lsp: true (now or on the run that built the graph), a symlinked or artifact-imported graph, a missing or unreadable coverage sidecar, a file that was unreadable when the graph was built, a Cargo.toml edit that changes the crate names, targets or features (even under language: "rust", whose walk skips that file), or full: true rebuilds from scratch. Reusing an edited graph waits on resolver invalidation (#443). The three-stage index_codebase → resolve_graph path re-parses only the changed files, but it can keep a call edge a fresh analysis would drop (a call made ambiguous by an added function), so prefer analyze_codebase when the edges matter.

27 MCP Tools

Each tool takes JSON arguments checked against its JSON Schema and returns structured JSON, with a named reason code on error. No tool calls a language model. Agent installs rarely need all 27; the core profile registers just the 8 code-intelligence tools.

Server:                  health_check
Index and resolve:       analyze_codebase · index_codebase · resolve_graph · lsp_resolve · cluster_graph · ingest_traces
Coverage:                index_status
Search and context:      search_codebase · get_symbol · get_context · query_graph
Impact and processes:    get_impact · get_processes · detect_changes
History:                 index_history
Verification:            check_security_gates · verify_semantic_diff · validate_prd_against_graph · check_doc_claims
Artifact export:         prepare_prd_input
Finding records:         extract_finding · refine_finding · start_verification · append_clarification · finalize_verification · abort_verification

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.cdeust/ai-architect-mcp-codebase

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229