RepoPilot

deusdata / codebase-memory-mcp

Search deusdata/codebase-memory-mcp

GitHub

Code

How deusdata/codebase-memory-mcp is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely start-up file
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new MCP tool

  • Define the tool's job struct and registration in the architecture_jobs.c dispatcher
  • Implement tool-specific logic using graph queries via the store interface
  • Register the tool in agent_profiles.c to expose capability to connected agents

Add support for a new language

  • Create language-specific AST profile in src/semantic/ directory following ast_profile.h conventions
  • Register the language parser and symbol extraction rules in semantic.c dispatcher
  • Update discover.c to recognize files of the new language type

Extend the graph projection

  • Define new node/edge types and query patterns in architecture_projection.h
  • Expose projection via new MCP tool following the pattern in architecture_jobs.c

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points1955 per file on average
  • Code issues2 errors, 13 warnings
  • Largest file21,432 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions24 workflows
  • Tests882 test filesPytest · Jest/Vitest · 0.44 test files per source file (file count, not coverage)
  • Dependency updatesCodeQL

Test folders: graph-ui/src/app · graph-ui/src/agents · graph-ui/src/architecture

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.