BorrowIP MCP Server
Allows Hermes AI agents to use the BorrowIP MCP server for routing traffic through a mobile IP, providing tools for status checks, proxy retrieval, and URL fetching.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BorrowIP MCP Serverfetch https://example.com using key BIP-a1b2c3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BorrowIP 📡
Borrow mobile IP for AI agents — route traffic through your phone's cellular connection via SSH reverse tunnel.
Zero infrastructure. Uses existing SSH (port 22). Works with any MCP-compatible AI agent.
How it works
📱 Phone (Termux) 🖥️ VPS 🤖 AI Agent
──────────────── ───────── ──────────
borrowip connect borrowip-mcp Hermes/Claude
BIP-xxxx@vps-ip (auto-started) ↓
│ │ borrowip_fetch()
├── SSH :22 ──────────────→ SSH :22 ↓
│ pproxy :1080 SOCKS5 :10001 → cellular IP
└── cellular ──→ internet ←──┘Related MCP server: ProxyClaw MCP Server
Quick Start
1. VPS: Install & configure AI agent
git clone https://github.com/wahyuzero/borrowip
cd borrowip && pip install -e .Add to your AI agent config (e.g. Hermes config.yaml):
mcp_servers:
borrowip:
command: borrowip-mcpWhen AI agent starts, ask: "check borrowip status" → shows your pair code.
2. Phone (Termux): Install & connect
# Install
curl -sL https://raw.githubusercontent.com/wahyuzero/borrowip/main/scripts/install-termux.sh | bash
# Setup (first time only) — choose key or password auth
borrowip init
# Connect using pair code from VPS
borrowip connect BIP-xxxxxx@your-vps-ip3. Done!
"Fetch https://example.com using borrowip key BIP-xxxxxx"AI agent routes traffic through your phone's cellular IP automatically.
For AI Agents (LLM)
See LLM_GUIDE.md for a complete reference written for AI agents.
Quick summary of the 3-step workflow:
borrowip_status()— check what's connectedborrowip_get_proxy()— get thesocks5://URLborrowip_fetch(url)orbrowser_launch(proxy=<url>)— use the proxy
MCP Tools
Tool | Returns | Description |
| Text | Pair code + connected proxies with ports/IPs/alive status. Run first. |
|
| Ready-to-use proxy URL. Use with browser tools. |
| HTML/text | Fetch a URL through mobile proxy. |
|
| Fast 3s liveness test. Use when fetch fails. |
| IP address | Phone's external cellular IP. |
| Text | List all proxies with details. |
Architecture
MCP Server (
borrowip-mcp): Runs on VPS, auto-started by AI agent via stdio. Generates pair code, manages proxy connections.Client (
borrowip connect): Runs on Termux. Starts local SOCKS5 proxy (pproxy), creates SSH reverse tunnel, registers with pair code.
All traffic flows through SSH port 22 — no extra firewall rules.
Requirements
VPS: Python 3.10+, SSH on port 22, AI agent with MCP support (Hermes, Claude, Cursor, etc.)
Phone: Android + Termux, Python 3.10+, pproxy (pip install pproxy), SSH access to VPS (key or password)
Installation
VPS
git clone https://github.com/wahyuzero/borrowip
cd borrowip && pip install -e .Termux
# Quick install
curl -sL https://raw.githubusercontent.com/wahyuzero/borrowip/main/scripts/install-termux.sh | bash
# Or manual
pkg install openssh python
pip install pproxy
git clone https://github.com/wahyuzero/borrowip
cd borrowip && pip install -e ".[client]"Configuration
VPS (Hermes config.yaml)
mcp_servers:
borrowip:
command: borrowip-mcpTermux (~/.borrowip.toml)
Created by borrowip init. Supports two auth methods:
Key auth:
[server]
host = "your-vps-ip"
user = "your-ssh-user"
ssh_key = "~/.ssh/id_ed25519"Password auth:
[server]
host = "your-vps-ip"
user = "your-ssh-user"
ssh_password = "your-password"Then just run borrowip connect (reads config automatically).
Auto-start (Termux)
# Install Termux:Boot from F-Droid
mkdir -p ~/.termux/boot/
echo 'borrowip connect &' > ~/.termux/boot/start-borrowip.sh
chmod +x ~/.termux/boot/start-borrowip.shTunnel auto-reconnects on drop.
Security
SSH key or password auth
Pair code = identifier only; SSH credentials are the real auth
All traffic encrypted via SSH
SOCKS proxy bound to 127.0.0.1 only (not exposed to WiFi)
Pair code validated (prevents shell injection)
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/wahyuzero/borrowip'
If you have feedback or need assistance with the MCP directory API, please join our Discord server