Skip to content

Kivgraph MCP Server for Codex

Kivgraph can serve as a local code intelligence MCP server for Codex. It exposes repository structure, symbols, references and bounded impact through the MCP configuration used by Codex.

After installing Kivgraph, run:

Terminal window
kivgraph mcp install --scope user --target codex

This writes the kivgraph server entry to ~/.codex/config.toml. For a project-only configuration:

Terminal window
kivgraph mcp install --scope project --target codex

The project entry is written to .codex/config.toml in the current repository.

Register the repository and publish a full graph:

Terminal window
kivgraph init \
--repository project=/absolute/path/to/project \
--languages go,typescript,rust
kivgraph index --full

Codex can then use Kivgraph for semantic code navigation and questions about repository relationships, callers, dependencies and change impact.

Start with find_references for direct references or get_blast_radius before a risky change.