Splits

v0.6.1
io.github.0xSplits/splits-cli Checked 7 hours ago Published 15 days ago

Give an AI agent its own key on a dedicated Splits account.

Values you need

VariableWhat it is
SPLITS_API_KEYoptional secret Splits API key (sk_...) from Splits Settings. Optional: leave unset to log in from the agent through the browser-approval tools (auth_login-start, auth_login-status), which save a workspace locally. When set, it takes precedence over saved workspaces.
SPLITS_WORKSPACEoptional Alias of the saved workspace to use instead of the active one. Optional; cannot be combined with SPLITS_API_KEY.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add splits-cli -- npx -y --package=@splits/splits-cli@0.6.1 splits --mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "splits-cli": {
      "args": [
        "-y",
        "--package=@splits/splits-cli@0.6.1",
        "splits",
        "--mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "splits-cli": {
      "args": [
        "-y",
        "--package=@splits/splits-cli@0.6.1",
        "splits",
        "--mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "splits-cli": {
      "args": [
        "-y",
        "--package=@splits/splits-cli@0.6.1",
        "splits",
        "--mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.splits-cli]
command = "npx"
args = ["-y", "--package=@splits/splits-cli@0.6.1", "splits", "--mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: accounting_assertions_bulk, accounting_assertions_designate, accounting_assertions_edit, accounting_assertions_revoke, accounting_assertions_seed, accounting_categories_archive, accounting_categories_create, accounting_categories_list, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json