torproxy MCP
A minimal, secure HTTP and SOCKS5 proxy routed through the Tor network, featuring fail-closed leak protection, non-root execution, and a built-in REST API for circuit rotation and dynamic exit node selection. It includes a Model Context Protocol (MCP) server integration for agent interaction.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Route HTTP traffic through Tor via Privoxy
- Route SOCKS5 requests with remote DNS resolution
- Rotate Tor circuits via REST API
- Select dynamic exit nodes by country
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
docker.io/hapheus/torproxy:2.7.5
{
"transport": "stdio",
"identifier": "docker.io/hapheus/torproxy:2.7.5",
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"torproxy-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.5",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}Cline
{
"mcpServers": {
"torproxy-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.5",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}VS Code
{
"servers": {
"torproxy-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.5",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"torproxy-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.5",
"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.