CLI
larkx mcp
Start the MCP server. Used by AI clients automatically.
Usage
bash
larkx mcp [--check]Options
| Flag | Effect |
|---|---|
--check | Health check: send a JSON-RPC initialize, exit 0 if it responds, 1 if not |
What it does
Starts an MCP server over stdio. Registers 6 tools and waits for JSON-RPC requests from a client. You rarely run this manually, AI clients (Claude Code, Cursor) spawn this command on their own based on .mcp.json.
Manual test
bash
# Verify the server responds
larkx mcp --check
# → ✓ MCP server responding correctly