Skip to content
VS Code

Sandfort for VS Code

io.github.malinele/sandfort

Self-hosted sandboxes for AI-generated code: run commands, files, snapshots.

client:VS Code transport:stdio runtime:pypi

Install Sandfort in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sandfort-base-url",
      "description": "SANDFORT_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sandfort-api-key",
      "description": "SANDFORT_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "sandfort": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sandfort-mcp"
      ],
      "env": {
        "SANDFORT_BASE_URL": "${input:sandfort-base-url}",
        "SANDFORT_API_KEY": "${input:sandfort-api-key}"
      }
    }
  }
}

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

Sandfort in other clients