Kivgraph MCP Server for Oh My Pi
Kivgraph integrates with Oh My Pi as a local code intelligence MCP server. Pi can query symbols, callers, dependencies and change impact through the graph instead of exploring every repository file first.
Register Kivgraph with Oh My Pi
Section titled “Register Kivgraph with Oh My Pi”After installing the Kivgraph binary, register the user-scope MCP server:
kivgraph mcp install --scope user --target oh-my-piThis writes the kivgraph entry to:
~/.omp/agent/mcp.jsonFor one project only, run the command from the project directory:
kivgraph mcp install --scope project --target oh-my-piThat writes .omp/mcp.json in the current repository.
Build the graph first
Section titled “Build the graph first”Register and publish the repository before asking Pi structural questions:
kivgraph init \ --repository project=/absolute/path/to/project \ --languages go,typescript,rustkivgraph index --fullThen use Oh My Pi to ask questions such as:
Who calls this function across the workspace?What repository relationships and dependencies are affected by this change?Kivgraph returns repository, file, symbol and line-range evidence where the analyzer can prove the relationship. Read code intelligence and token-efficient code understanding for the query model.