MCPVault

codebase_graph_remove

MCP tool from SocratiCode by giancarloerra

Remove a project's persisted code graph (waits for in-flight graph build to finish first)

How to use it

codebase_graph_remove is exposed by the SocratiCode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the codebase_graph_remove tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install SocratiCode

$claude mcp add socraticode -- npx -y socraticode
FULL SOCRATICODE LISTING

Other tools in SocratiCode (25)

codebase_about

Display info about SocratiCode

codebase_context

List all context artifacts defined in .socraticodecontextartifacts.json with names, descriptions, and index status

codebase_context_index

Index or re-index all artifacts from .socraticodecontextartifacts.json

codebase_context_remove

Remove all indexed context artifacts for a project (blocked while indexing is in progress)

codebase_context_search

Semantic search across context artifacts (auto-indexes on first use, auto-detects staleness)

codebase_flow

Trace forward execution flow from an entry point. Call with no args to discover entry points (orphans, main(), framework routes, tests)

codebase_graph_build

Build a polyglot dependency graph (runs in background — poll with codebasegraphstatus)

codebase_graph_circular

Detect circular dependencies

codebase_graph_query

Query imports and dependents for a specific file

codebase_graph_stats

Get graph statistics (most connected files, orphans, language breakdown)

codebase_graph_status

Check graph build progress or persisted graph metadata

codebase_graph_visualize

Generate a Mermaid diagram (mode=mermaid, default) or an interactive HTML explorer (mode=interactive) of the dependency graph. Interactive mode writes a self-contained page (vendored Cytoscape.js + Dagre, works offline) and opens it in your default browser — file + symbol views, blast-radius overlay

codebase_health

Check Docker, Qdrant, and embedding provider status

codebase_impact

Blast radius — what files break if you change file/function X (BFS through reverse-call edges)

codebase_index

Start indexing a codebase in the background (poll codebasestatus for progress)

codebase_list_projects

List all indexed projects with paths and metadata

codebase_remove

Remove a project's index (safely stops watcher, cancels in-flight indexing/update, waits for graph build)

codebase_search

Hybrid semantic + keyword search (dense + BM25, RRF-fused) with optional file path, language filters, and cross-project search (includeLinked)

codebase_status

Check index status and chunk count

codebase_stop

Gracefully stop an in-progress indexing operation (current batch finishes and checkpoints; resume with codebaseindex)

codebase_symbol

360° view of one symbol — its definition, callers, and callees

codebase_symbols

List symbols in a file or search by name across the project

codebase_update

Incremental update — only re-indexes changed files

codebase_watch

Start/stop file watching — on start, catches up missed changes then watches for future ones

Offline-safe

Cytoscape.js + Dagre are vendored inside the SocratiCode package. No CDN, no network, works in air-gapped environments.