Koskamo

torproxy MCP

A minimal, secure HTTP and SOCKS5 proxy routed through Tor, featuring a built-in Model Context Protocol (MCP) server. It allows AI agents to route traffic through Tor with fail-closed leak protection, non-root execution, and dynamic exit node selection via a REST API.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

torproxy MCP logo, by hapheusCommunity listingLocal stdioSource reviewed; not executedPublished by hapheus
Vendor documentation

What you can do with it

  • Route AI coding assistant traffic through Tor
  • Rotate Tor circuits dynamically via REST API
  • Select specific exit node countries for proxy traffic
  • Ensure zero clearnet leaks with fail-closed kill-switch

Source and maintenance

Community listingRegistry 2.7.9
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

docker.io/hapheus/torproxy:2.7.9

oci
docker.io/hapheus/torproxy:2.7.9 package definition
{
  "transport": "stdio",
  "identifier": "docker.io/hapheus/torproxy:2.7.9",
  "registryType": "oci",
  "packageArguments": [
    {
      "type": "positional",
      "value": "torproxy"
    },
    {
      "type": "positional",
      "value": "mcp"
    }
  ],
  "environmentVariables": [
    {
      "name": "TORPROXY_API_TOKEN",
      "format": "string",
      "description": "Optional secret token for authenticating REST and MCP requests."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "torproxy-mcp-2-7-9": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.9",
        "torproxy",
        "mcp"
      ],
      "env": {
        "TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "torproxy-mcp-2-7-9": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.9",
        "torproxy",
        "mcp"
      ],
      "env": {
        "TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "torproxy-mcp-2-7-9": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.9",
        "torproxy",
        "mcp"
      ],
      "env": {
        "TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "torproxy-mcp-2-7-9": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.9",
        "torproxy",
        "mcp"
      ],
      "env": {
        "TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like torproxy MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.