Skip to content
VS Code

Leanwall for VS Code

io.github.kaushaljogi2002/leanwall

Local MCP firewall: 3 meta-tools front all your servers, cut tokens, redact secrets, gate writes

client:VS Code transport:stdio runtime:pypi

Install Leanwall in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "leanwall-config",
      "description": "LEANWALL_CONFIG",
      "password": true
    }
  ],
  "servers": {
    "leanwall": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "leanwall"
      ],
      "env": {
        "LEANWALL_CONFIG": "${input:leanwall-config}"
      }
    }
  }
}

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

Leanwall in other clients