Koskamo

torproxy MCP

A minimal, secure HTTP and SOCKS5 proxy routed through Tor that includes a built-in Model Context Protocol (MCP) server. It allows AI coding assistants like Claude Desktop and Cursor to access Tor tools natively, supporting dynamic circuit rotation and exit node selection via REST API while ensuring zero clearnet leaks through fail-closed protection.

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

  • Equip AI coding assistants with native Tor tools via MCP
  • Route container TCP and DNS traffic through Tor transparently
  • Rotate Tor circuits dynamically using REST API calls
  • Select specific exit node countries for proxy connections

Source and maintenance

Community listingRegistry 2.7.11
Maintenance checked

Packages and installation

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

docker.io/hapheus/torproxy:2.7.11

oci
docker.io/hapheus/torproxy:2.7.11 package definition
{
  "transport": "stdio",
  "identifier": "docker.io/hapheus/torproxy:2.7.11",
  "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-11": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.11",
        "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-11": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.11",
        "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-11": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.11",
        "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-11": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
        "docker.io/hapheus/torproxy:2.7.11",
        "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.