Skip to main content
Glama

ProxyShield MCP (Lite)

License: MIT Python: 3.10+ MCP Standard: Compatible

Autonomous Smart Proxy Routing, Bandwidth Conservation & Header Evasion Plane for AI Web Agents

ProxyShield MCP prevents AI browser agents (Claude Computer Use, Stagehand, browser-use, Playwright) from wasting expensive residential proxy data ($15-$25/GB) on heavy static assets. It routes requests intelligently, generates rotating browser evasion headers, and tracks bandwidth cost savings.


πŸš€ Features (Lite Edition)

  • Smart Tier Router (route_request): Categorizes requests into direct, datacenter, and residential tiers. Diverts fonts, images, and videos away from paid residential pools.

  • Static Asset Classifier (classify_asset): Automatically detects .woff2, .png, .mp4, .css, and heavy media.

  • Stealth Evasion Headers (get_evasion_headers): Rotating modern browser fingerprints (Chrome 131, Firefox 133) with matching Sec-CH-UA, viewport dimensions, and language tags.

  • Bandwidth Savings Tracker (get_bandwidth_savings): Quantifies total megabytes saved and estimated dollar savings in real time.


Related MCP server: puppeteer-real-browser-mcp-server

πŸ“¦ Installation & Setup

git clone https://github.com/johannschiffer/proxyshield-mcp.git
cd proxyshield-mcp
pip install -e .

Configuration with Claude Desktop / Cursor

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "proxyshield": {
      "command": "python3",
      "args": ["-m", "proxyshield.server"]
    }
  }
}

⚑ Quick CLI Usage

# Calculate route for a target URL
proxyshield route --url "https://example.com/assets/hero-video.mp4"

# Generate rotating evasion headers
proxyshield headers

πŸ’Ό Upgrade to ProxyShield Pro

Need enterprise protection and deeper cost reduction?

  • Hybrid Proxy Tier Pool (SQLite WAL): Health scoring, latency tracking, and automatic failover across Datacenter, ISP, and Residential providers.

  • TLS Client Hello & JA3/JA4 Rotator: Custom TLS handshake emulation to bypass Cloudflare and Akamai bot defenses.

  • Content-Addressable Asset Cache: Intercepts identical scripts and fonts by SHA-256 hash, reducing bandwidth by up to 85%.

  • Anti-Bot Circuit Breaker: Instant quarantine on 403, 429, or Turnstile challenges with automatic session handover.

  • Docker & Docker Compose: Ready for production deployment alongside agent clusters.

Available at Gumroad.


πŸ“„ License

MIT Β© Johann Schiffer

Available Tools

5 tools
classify_assetA

Checks if a URL points to a heavy static asset (image, font, video, stylesheet) that can bypass residential proxies.

Inputs: url (required).

get_bandwidth_savingsB

Returns total bandwidth redirected away from expensive residential proxies and cumulative USD saved.

Inputs: no named parameters.

get_evasion_headersB

Returns rotating anti-detection browser headers (User-Agent, Sec-CH-UA, viewport specifications).

Inputs: no named parameters.

record_metricB

Records bytes transferred and tier used to calculate cumulative bandwidth and cost savings.

Inputs: tier_used (required), bytes_transferred (required).

route_requestC

Determines whether an HTTP request should use residential, datacenter, or direct connection to optimize cost.

Inputs: url (required), method, force_residential.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a distinct purpose: routing decisions, asset classification, header generation, metric recording, and savings reporting. route_request and classify_asset both touch routing logic and could be momentarily confused, but their descriptions clearly delineate a decision tool versus an asset-type check.

    Naming Consistency5/5

    All five tools follow a consistent verb_noun snake_case pattern (route_request, classify_asset, get_evasion_headers, record_metric, get_bandwidth_savings). No mixed conventions or stylistic deviations.

    Tool Count5/5

    Five tools is well-scoped for a proxy cost-optimization domain, with each tool earning its place across routing, classification, headers, recording, and reporting. No redundancy or padding.

    Completeness4/5

    The surface covers the core lifecycle: decide routing, classify assets, fetch headers, record usage, and report savings. Minor gaps exist, such as resetting metrics or listing/configuring available proxy tiers, but agents can work around these.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI assistants with powerful, detection-resistant browser automation capabilities, allowing them to control a real web browser to navigate, extract content, and perform tasks while avoiding bot detection.
      9 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Routes 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.
      15 npm
      1
      MIT