H4X0R CLI Overview
The Chorum CLI (codenamed H4X0R) lets you interact with your memory system directly from the terminal.
Why Use the CLI?
- Batch Operations: Import/export multiple projects
- Scripting: Automate memory snapshots or management
- Quick Access: Query memory without opening the browser
- MCP Server: Runs the local server for IDE integration
Installation
The CLI is included with the Chorum project. To use it globally, link it:
cd chorum-ai
npm linkNow you can run chorum anywhere.
Basic Usage
chorum <command> [options]To see available commands:
chorum --helpAuthentication
The CLI shares authentication with your local Chorum instance.
- Login:
chorum login(opens browser if needed) - Status:
chorum status(checks connection to local server)
MCP Server Mode
The primary use of the CLI is running the MCP server for IDEs.
npx chorum-mcpThis starts the server in stdio mode, which tools like Claude Desktop and Cursor use to communicate.
→ See MCP Setup for configuration details.
Related Documentation
- CLI Commands — Command reference
- MCP Integration — Connecting IDEs