outlit setup command registers Outlit as an MCP server with your AI agent tools. Once configured, your agents can query customers, pull revenue metrics, search context, and run SQL — all from within your conversation.
Supported Agents
| Agent | Command | How it connects |
|---|---|---|
| Cursor | outlit setup cursor | Writes to ~/.cursor/mcp.json |
| Claude Code | outlit setup claude-code | Runs claude mcp add |
| Claude Desktop | outlit setup claude-desktop | Writes to Claude Desktop config |
| VS Code | outlit setup vscode | Writes to .vscode/mcp.json |
| Gemini CLI | outlit setup gemini | Runs gemini mcp add |
| OpenClaw | outlit setup openclaw | Writes skill to OpenClaw skills directory |
| Agent Skills | outlit setup skills | Installs Outlit agent skills via package runner |
Auto-Setup
Detect and configure all installed agents at once:--yes, the CLI lists detected agents before configuring. Agent skills are also installed automatically.
JSON Output
Individual Setup
Cursor
~/.cursor/mcp.json:
Claude Code
claude to be installed.
Claude Desktop
| Platform | Config path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%/Claude/claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
VS Code
.vscode/mcp.json in the current working directory. Creates the .vscode/ directory if needed. Note: VS Code uses a servers key (not mcpServers).
Gemini CLI
gemini to be installed.
OpenClaw
~/clawd/skills/ first, falls back to ~/.openclaw/skills/. OpenClaw loads skills automatically.
Agent Skills
Diagnostics
Thedoctor command runs environment checks to verify your CLI and agent setup:
Checks Performed
| Check | What it verifies |
|---|---|
| CLI version | Whether you’re running the latest version |
| API key | Presence and format of your API key |
| API validation | Live test call to verify the key works |
| Per-agent checks | Each detected agent gets its own check (e.g., “Cursor”, “Claude Code”) |
Example Output
JSON Output
Exit Code
doctor exits with code 1 if any check fails, making it useful in CI:
Shell Completions
Generate completion scripts for your shell:- Bash
- Zsh
- Fish