Skip to content

Integrations

The interactive installer auto-detects and configures each supported agent — wiring the CodeGraph MCP server into each. For the agents that use an instructions file, it also writes a short marker-fenced CodeGraph section (CLAUDE.md, AGENTS.md, or GEMINI.md) so subagents and non-MCP harnesses learn the codegraph explore command; codegraph uninstall removes it.

  • Claude Code
  • Cursor
  • Codex CLI
  • opencode
  • Hermes Agent
  • Gemini CLI
  • Antigravity IDE
  • Kiro

Run npx @colbymchenry/codegraph and pick your agent(s); see Installation for the non-interactive flags.

If you’d rather wire it up yourself, install globally:

Terminal window
npm install -g @colbymchenry/codegraph

Add the MCP server to ~/.claude.json:

{
"mcpServers": {
"codegraph": {
"type": "stdio",
"command": "codegraph",
"args": ["serve", "--mcp"]
}
}
}

Optionally auto-allow CodeGraph’s tools in ~/.claude/settings.json:

{
"permissions": {
"allow": [
"mcp__codegraph__*"
]
}
}

One wildcard auto-approves every CodeGraph tool. The server lists a single tool by default — codegraph_explore — but if you re-enable others via the CODEGRAPH_MCP_TOOLS environment variable, they’re already permitted with no prompt.