MCP Integration

Global MCP Server Setup

Register larkx once with 'claude mcp add' — works in every project, no .mcp.json needed.

VS Code extension limitationThis global registration only applies to the terminal Claude Code CLI. The VS Code extension currently reads only per-project .mcp.json files. For VS Code, use the per-project setup.

One-time setup

bash
npm install -g larkx
claude mcp add larkx -- larkx mcp

Verify Claude sees it:

bash
claude mcp list
# → larkx: larkx mcp - ✓ Connected

Per-project still needed: indexing

The MCP server is global, but the index data lives inside each project's .larkx/ folder. So for each project where you want to use it:

bash
cd /path/to/your-project
larkx init    # one-time per project
larkx index   # builds the graph

Removing the global registration

bash
claude mcp remove larkx