CLI: System & Configuration
Commands to manage the CodeGraphContext engine itself.
cgc doctor
Self-diagnostic tool. Runs a health check on your installation.
Checks performed:
- Database connectivity (Neo4j / FalkorDB).
- Python version compatibility.
- Required dependencies.
Usage:
cgc doctor
cgc mcp setup
The interactive wizard for configuring AI clients.
What it does:
- Detects installed AI Clients (Cursor, VS Code, Claude).
- Creates the necessary config files (e.g.,
mcp.json). - Generates a
.envfile with database credentials.
Usage:
cgc mcp setup
cgc neo4j setup
The interactive wizard for configuring the graph database backend.
What it does:
- Docker: Pulls and runs the official Neo4j image.
- Local: Helps locate a local installation.
- Remote: Configures credentials for AuraDB.
Usage:
cgc neo4j setup
cgc config Commands
Directly modify settings without editing text files.
cgc config show: Print current configuration.cgc config set <key> <value>: Update a setting.- Example:
cgc config set DEFAULT_DATABASE neo4j
- Example:
cgc config db <backend>: Switch backends (shortcut).- Example:
cgc config db falkordb
- Example: