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 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.
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
- Verify Tor connectivity and IP anonymity
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.7
{
"transport": "stdio",
"identifier": "docker.io/hapheus/torproxy:2.7.7",
"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-2-7-7": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.7",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}Cline
{
"mcpServers": {
"torproxy-mcp-2-7-7": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.7",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}VS Code
{
"servers": {
"torproxy-mcp-2-7-7": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.7",
"torproxy",
"mcp"
],
"env": {
"TORPROXY_API_TOKEN": "<YOUR_TORPROXY_API_TOKEN>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"torproxy-mcp-2-7-7": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TORPROXY_API_TOKEN=<YOUR_TORPROXY_API_TOKEN>",
"docker.io/hapheus/torproxy:2.7.7",
"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.