Skip to content
VS Code

torproxy for VS Code

io.github.hapheus/torproxy

Tor HTTP and SOCKS5 proxy with REST API and built-in MCP server.

client:VS Code transport:stdio runtime:oci

Install torproxy in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "torproxy-api-token",
      "description": "TORPROXY_API_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "torproxy": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hapheus/torproxy:2.7.7"
      ],
      "env": {
        "TORPROXY_API_TOKEN": "${input:torproxy-api-token}"
      }
    }
  }
}

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

torproxy in other clients