Skip to content
VS Code

sl mcp for VS Code

io.github.donovan-jasper/sl-mcp

MCP server for Sapling (sl) version control

client:VS Code transport:stdio runtime:npm

Install sl mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sl-mcp-binary",
      "description": "SL_MCP_BINARY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sl-mcp-timeout",
      "description": "SL_MCP_TIMEOUT",
      "password": true
    }
  ],
  "servers": {
    "sl-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sl-mcp"
      ],
      "env": {
        "SL_MCP_BINARY": "${input:sl-mcp-binary}",
        "SL_MCP_TIMEOUT": "${input:sl-mcp-timeout}"
      }
    }
  }
}

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

sl mcp in other clients