Skip to content
VS Code

Splits for VS Code

io.github.0xsplits/splits-cli

Give an AI agent its own key on a dedicated Splits account. At threshold 2+, a human co-signs.

client:VS Code transport:stdio runtime:npm

Install Splits in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "splits-api-key",
      "description": "SPLITS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "splits-workspace",
      "description": "SPLITS_WORKSPACE",
      "password": true
    }
  ],
  "servers": {
    "splits-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@splits/splits-cli"
      ],
      "env": {
        "SPLITS_API_KEY": "${input:splits-api-key}",
        "SPLITS_WORKSPACE": "${input:splits-workspace}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Splits in other clients