Troubleshooting

No graph found

Symptom: export or mcp-start reports no graph or missing .genome/watcher.db.

Fix: Run codegenome analyze . in the workspace first.

unrecognized arguments

Symptom: CLI error when mixing flags and subcommands.

Fix: Use only one style:

See Legacy flag CLI.

codegenome: command not found

igraph / leidenalg build failure

Install platform build tools (see Installation), then retry pip install codegenome.

MCP connection refused

Port 7331 in use

Stop the other instance or use a custom port:

python -m codegenome.mcp_server --db-path ./.genome/watcher.db --port 7332

Update installer and rules with the same port.

Empty MCP tool results

Empty timeline dumps

Run at least one successful --build before --dump-timeline.

Getting more help