About io.github.n24q02m/crg
io.github.n24q02m/crg is an MCP server published by n24q02m in the Blockchain category: token-efficient code review knowledge graph: semantic search and call-graph resolution. Conduid read 6 tools from its source: config, graph, help, query, review and security. No package is published for it, so it installs from a source checkout.
The repository has 78 stars and 10 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include blockchain.
Install
git clone https://github.com/n24q02m/crgTools (6)
configServer configuration, status, and model-cell setup. Actions: status (show state), set (key, value -- keys: log_level), cache_clear (wipe embeddings), setup_status (state + configured model cells), setup_start (where the host configures keys), setup_skip (local mode), setup_reset (reset to local), setup_complete (re-resolve from host config). Use `help` tool for full docs.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| force | boolean | |
| key | string | |
| repo_root | string | |
| value | string |
graphBuild and manage the code knowledge graph. Actions: build (full_rebuild, base, repo_root), update (base, repo_root), stats (repo_root), embed (repo_root), export (format, output_path, repo_root), import (import_path, repo_root), import_scip (import_path, repo_root), summarize (max_nodes, repo_root). Use `help` tool for full docs.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| base | string | |
| format | string | |
| full_rebuild | boolean | |
| import_path | string | |
| max_nodes | integer | |
| output_path | string | |
| repo_root | string | |
| roots | array |
helpGet full documentation for any tool. Topics: graph | query | review | config | security | recipes. Use when compressed descriptions are insufficient.| Parameter | Type | Description |
|---|---|---|
| topic | string |
queryQuery the code knowledge graph for relationships, search, and impact analysis. Actions: query (pattern, target), search (search_query), impact (changed_files|base), large_functions (min_lines), spot_check (n -- random callsite snippets from last callers_of/callees_of/inheritors_of/importers_of result), renamed_in_diff (base -- symbols whose callsite line shifted vs base ref), diff (from_sha, to_sha -- nodes added/removed/modified between two commit SHAs), communities (resolution, seed, limit -- Leiden clusters of tightly linked code with modularity). Use `help` tool for full docs.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| base | string | |
| context_lines | integer | |
| direction | string | |
| edge_kinds | array | |
| file_path_pattern | string | |
| from_sha | string | |
| kind | string | |
| limit | integer | |
| max_depth | integer | |
| max_payload_bytes | integer | |
| max_results | integer | |
| min_confidence | number | |
| seed | integer | |
| target | string | |
| to_sha | string |
reviewGenerate token-efficient review context for code changes. Actions: context (default — auto-detects changed files from git diff, returns structural summary, impacted nodes, source snippets, and review guidance), delta (from_sha, to_sha — wraps the `query.diff` buckets and, when show_line_shifts=true, surfaces qualified_names whose line_start moved between the two commits for refactor auditing). Context params: changed_files (auto), max_depth=2, include_source=true, max_lines_per_file=200, base='HEAD~1', repo_root (auto). Delta params: from_sha, to_sha, show_line_shifts=false, repo, repo_root. Use `help` tool for full docs.| Parameter | Type | Description |
|---|---|---|
| action | string | ``context`` (default) or ``delta``. |
| base | string | ``context`` action — git ref for change detection (default: ``HEAD~1``). |
| changed_files | array | ``context`` action — files to review (auto-detected from git if omitted). |
| include_ownership | boolean | ``context`` action -- add the git ownership report (suggested reviewers, bus-factor risks, churn hotspots, change coupling) and its guidance lines (default: true). |
| include_source | boolean | ``context`` action — include source code snippets (default: true). |
| languages | array | ``context`` action — optional list of language names (e.g. ``["python"]``) to scope the ``untested_functions`` list. Excludes functions whose language doesn't match. Fixes false positives on cross-language repos (D16, fixes #340). |
| max_depth | integer | ``context`` action — impact radius depth (default: 2). |
| max_lines_per_file | integer | ``context`` action — max source lines per file (default: 200). |
| max_tokens | integer | |
| repo | string | Phase 2 Task 10 — when non-empty, scope to nodes whose ``repo_id`` matches (e.g. ``repo='repo_a-aaaaaaaa'``). Default ``""`` includes every federated repo. Both actions. |
| repo_root | string | Repository root path (auto-detected). Both actions. |
| show_line_shifts | boolean | ``delta`` action — when True, include nodes whose ``line_start`` moved between ``from_sha`` and ``to_sha`` in the response (default False). |
| to_sha | string | ``delta`` action — later commit SHA. Required. |
securitySecurity scanning over the code knowledge graph. Actions: scan (engine='heuristic'|'semgrep', repo_root), paths (max_depth, source, sink, limit, repo, repo_root), report (format='json'|'sarif', repo_root), suppress (rule_id, remove=false, repo_root), rule_list (engine='heuristic'|'semgrep'). Use `help` tool for full docs.| Parameter | Type | Description |
|---|---|---|
| action | string | |
| base | string | |
| engine | string | |
| format | string | |
| limit | integer | |
| max_depth | integer | |
| remove | boolean | |
| repo | string | |
| repo_root | string | |
| rule_id | string | |
| scope | string | |
| sink | string | |
| source | string |
Security checks
6 checks have not been run yet.