Skip to content
VS Code

Sugar for VS Code

io.github.cdnsteve/sugar

Autonomous AI development system with persistent task queue and background execution

client:VS Code transport:stdio runtime:pypi

Install Sugar in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "github-token",
      "description": "GITHUB_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sugar-default-repo",
      "description": "SUGAR_DEFAULT_REPO",
      "password": true
    }
  ],
  "servers": {
    "sugar": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sugarai"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "GITHUB_TOKEN": "${input:github-token}",
        "SUGAR_DEFAULT_REPO": "${input:sugar-default-repo}"
      }
    }
  }
}

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

Sugar in other clients