MCP Tools Catalog

Below is the complete list of 19 MCP tools generated dynamically from the live tool definitions in the codebase at build time.

get_skeleton

Get compact minified project overview (10-50x smaller than source). Returns legend, stats, node summaries, file imports, and W web component summaries when present.

Input Parameters

ParameterTypeRequiredDescription
pathstringYesPath to scan (e.g., "src/components")

get_focus_zone

Get enriched context for recently modified files. Auto-detects from git or accepts explicit file list.

Input Parameters

ParameterTypeRequiredDescription
pathstringNo
useGitDiffbooleanNoAuto-detect from git diff
recentFilesarrayNoExplicit list of files to expand

get_ai_context

Boot AI agent context. Two modes: 1. Default: returns skeleton + docs (2-3k tokens) for structure overview. 2. includeFiles: ['*']: returns ALL compressed source code without skeleton/docs (pure code dump). Filters vendored files via .contextignore (auto-created on first call). Call FIRST when starting work. Use ['*'] for small/medium projects that fit in context.

Input Parameters

ParameterTypeRequiredDescription
pathstringYesProject root path
includeFilesarrayNoFiles to include. Use ["*"] for ALL source files (filtered by .contextignore). Or specific files: ["parser.js", "tools.js"]
includeDocsbooleanNoInclude doc-dialect documentation (default: true, auto-disabled with '*')
includeSkeletonbooleanNoInclude project skeleton (default: true, auto-disabled with '*')

invalidate_cache

Invalidate the cached graph. Use after making code changes.

Input Parameters

No parameters required.

get_usage_guide

Get the comprehensive usage guide for project-graph with examples and best practices. Call this FIRST when planning how to analyze, navigate, or audit a codebase. Returns practical examples and recommended workflow for each feature area. Available topics: navigation, analysis, testing, documentation, rules, workflow. Omit topic to get the full guide.

Input Parameters

ParameterTypeRequiredDescription
topicstringNoOptional topic filter: navigation, analysis, testing, documentation, rules, workflow

get_agent_instructions

Get coding guidelines, architectural standards, and JSDoc rules for this project.

Input Parameters

No parameters required.

get_custom_rules

List all custom code analysis rules. Rules are stored in JSON files in rules/ directory.

Input Parameters

No parameters required.

set_custom_rule

Add or update a custom code analysis rule. Creates ruleset if it does not exist.

Input Parameters

ParameterTypeRequiredDescription
ruleSetstringYesName of ruleset (e.g., "symbiote", "react", "custom")
ruleobjectYesRule definition with id, name, description, pattern, patternType, replacement, severity, filePattern

check_custom_rules

Run custom rules analysis on a directory. Returns violations found.

Input Parameters

ParameterTypeRequiredDescription
pathstringYesPath to scan
ruleSetstringNoOptional: specific ruleset to use
severitystringNoOptional: filter by severity (error/warning/info)

get_framework_reference

Get framework-specific AI reference documentation. Auto-detects framework from project or accepts explicit name. Returns full API reference, patterns, and common mistakes as agent context.

Input Parameters

ParameterTypeRequiredDescription
frameworkstringNoFramework reference name (e.g., "symbiote-3x"). If omitted, auto-detects from path.
pathstringNoProject path for auto-detection (e.g., "src/")

graph_metadata

Read and validate project-local graph metadata sidecar. Actions: get|validate

Input Parameters

ParameterTypeRequiredDescription
actionstringYesMetadata action to perform
pathstringYesProject root path
metadataobjectNoFor validate: metadata object to validate instead of reading the sidecar

navigate

Navigate the project graph. Actions: expand|deps|usages|call_chain|sub_projects. deps returns code calls plus web template/style/component links when present.

Input Parameters

ParameterTypeRequiredDescription
actionstringYesNavigation action to perform
symbolstringNoSymbol name (for expand, deps, usages)
fromstringNoStarting symbol (for call_chain)
tostringNoTarget symbol (for call_chain)
pathstringNoPath to scan (for call_chain, sub_projects)

analyze

Code quality analysis. Actions: dead_code|similar_functions|complexity|large_files|outdated_patterns|full_analysis|analysis_summary|undocumented

Input Parameters

ParameterTypeRequiredDescription
actionstringYesAnalysis type to run
pathstringYesPath to scan
minComplexitynumberNoFor complexity: minimum threshold (default: 1)
onlyProblematicbooleanNoFor complexity/large_files: only show issues
thresholdnumberNoFor similar_functions: min similarity % (default: 60)
includeItemsbooleanNoFor full_analysis: include individual items
levelstringNoFor undocumented: strictness level
codeOnlybooleanNoFor outdated_patterns: only check code
depsOnlybooleanNoFor outdated_patterns: only check deps

testing

Test checklist management. Actions: pending|pass|fail|summary|reset

Input Parameters

ParameterTypeRequiredDescription
actionstringYesTest action to perform
pathstringNoPath to scan (for pending, summary)
testIdstringNoTest ID (for pass, fail)
reasonstringNoFailure reason (for fail)

filters

Filter configuration. Actions: get|set|add_excludes|remove_excludes|reset

Input Parameters

ParameterTypeRequiredDescription
actionstringYesFilter action to perform
excludeDirsarrayNoFor set: directories to exclude
excludePatternsarrayNoFor set: file patterns to exclude
useGitignorebooleanNoFor set: use .gitignore patterns
includeHiddenbooleanNoFor set: include hidden directories
dirsarrayNoFor add_excludes/remove_excludes

jsdoc

JSDoc operations. Actions: check_consistency|check_types|generate

Input Parameters

ParameterTypeRequiredDescription
actionstringYesJSDoc action to perform
pathstringYesPath to scan
namestringNoFor generate: specific function name
filesarrayNoFor check_types: specific files
maxDiagnosticsnumberNoFor check_types: max diagnostics (default: 50)

docs

Documentation (.ctx) management. Actions: get|generate|check_stale|validate_contracts

Input Parameters

ParameterTypeRequiredDescription
actionstringYesDocumentation action to perform
pathstringYesProject root path
filestringNoFor get: specific file docs
overwritebooleanNoFor generate: overwrite existing (merge preserves descriptions)
scopeanyNoFor generate: "all", "focus" (git diff), or array of file paths
strictbooleanNoFor validate_contracts: report functions missing from .ctx

compact

Compact code operations. Actions: compact_file|edit|compact_all|beautify|expand_file|expand_project|validate_pipeline|get_mode|set_mode

Input Parameters

ParameterTypeRequiredDescription
actionstringYesCompact action to perform
pathstringNoPath to file or directory
symbolstringNoFor edit: function/class name to replace
codestringNoFor edit: new code for the symbol
beautifybooleanNoBeautify output (default: true)
legendbooleanNoFor compact_file: include export legend
dryRunbooleanNoPreview without modifying
modenumberNoFor set_mode: 1 (compact, recommended) or 2 (full)
autoValidatebooleanNoFor set_mode: auto-validate after edits
stripJSDocbooleanNoFor set_mode: strip JSDoc when compacting
strictbooleanNoFor validate_pipeline: report fns missing from .ctx
fixbooleanNoFor validate_pipeline: auto-fix all style issues — generates .ctx documentation from readable code, then minifies (headers, imports, indentation, long names). Bidirectional: expand restores from .ctx.

db

Database analysis. Actions: schema|table_usage|dead_tables

Input Parameters

ParameterTypeRequiredDescription
actionstringYesDatabase analysis action
pathstringYesPath to scan
tablestringNoFor table_usage: filter to specific table