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. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Route HTTP requests through the Tor network. Rotating exit IPs, .onion support, no body logging.
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
Free remote MCP server for fetching public web pages through a rotating proxy pool.
Reliable web fetching for AI agents with retry, circuit breaker, caching, and anti-bot bypass
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.115MIT

Novada Proxyofficial
AlicenseNot gradedqualityBmaintenanceEnables 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 gradedqualityDmaintenanceA geo-distributed HTTP proxy for AI agents, enabling web fetching from multiple global regions (Frankfurt, Sydney, New York, San Francisco) with support for screenshots, scraping, and JS rendering.MIT
- AlicenseNot gradedqualityCmaintenanceRoutes 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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bayramlcm/webshare-proxy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server