Splits
v0.6.1Give an AI agent its own key on a dedicated Splits account.
Values you need
| Variable | What it is | |
|---|---|---|
SPLITS_API_KEY | optional 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_WORKSPACE | optional | 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 --mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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