# Ip2Proxy — how to use (mcp.ai)

Connect your Ip2Proxy account and use 1 tools for security and identity straight from your AI agent. Connect with your own API key. IP2Proxy is a proxy detection web service that identifies anonymous proxies, VPNs, TOR exit nodes, search engine robots, and residential proxies by IP address.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_ip2proxy?ms=1787295660000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `ip2proxy_check_proxy`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/ip2proxy`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/ip2proxy/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/ip2proxy/check/proxy` — Tool to check if an IP address is a proxy. Use after obtaining an IP to detect proxy, VPN, or Tor status.
  - body: { ip?: string, format?: string, package?: string }

## Example prompts
- "What can I do in Ip2Proxy?"
- "Show me a summary of my Ip2Proxy account"

## More
- Page: https://mcp.ai/ip2proxy
- Agent spec (llms.txt): https://mcp.ai/ip2proxy/llms.txt
- Postman collection: https://mcp.ai/ip2proxy/postman.json
