@wrongstack/codebase-index-mcp
v1.0.19
Published
WrongStack Codebase Index as an MCP server, backed by the existing project-scoped IPC daemon.
Readme
@wrongstack/codebase-index-mcp
Expose WrongStack's project-scoped Codebase Index daemon to any MCP client. The MCP process is only a protocol adapter: search, stats, graphs, and index updates still go through the existing named-pipe/Unix-socket IPC service, so the detached project daemon remains the single SQLite owner.
Usage
wstack-codebase-index-mcp --project-root /absolute/path/to/projectThe default stdio surface is read-only:
codebase_searchcodebase_statscodebase_package_graphcodebase_file_graphcodebase_symbol_graph
Add --writable to expose codebase_index, which can incrementally refresh
or fully rebuild the index:
wstack-codebase-index-mcp --project-root /absolute/path/to/project --writableLoopback HTTP is also available:
wstack-codebase-index-mcp --project-root /absolute/path/to/project --http --port 8767Non-loopback HTTP binds require --token; the shared MCP HTTP transport
rejects an unauthenticated public bind.
MCP client configuration
{
"mcpServers": {
"wrongstack-codebase-index": {
"command": "wstack-codebase-index-mcp",
"args": ["--project-root", "/absolute/path/to/project", "--writable"]
}
}
}