Plug your AI agent into 18Proxy via Model Context Protocol: the agent buys & manages proxies and pulls web data — fetch, search, scrape — through the proxy you own, bypasses Cloudflare, and never uses the server's IP.
MCP is the standard that lets an AI agent discover and call external tools. You plug the MCP server in once; the agent learns which tools exist and decides when to use them — no integration code. All the business logic (pricing, wallet, provisioning) stays in the system; MCP is just the bridge.
Go to Dashboard → API keys and create a key psk_…. The key is shown once — save it now.
Add the MCP config below to Claude Desktop / n8n / your SDK, and paste in the API key.
For example: “buy the VN Rotating Monthly plan”, “fetch this page via a Vietnam proxy”, “search … then extract the titles & links”.
A shared server; each request carries the API key in the header X-API-Key.
{
"mcpServers": {
"18proxy": {
"url": "https://mcp.example.com",
"headers": {
"X-API-Key": "psk_•••"
}
}
}
}
Run the server locally; the agent spawns the process.
{
"mcpServers": {
"18proxy": {
"command": "python",
"args": ["-m", "app.server"],
"cwd": "/path/to/mcp-server",
"env": {
"PROXYSELL_API_KEY": "psk_•••"
}
}
}
}
| Tools | What it does |
|---|---|
| list_plans · get_plan | Browse the plan catalogue |
| estimate_cost | Quote an à-la-carte config (call before buying) |
| purchase_plan · build_custom_proxy | Buy a plan / à-la-carte — debits the wallet, needs confirm=true |
| list_credentials · get_credential | List / detail of proxies (ip:port:user:pass) |
| rotate_ip · get_current_ip | Rotate IP / show the current exit IP |
| get_usage · get_balance | Bandwidth used / wallet balance |
| topup_balance | Create a top-up — returns a link, never charges |
| Tools | What it does |
|---|---|
| fetch | Fetch a URL → markdown / text / html; bypasses Cloudflare |
| search | Web search → a list of {title, url, snippet} |
| scrape | Extract by CSS selector → structured data |
| fetch_many | Fetch several URLs at once (reuses the unblock session) |
| solve_captcha | Solve a page's captcha → token (with the form field name to attach it to) |
| submit_form | Submit (POST) a form — auto-solves & injects the captcha token, through your proxy |
Every Group B tool egresses through the proxy you own; bandwidth is metered by the proxy as usual (no hidden fees). With no active proxy, the tool errors and skips.
Never the server's IP. No proxy purchased → it errors, no data is fetched.
Every spend needs confirm; there's a daily limit. Top-ups return a link, never auto-charge.
Keys are stored hashed, shown once; revoke any of them anytime in the dashboard.
Only total bandwidth is measured for quotas — no access logs.