Skip to content
VS Code

Legato for VS Code

io.github.legatolabs/legato

A computer for any agent: a desktop container, your screen or the cloud, with settled screenshots.

client:VS Code transport:stdio runtime:pypi

Install Legato in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openrouter-api-key",
      "description": "OPENROUTER_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "legato": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "legatolabs"
      ],
      "env": {
        "OPENROUTER_API_KEY": "${input:openrouter-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

Legato in other clients