webshare-proxy-mcp
webshare-proxy-mcp
An MCP server that routes HTTP requests through Webshare proxies, with exit-IP verification, rotation, and environment hardening.
Features
Proxy rotation — pick a random or country-filtered proxy from a Webshare account (direct or backbone mode)
Exit-IP verification — confirm the IP a proxy presents before relying on it
Strict proxy routing —
fetch_via_proxynever falls back to a direct connectionEnvironment hardening — generate a permission-restricted (
0600) env file exporting standard proxy variables
Related MCP server: Novada Proxy
Requirements
Python 3.10+
A Webshare account with an API key (Dashboard → API → Key)
Installation
uv tool install webshare-proxy-mcpOr run ad-hoc from source:
uv run server.pyConfiguration
Environment variable | Required | Description |
| yes | Webshare API token used for account access |
Tools
Tool | Description |
| List proxies in the account, with optional country, mode, and validity filters |
| Return a ready-to-use proxy as |
| Send a request through a proxy and report the exit IP it presents |
| GET a URL strictly through a given proxy; no direct fallback |
| Write a |
Client configuration
Claude Desktop / Claude Code
{
"mcpServers": {
"webshare-proxy": {
"command": "uvx",
"args": ["--from", "git+https://github.com/bayramlcm/webshare-proxy-mcp", "webshare-proxy-mcp"],
"env": { "WEBSHARE_API_KEY": "YOUR_KEY" }
}
}
}opencode
{
"mcp": {
"webshare-proxy": {
"type": "local",
"command": ["uvx", "--from", "git+https://github.com/bayramlcm/webshare-proxy-mcp", "webshare-proxy-mcp"],
"environment": { "WEBSHARE_API_KEY": "YOUR_KEY" }
}
}
}Usage
Via MCP tools:
get_proxy(country_codes="FR")
→ { "proxy_url": "http://user:pass@host:port", "curl_snippet": "curl -x ... https://api.ipify.org", ... }
test_proxy(host, port, username, password)
→ { "ok": true, "status_code": 200, "exit_ip": "82.23.57.191" }
fetch_via_proxy("https://api.ipify.org", host, port, username, password)
→ { "status_code": 200, "headers": { ... }, "body": "82.23.57.191" }From a shell, using the generated env file:
source /tmp/proxyrc; curl -s https://api.ipify.org
curl -s -x "$PROXY_URL" https://api.ipify.orgNote: exported variables do not survive shell resets between commands. Source the env file on the same command line as the request, or pass the proxy explicitly per request.
Security
The API key is read from the environment only; never commit credentials.
write_proxyrccreates files with0600permissions because they contain proxy credentials.Raw TCP/ICMP tools (
nmap,ping) do not honor HTTP proxy settings; use a proxy chaining tool if needed.Only access targets you are authorized to access.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Route HTTP requests through the Tor network. Rotating exit IPs, .onion support, no body logging.
Scrape protected pages and drive stealth browsers with residential or datacenter proxies.
Private web fetch and egress through residential IPs in many countries on URnetwork.
Rotating/sticky residential proxies with country & state targeting, quota and whitelist.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables automatic HTTP requests (GET, POST, PUT, DELETE, etc.) with JSON validation and proxy support. Supports custom headers, request bodies, and environment variable configuration for seamless API integration.1MIT

Novada Proxyofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to route HTTP requests through millions of real residential IPs, bypassing anti-bot systems and geo-targeting by country or city.4MIT- AlicenseNot gradedqualityNot gradedmaintenanceRoutes HTTP requests through the Tor network, enabling anonymous web fetching, exit IP checks, circuit renewal, and site reachability checks from MCP-compatible agents like Claude Desktop and Cursor.1MIT
- AlicenseNot gradedqualityDmaintenanceRoutes AI agent HTTP requests through residential proxies to bypass anti-bot systems, geo-target by country/city, and maintain sticky sessions across multi-step workflows.6 npm1MIT