VirtualSMS MCP Server
This VirtualSMS MCP server enables AI agents to buy or rent phone numbers, receive SMS verification codes, manage proxies, and access account/order data.
Discover SMS services, countries, prices, and cheapest options (
list_services,list_countries,get_price,find_cheapest,search_services).Buy virtual numbers, poll or wait for SMS codes, retry, swap, and cancel orders (
create_order,get_sms,wait_for_sms,retry_order,swap_number,cancel_order,cancel_all_orders).Manage orders and account info (
list_orders,get_order,order_history,get_balance,get_profile,get_stats,get_transactions).Rent numbers by duration across Full Access and Platform tiers (
rentals_pricing,rentals_available,rentals_services,rentals_price,create_rental,list_rentals,get_rental,extend_rental,cancel_rental).Buy and manage matching-country proxies (
list_proxy_catalog,list_proxies,buy_proxy,rotate_proxy,get_proxy_usage,get_proxy_usage_history,set_proxy_targeting,test_proxy,list_proxy_locations,generate_proxy_endpoint).Check any E.164 number’s carrier and line type (
check_number).Start a beta, invite-only cloud browser registration session (
start_manual_registration_session).
Provides tools to obtain virtual phone numbers and receive SMS verification codes specifically for Google account verification.
Enables the acquisition of temporary phone numbers to receive SMS verification codes for Instagram.
Facilitates obtaining virtual phone numbers and receiving real-time SMS verification codes for Telegram accounts.
Allows searching for service codes and purchasing virtual phone numbers to receive SMS verification codes for Uber.
Enables the purchase of virtual phone numbers and automated retrieval of SMS verification codes for WhatsApp accounts.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
VirtualSMS MCP Server
Quick links: Quickstart · Why VirtualSMS · What you can build · Tools · Questions · Examples · Changelog · Security policy · Status
VirtualSMS is an account verification platform for developers and AI agents. It combines one-time SMS verification, dedicated number rentals, matching-country proxies and private cloud browser sessions behind one API, one MCP server and one prepaid balance.
Infrastructure for AI agents that need real-world phone verification.
The numbers are carrier-issued mobile numbers, backed by real physical SIM cards on carrier networks, not VoIP, which is why they pass the line-type checks that reject VoIP numbers at signup.
From one prepaid balance you can:
receive one-time SMS codes from $0.05
rent dedicated numbers from 1 to 30 days
buy matching-country residential, mobile and datacenter proxies
launch private cloud browser sessions that work alongside your number and proxy (beta)
All four work together from one prepaid balance, one API and one dashboard. Use only the pieces you need, or combine them into a single verification workflow.
Most providers solve one piece of the verification workflow. VirtualSMS combines numbers, rentals, proxies and cloud browser sessions behind one API, SDKs and an MCP server, so you use only the pieces you need or combine them into one workflow.
VirtualSMS can be used by individuals manually, integrated into applications with SDKs and APIs, or driven by AI agents through MCP. Use the platform through a REST API, official SDKs for Node, Python, PHP, Ruby and .NET, a hosted MCP server, or automation tools like n8n.
This server exposes that platform to any MCP client. Built for AI agents. Designed for AI-agent workflows. Works with Claude Code, Claude Desktop, Cursor, Windsurf and every MCP-compatible client, with no wrapper code to write.
Quickstart
Paste this into your MCP client's config. Nothing to install, no Node.js required on the client:
{
"mcpServers": {
"virtualsms": {
"type": "streamableHttp",
"url": "https://mcp.virtualsms.io/mcp",
"headers": {
"x-api-key": "vsms_your_api_key_here"
}
}
}
}Get an API key at virtualsms.io. Then ask your agent:
"Buy me a Telegram number in the cheapest country and wait for the code."
Prefer to run it locally over stdio instead:
npx virtualsms-mcpRelated MCP server: Twilio MCP Server
Why VirtualSMS
Verifying an account should not mean stitching together numbers from one provider, proxies from another, and browser sessions from a third: multiple accounts, multiple balances and APIs, and support spread across vendors. VirtualSMS brings those pieces together behind one balance, one API and one MCP server.
VirtualSMS combines all three under one account, and gives you one way to drive them:
Carrier-issued mobile numbers. Backed by real physical SIM cards, not VoIP, so they resolve as mobile at signup.
Matching-country proxies. Residential, mobile and datacenter pools, so the number and the IP agree.
Private cloud browser sessions. Beta.
REST API. Documented at virtualsms.io/docs.
Hosted MCP server. This repo, live at
https://mcp.virtualsms.io/mcp.One prepaid balance. Verification, rentals and proxies all draw from it.
Everything below expands on those six.
What you can build
Concrete jobs this server does today. Every one is a plain-English request your agent turns into tool calls:
You want to | Ask your agent | Tools it uses |
Verify a WhatsApp account from Claude Code | "Get me a WhatsApp code on a UK number" |
|
Create a Telegram account from Cursor | "Buy a Telegram number in the cheapest country and wait for the code" |
|
Retrieve verification codes automatically | "Wait for the code and paste it into the form" |
|
Test OTP flows during QA | "Run the signup flow ten times and report which codes landed" |
|
Provision temporary numbers during CI | "Give the test suite a fresh number, then release it" |
|
Keep a number for a week | "Rent me a British number for 7 days" |
|
Make the number and the IP agree | "Buy a UK proxy to match my UK number" |
|
Screen a number before you trust it | "Is this number VoIP?" |
|
Recover a number that went quiet | "That number never got the code, swap it" |
|
Runnable versions of the first two live in examples/.
Client setup
Every client runs the same npx virtualsms-mcp stdio command. Only the file location and format differ. The hosted config above works anywhere streamableHttp is supported and is the recommended path.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}Quit and reopen Claude Desktop. A drop-in config plus a worked transcript lives in examples/03-claude-desktop-config/.
Claude Code (CLI)
claude mcp add --scope user virtualsms npx virtualsms-mcp -e VIRTUALSMS_API_KEY=vsms_your_api_key_hereCursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}OpenClaw
Edit ~/.openclaw/mcp.json:
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}Codex (OpenAI Codex CLI)
Edit ~/.codex/config.toml:
[mcp_servers.virtualsms]
command = "npx"
args = ["virtualsms-mcp"]
env = { VIRTUALSMS_API_KEY = "vsms_your_api_key_here" }Hermes
Edit your Hermes MCP config:
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}Cline (VS Code)
Open the Cline MCP settings panel and add:
{
"virtualsms": {
"command": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}Zed
Edit ~/.config/zed/settings.json:
{
"context_servers": {
"virtualsms": {
"command": {
"path": "npx",
"args": ["virtualsms-mcp"],
"env": {
"VIRTUALSMS_API_KEY": "vsms_your_api_key_here"
}
}
}
}
}Continue.dev
Edit ~/.continue/config.yaml:
mcpServers:
- name: virtualsms
command: npx
args:
- virtualsms-mcp
env:
VIRTUALSMS_API_KEY: vsms_your_api_key_hereDoes this work with ChatGPT?
Yes, via ChatGPT's Developer Mode. Open Settings, turn on Developer mode, then add https://mcp.virtualsms.io/mcp as a custom connector (Plus, Pro, Business, Enterprise and Edu plans; not available on the free tier). Setup is a URL paste rather than a config file, so it differs from the client setups above. ChatGPT only connects to remote MCP servers over SSE or streaming HTTP, so use the hosted endpoint, not the local stdio command. The REST API is still there if you would rather build a custom GPT or Action instead.
Configuration
Variable | Required | Default | Description |
| Yes, for account tools | none | Your VirtualSMS API key. Keys carry a |
| No |
| API base URL |
| No | off | Serves 3 additional session-drive tools when set to |
| No | off | Serves the early-release rental tool when set to |
Tools
40 tools by default. Set VIRTUALSMS_ENABLE_SESSIONS=1 to expose 3 more.
Tool names are shown below without the virtualsms_ prefix for readability. The real wire names are prefixed: virtualsms_create_order, virtualsms_get_sms, and so on.
The core SMS verification surface: discover a service, price it, buy a number, get the code.
Tool | Auth | Description |
| Yes | All available verification services. Optional |
| Yes | All available countries. Optional |
| No | Price and availability for a service plus country pair |
| No | Cheapest countries for a service, sorted by price, with stock levels |
| Yes | Natural-language service lookup. "telega" finds Telegram |
| Yes | Account balance in USD |
| Yes | Email, Telegram link, balance, lifetime spend, total orders, active API keys |
| Yes | Orders, success rate, spend, and status/service/country breakdown |
| Yes | Transaction history with type, date range, and pagination filters |
| Yes | Buy a number for a service plus country. Returns |
| Yes | Poll an order for the code. Use for batch and cron jobs |
| Yes | Block until the SMS lands on an existing |
| Yes | Full order detail plus every received message |
| Yes | Your active orders. Essential for crash recovery |
| Yes | Past orders with status, service, country, and date filters |
| Yes | Cancel and refund, if no SMS arrived. 120s cooldown after purchase |
| Yes | Bulk-cancel every active order |
| Yes | Swap for a new number, same service and country, no extra charge. 120s cooldown |
get_smsvswait_for_sms:wait_for_smsis the recommended default for interactive agent workflows. It blocks and returns the moment the SMS arrives over WebSocket. Useget_smsfor batch jobs, cron-driven polling, or when you already manage your own polling loop.
wait_for_smstakes anorder_id, not a service and country. Callcreate_orderfirst, then pass the returnedorder_id. That is the two-step buy-and-wait flow.
Keep a number by the day instead of buying a single verification. Two tiers:
Full Access: local SIM inventory, for a whole number that works across any service. Every country in stock today lists 1, 7 and 30 days, at prices that vary per country. Durations and prices are not hardcoded here on purpose: call
rentals_availablefor the live list per country and treat that as authoritative.Platform: sourced via our global supplier network, locked to one chosen service, durations of 1, 3 or 7 days. Call
rentals_pricefor the exact retail price of a (service, country, duration) combo.
Stock, durations and pricing all differ per tier and per country, so call rentals_available before committing to either. An active rental can be extended with extend_rental at the current catalog price, in the same durations its tier allows.
Both tiers carry the same refund terms: cancel for a full refund within 20 minutes of purchase and before the first SMS arrives. Platform cancels are additionally subject to a 2 minute minimum hold, so a cancel inside the first 2 minutes is rejected and has to be retried.
Tool | Auth | Description |
| Yes | Full Access pricing tiers: durations and prices |
| Yes | Countries with rental stock, counts, and pricing, per tier |
| Yes | Services available for Platform-tier rental in a country, with stock and price |
| Yes | Retail price for a service, country, and duration combination |
| Yes | Rent a number. Check availability and price first |
| Yes | Your rentals across both tiers, filterable by status |
| Yes | Full detail for one rental: tier, number, service lock, status, expiry, SMS |
| Yes | Extend an active rental. Charges the current catalog price |
| Yes | Full refund, within 20 minutes of purchase and before any SMS |
Matching-country proxies, so the number and the IP agree. Three pools: residential, mobile and datacenter. Buy traffic by the GB, then generate a connection string.
Tool | Auth | Description |
| Yes | Pool types, countries, and price per GB. Start here |
| No | Cities, states, ASNs, or ZIPs for a pool type plus country. No purchase required |
| Yes | Purchase proxy traffic in GB. Returns credentials and remaining balance |
| Yes | Your proxies with remaining GB and credentials. Returns |
| Yes | Build a ready-to-use connection string: country, state, city, ZIP or ASN targeting, rotating or sticky, HTTP or SOCKS5 |
| Yes | Request a fresh exit IP for an existing proxy |
| Yes | Prove a proxy works. Reports exit IP, country, city, ISP, and latency |
| Yes | Cached GB used and remaining, plus request count, for one proxy |
| Yes | Per-day traffic and request series over the last 7 or 30 days |
| Yes | Persist a default geo-targeting on a proxy sub-user |
Tool | Auth | Description |
| Yes | Ask for the SMS to be resent to the same number. Not all order types support it |
| No | Carrier and line-type lookup for any E.164 number: mobile, landline or VoIP, plus spam risk |
| Yes | Beta, invite-only. Start a country-matched cloud browser you drive yourself in a live viewer. Agent-driven navigation is a separate opt-in (the session tools). Join https://t.me/VirtualSMS_io for beta access |
Beta, invite-only. The browser stack is early. It works, but the shape of these tools can still change and there is no stability guarantee yet. Join https://t.me/VirtualSMS_io for beta access and updates.
Served only when VIRTUALSMS_ENABLE_SESSIONS is set to 1, true or yes. Not exposed on the default surface.
Tool | Description |
| Navigate an active browser session to a URL |
| Live viewer URL and current status for an active session |
| Stop an active browser session and release it |
Typical workflows
Get a verification code
create_order(service: "telegram", country: "US")
→ {order_id: "abc123", phone_number: "+14155552671", status: "pending"}
wait_for_sms(order_id: "abc123", timeout_seconds: 180)
→ {success: true, code: "12345", delivery_method: "websocket", elapsed_seconds: 8}Find the cheapest country first
find_cheapest(service: "telegram", limit: 3)
→ {cheapest_options: [{country: "PK", price_usd: 0.05, ...}]}
create_order(service: "telegram", country: "PK")
wait_for_sms(order_id: "abc123")Number not receiving? Swap it
swap_number(order_id: "abc123")
→ {order_id: "def456", phone_number: "+628...", status: "waiting"}Rent a number for a month
rentals_available(tier: "full_access")
→ countries holding local SIM stock, each with its own duration and price list
create_rental(tier: "full_access", country: "FR", duration_hours: 720)
→ {rental_id: "rnt_1", phone_number: "+33...", expires_in_days: 30}Stock is per country and per tier, so discover first and rent second. rentals_available(tier: "platform") covers a different, service-locked catalogue.
Pair a number with a matching-country proxy
list_proxy_catalog()
buy_proxy(pool_type: "residential", gb: 1, country_code: "GB")
generate_proxy_endpoint(proxy_id: "px_1", country_code: "GB", protocol: "socks5")Questions
What is account verification infrastructure?
Account verification infrastructure is the stack that gets a real account through a signup flow that demands a phone number. It has five layers, and a gap in any one of them fails the whole chain:
Numbers. A carrier-issued mobile line, because the line type gets checked.
SMS. The verification code, delivered to that number and readable by software rather than by a human holding a handset.
Proxy. An IP in the same country as the number, so the two agree.
Browser. A clean environment to drive the signup itself.
Automation. An API or an agent that runs the chain end to end, unattended.
Most providers sell the first two layers and leave you to source the rest, which is exactly where the number, the IP and the browser stop telling the same story. VirtualSMS provides the infrastructure behind all five.
VirtualSMS is an account verification platform for individuals, developers, and AI agents. It combines one-time SMS verification, dedicated number rentals, matching-country proxies, and private cloud browser sessions behind one API, one MCP server, and one prepaid balance.
What is an MCP server for SMS verification?
MCP (Model Context Protocol) is an open standard that lets an AI client call external tools. An MCP server for SMS verification exposes phone-number and verification-code operations as tools an agent can call directly, so the agent buys the number, waits for the code and reads it back without any glue code from you. This repo is that server for VirtualSMS: 40 tools covering verification, rentals and proxies. If you are not driving an agent at all, the same operations are available as a plain REST verification API.
When should I use this?
Your AI agent needs to sign in to or register an account that demands a phone number.
You are testing an OTP or signup flow and want fresh numbers on demand instead of a drawer of test SIMs.
You need a verification code retrieved automatically, in CI or in an unattended job.
You need a number and a matching-country IP that agree with each other.
You are driving signup automation in a browser and would rather the number, the IP and the browser came from one place than three.
You need a temporary phone number for one code, or a dedicated one you keep for up to 30 days.
You want per-code pricing from $0.05 with no subscription and no monthly number rental.
When should I NOT use this?
Honest answers, so you do not waste an afternoon:
You need to send SMS. This platform receives; it does not send. Use a messaging provider such as Twilio.
You need a permanent number for your business. Verification numbers are temporary by design, and rentals run in days, not years. Buy a real line from a carrier.
You need codes on a number you already own. There is no port-in. The numbers come from our inventory.
You are running A2P marketing campaigns. Wrong tool entirely.
You are trying to evade a platform's terms of service. Whether your use complies with the terms of the service you verify against is your responsibility, not ours.
Can Claude or Cursor receive SMS verification codes?
Yes, through this server. Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Zed, Continue.dev, Codex, OpenClaw and Hermes are all MCP clients, and each one is a config paste away (see Client setup). Once installed, "buy a Telegram number and wait for the code" is a request the agent can carry out end to end. ChatGPT can reach it too, through Developer Mode custom connectors (see Does this work with ChatGPT?), or through the REST API if you would rather not enable Developer Mode.
How do AI agents receive OTP codes automatically?
Two tool calls. create_order buys a number for a given service and country and returns an order_id. wait_for_sms then blocks on that order_id and returns the moment the code arrives, pushed over WebSocket, typically in 2 to 15 seconds. The agent never polls, never sleeps in a loop, and never needs a human to read a phone. If you would rather drive your own loop, get_sms polls a single order instead.
How is this different from Twilio?
Twilio is a full communications platform: send and receive SMS and voice, long-lived numbers, A2P campaigns, the lot. VirtualSMS does one job, which is receiving verification codes on demand. The practical differences:
Line type. Twilio numbers are VoIP. Many services reject VoIP numbers at signup. VirtualSMS numbers are real physical SIM cards on carrier networks, so they resolve as mobile.
Pricing shape. Twilio bills you for a number every month whether you use it or not. VirtualSMS bills per code from $0.05, with no subscription.
Direction. Twilio sends and receives. This receives.
If you need to send messages, use Twilio. If you need to receive a verification code, this is purpose-built for it.
Why real physical SIM cards instead of VoIP?
Verification systems check the line type of the number you give them. VoIP numbers are cheap and disposable at scale, so they correlate with fraud, and a large share of services reject them outright at signup. Real physical SIM cards sit on carrier networks and resolve as mobile, which is exactly what those checks are looking for: a non-VoIP number that behaves like a real handset.
You do not have to take that on faith. check_number runs a carrier and line-type lookup on any E.164 number, needs no API key, and will tell you whether a number reads as mobile, landline or VoIP.
Alternatives and comparisons
Developers searching for textverified mcp, sms-activate mcp, 5sim mcp, daisysms mcp or smspool mcp are usually asking one question: which SMS verification provider can an AI agent drive natively? This section answers that without a scoreboard.
VirtualSMS publishes this MCP server, so any MCP client calls it directly with no wrapper code: 40 tools, 2500+ services, 145+ countries, from $0.05 per code, on real physical SIM cards, plus number rentals and matching-country proxies from the same balance.
SMS-Activate shut down in December 2025. If your integration pointed there, it is gone, and the migration is a new API key and a new base URL rather than a rewrite: the shape of the job, buy a number then read the code, is the same here.
TextVerified, 5SIM, DaisySMS and SMSPool are all active SMS verification providers, each with its own API, pricing, coverage and terms. Check their current documentation for what they offer today.
We deliberately do not publish a comparison table of competitors' prices, service counts or coverage. Those numbers move week to week, we have no privileged view into anyone else's inventory, and a stale table dressed up as research is worse than no table at all. The VirtualSMS numbers above are ours and we stand behind them. Compare them against whatever you are using now.
How it works
WebSocket and polling
wait_for_sms uses a two-tier delivery system:
WebSocket, instant. Connects to
wss://virtualsms.io/ws/orders?order_id=xxx&api_key=your_key. When the SMS arrives the server pushes it in real time. Typical delivery: 2 to 15 seconds.Polling fallback. If the WebSocket fails to connect or drops, the tool falls back to polling every 5 seconds for the remaining timeout.
The delivery_method field in the response tells you which path was used: websocket, polling, or instant when the code had already landed before you called.
This server pushes over a held-open WebSocket; it never calls you back. If you would rather VirtualSMS POST events to a URL you own, the platform runs a separate webhook subscription system, configured from the dashboard and driven by the REST API rather than by this MCP server.
Architecture
AI Agent (Claude / Cursor / Codex / Windsurf / any MCP client)
│
▼ MCP (stdio or StreamableHTTP)
VirtualSMS MCP Server (this package)
│
├──► REST API: https://virtualsms.io/docs
│ create_order, get_sms, cancel_order, get_balance ...
│
└──► WebSocket: wss://virtualsms.io/ws/orders
real-time SMS push deliveryCrash recovery
If your session is interrupted mid-verification:
Restart the MCP server.
List active orders:
list_orders(status: "pending")Check for codes:
get_sms(order_id: "abc123")Cancel if not needed:
cancel_order(order_id: "abc123")
wait_for_sms always returns order_id, even on timeout, so you can recover.
Hosted endpoint and status
Hosted MCP endpoint:
https://mcp.virtualsms.io/mcp. TLS-only StreamableHTTP, fronted by Cloudflare.Platform status and uptime: virtualsms.io/status, polled live: website and dashboard, SMS gateway, REST API, Telegram bot and database. The hosted MCP endpoint runs as a separate service and is not yet a row on that page.
Target SLA: 99.9% on the hosted MCP path. A target we hold ourselves to rather than a contractual guarantee, and one the status page above does not yet measure.
Coverage: 145+ countries online, 2500+ services indexed.
Data retention: SMS message bodies are retained 7 days, then permanently deleted. Order metadata (phone number, service, country, timestamps) is retained for the lifetime of your account. See SECURITY.md for full details.
Vulnerability disclosure: email
security@virtualsms.ioor open a private security advisory.
Examples
Three runnable examples are checked into this repo. Each is node run.mjs away once VIRTUALSMS_API_KEY is set.
examples/01-quick-balance-check/: 5-second hosted MCP smoke test (get_balance).examples/02-buy-sms-and-wait-for-code/: full verification flow,find_cheapest→create_order→wait_for_sms→ cancel-on-timeout. The canonical pattern for AI agents.examples/03-claude-desktop-config/: drop-in Claude Desktop config plus a transcript of "ask Claude what's my balance" over StreamableHTTP.
SDKs and tools
The same platform, from whatever you already write in:
Repo | What it is |
Official Node.js / TypeScript SDK | |
Official Python SDK | |
Official PHP SDK | |
Official Ruby SDK | |
Official .NET SDK | |
Official Go SDK | |
Official Rust SDK | |
Official Swift SDK | |
Official Java SDK | |
REST API documentation source | |
Runnable examples across languages | |
n8n community nodes | |
Make, Zapier and workflow integrations | |
Carrier and line-type lookup tool | |
Claude skill for SMS verification | |
Cursor rules for SMS verification |
Build and contribute
git clone https://github.com/virtualsms-io/mcp-server.git
cd mcp-server
npm install
npm run build # tsc
npm test # vitest
npx tsc --noEmit # typecheck onlyTwo transports share one tool table: src/index.ts (stdio) and src/http-server.ts (StreamableHTTP). Tool definitions and handlers live in src/tools.ts. If you add a tool, wire it into both transports. src/__tests__/transport-parity.test.ts fails the build if you forget, and src/__tests__/docs-tool-names.test.ts fails if the docs name a tool that does not exist.
Issues and pull requests: github.com/virtualsms-io/mcp-server.
Release notes for v1.0.0 to v1.3.1 are in CHANGELOG.md.
Security
API keys are passed via the x-api-key header (hosted) or the VIRTUALSMS_API_KEY environment variable (local stdio), and are rotatable from your account at virtualsms.io. Full policy, retention detail and disclosure process: SECURITY.md.
Report vulnerabilities to security@virtualsms.io.
License
MIT. See LICENSE.
Built by VirtualSMS.io. Account verification for developers and AI agents, on real physical SIM cards: 2500+ services · 145+ countries · from $0.05 per code.
Available Tools
40 toolsvirtualsms_buy_proxyBuy Proxy GBAInspect
Purchase proxy traffic (GB) for a selected pool type. Returns proxy credentials and remaining balance. country_code here is only a soft preference for provisioning. For actual per-connection targeting (country/state/city/zip/asn) or a ready-to-use connection string, use virtualsms_generate_proxy_endpoint after buying. To persist a default targeting on the sub-user, use virtualsms_set_proxy_targeting.
Inputs: gb (required), pool_type (required), country_code, idempotency_key.
virtualsms_cancel_all_ordersCancel All Active OrdersADestructiveIdempotentInspect
Bulk-cancel every currently active order in your account. Returns the number of orders cancelled plus any failures. Useful for quick cleanup after a batch run or test session.
Inputs: no named parameters.
virtualsms_cancel_orderCancel OrderADestructiveIdempotentInspect
Cancel an order and request a refund. Only works if no SMS has been received yet. Use this if the service is taking too long or you want to try a different number. Cooldown: cancel is only available 120 seconds after purchase. Check cancel_available_at on the order before calling. Calling earlier returns a cooldown_active error from this MCP server (no backend round-trip).
Inputs: order_id (required).
virtualsms_cancel_rentalCancel RentalADestructiveIdempotentInspect
Cancel a rental for a full refund. Only eligible within 20 minutes of purchase AND before any SMS has been received. Works for either tier. Past that window a rental runs to its natural expiry.
Inputs: rental_id (required).
virtualsms_check_numberCheck Phone NumberARead-onlyIdempotentInspect
Public carrier + line-type lookup for an arbitrary E.164 phone number (mobile/landline/VoIP, spam risk). No API key required.
Inputs: number (required).
virtualsms_create_orderBuy Virtual NumberAInspect
Purchase a virtual phone number for SMS verification. Returns order_id and phone_number. Codes typically arrive within ~10-60 seconds after purchase. Use get_sms to poll for the verification code, or use wait_for_sms to block until it arrives.
Inputs: country (required), service (required).
virtualsms_create_rentalCreate RentalAInspect
Rent a phone number for an extended period (as opposed to a one-off number via create_order). Two tiers: "full_access" = local SIM inventory, works across ANY service on that number. "platform" = sourced via our global supplier network, locked to ONE chosen service, durations 1/3/7 days only. Both tiers carry the same refund terms: a full refund within 20 minutes of purchase and before the first SMS arrives. Check rentals_available and rentals_price/rentals_pricing first to confirm country/service/duration and cost.
Inputs: tier (required), country (required), duration_hours (required), service, +1 more.
virtualsms_extend_rentalExtend RentalAInspect
Extend an active rental by an additional duration. Charges your balance at the current catalog price for that duration.
Inputs: rental_id (required), duration_hours (required).
virtualsms_find_cheapestFind Cheapest CountriesARead-onlyIdempotentInspect
Find the cheapest countries for a given service, sorted by price. Returns available countries with prices and stock levels so you can pick the best deal.
Inputs: service (required), limit.
virtualsms_generate_proxy_endpointGenerate Proxy Connection EndpointARead-onlyIdempotentInspect
Build ready-to-use proxy connection string(s) for an owned proxy: country/state/city/zip/asn targeting, rotating or sticky session, HTTP or SOCKS5, in host:port:user:pass / user:pass@host:port / curl format. Nothing is purchased or changed server-side. This only composes a connection string from the proxy's existing credentials (same convention as the VirtualSMS dashboard's endpoint generator). Sub-country targeting (state/city/zip/asn) bills the proxy's own GB at 2x on non-premium pools, free on residential_premium.
Inputs: proxy_id (required), country_code (required), count, format, +5 more.
virtualsms_get_balanceGet Account BalanceARead-onlyIdempotentInspect
Check your VirtualSMS account balance in USD. Requires VIRTUALSMS_API_KEY to be set.
Inputs: currency.
virtualsms_get_orderGet Order DetailsARead-onlyIdempotentInspect
Get the full details of a specific order, including status, phone number, service, country, timestamps, and any received SMS code/text. Use this when you have an order_id and need the latest state beyond what get_sms returns.
Inputs: order_id (required).
virtualsms_get_priceCheck Service PriceARead-onlyIdempotentInspect
Check the price and availability for a specific service + country combination. Always check price before buying to confirm availability.
Inputs: country (required), service (required).
virtualsms_get_profileGet Account ProfileARead-onlyIdempotentInspect
Full account profile: email, Telegram link status, current balance, lifetime spend, total orders, active API keys, and account creation date.
Inputs: no named parameters.
virtualsms_get_proxy_usageGet Proxy UsageARead-onlyIdempotentInspect
Get cached GB used/remaining and request count for one proxy. Cheap, no upstream call. Reads a cached value refreshed every ~5 minutes.
Inputs: proxy_id (required).
virtualsms_get_proxy_usage_historyGet Proxy Usage HistoryBRead-onlyIdempotentInspect
Get a per-day traffic (GB) and request-count series for one proxy over the last 7 or 30 days.
Inputs: proxy_id (required), range.
virtualsms_get_rentalGet Rental DetailsARead-onlyIdempotentInspect
Get the full details of a specific rental by ID, including tier, phone number, country, service lock, status, expiry, and any received SMS. Use list_rentals first if you do not have the rental_id.
Inputs: rental_id (required).
virtualsms_get_smsCheck SMS CodeARead-onlyIdempotentInspect
Check if an SMS verification code has been received for an order. Returns status, phone_number, and (when delivered) messages[] array plus an extracted code. Poll this every 5-10 seconds after buying a number, or use wait_for_sms to block until delivery.
Inputs: order_id (required).
virtualsms_get_statsGet Account StatsARead-onlyIdempotentInspect
Account usage stats aggregated from your order history: total orders, success rate, total spend, top services/countries, and status breakdown over a configurable lookback window.
Inputs: since_days.
virtualsms_get_transactionsGet Transaction HistoryBRead-onlyIdempotentInspect
Transaction history for the account with optional filters for type, date range, and pagination. Types: "deposit", "purchase", "refund", "admin_credit".
Inputs: to, from, type, limit, +1 more.
virtualsms_list_countriesList Available CountriesARead-onlyIdempotentInspect
Get all available countries for SMS verification. Use this to discover valid country codes before buying a number.
Inputs: service.
virtualsms_list_ordersList Active OrdersARead-onlyIdempotentInspect
List your active orders. Essential for crash recovery. If your session was interrupted, use this to find pending orders and their phone numbers, then use get_sms to retrieve codes.
Inputs: status.
virtualsms_list_proxiesList My ProxiesARead-onlyIdempotentInspect
List all proxies on your account with remaining GB and login credentials. Returns proxy_id values for use with get_proxy_usage, rotate_proxy, set_proxy_targeting, and generate_proxy_endpoint.
Inputs: no named parameters.
virtualsms_list_proxy_catalogList Proxy CatalogARead-onlyIdempotentInspect
List available proxy pool types, countries, and price-per-GB. Use this before buying proxy traffic.
Inputs: no named parameters.
virtualsms_list_proxy_locationsList Proxy LocationsARead-onlyIdempotentInspect
List available cities, states, ASNs, or ZIP codes for a pool type + country. Use this to discover valid location_code values before calling virtualsms_generate_proxy_endpoint or virtualsms_set_proxy_targeting with sub-country targeting. Public endpoint, no purchase required. Not available for residential_premium (only residential, mobile, datacenter).
Inputs: kind (required), country (required), pool_type (required).
virtualsms_list_rentalsList My RentalsARead-onlyIdempotentInspect
List your rentals across both tiers, optionally filtered by status. Returns rental_id, tier, country, phone number, status, and expiry for each. Use get_rental for full detail on one.
Inputs: status.
virtualsms_list_servicesList Available ServicesARead-onlyIdempotentInspect
Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). Use this to discover valid service codes before buying a number.
Inputs: search.
virtualsms_order_historyOrder HistoryARead-onlyIdempotentInspect
List past orders with optional filters for status, service, country, and a lookback window in days. Returns up to 50 orders (server cap) ordered most-recent-first.
Inputs: limit, status, country, service, +1 more.
virtualsms_rentals_availableList Rental Country AvailabilityARead-onlyIdempotentInspect
List countries with rental stock, available counts, and pricing. tier=full_access (default) shows local-SIM inventory; tier=platform shows countries available via our global supplier network (with per-country service counts and popular services). Use this before creating a rental.
Inputs: tier, type, country, service.
virtualsms_rentals_priceGet Platform-Tier Rental PriceARead-onlyIdempotentInspect
Get the catalog-driven retail price for a (service, country, duration) platform-tier rental combo.
Inputs: service (required), country_code (required), duration_hours (required).
virtualsms_rentals_pricingList Rental Pricing TiersARead-onlyIdempotentInspect
List all active rental pricing tiers (Full Access tier: local SIM inventory, durations and prices). This is a raw catalog dump and may list rows that are not purchasable today, so confirm against rentals_available (authoritative per country) before creating a rental. Use rentals_price for platform-tier (per-country, per-service) pricing instead.
Inputs: no named parameters.
virtualsms_rentals_servicesList Platform-Tier Rental ServicesARead-onlyIdempotentInspect
List services available for platform-tier rental in a given country, with physical stock counts and retail price. Platform-tier rentals are locked to ONE chosen service per number. Use this to pick a valid service code before creating one.
Inputs: country_code (required), duration_hours.
virtualsms_retry_orderRetry Order (Resend SMS)AInspect
Ask the provider to resend the SMS to the SAME phone number on an existing order (order must be in waiting/created status). Not all order types support this. Some providers only support swap_number instead, which returns a NEW number.
Inputs: order_id (required).
virtualsms_rotate_proxyRotate Proxy IPAInspect
Request a fresh IP for an existing proxy. Useful when an endpoint flags the current exit IP.
Inputs: proxy_id (required), port.
virtualsms_search_servicesSearch Service by NameARead-onlyIdempotentInspect
Find the right service code using natural language. Don't know the exact code? Just search "uber", "binance", "steam" etc. Returns matching services with similarity scores.
Inputs: query (required).
virtualsms_set_proxy_targetingSet Proxy Default TargetingAIdempotentInspect
Persist a default geo-targeting (country, and optionally cities/ASNs) on an existing proxy sub-user. Country-only is free. Adding cities or ASNs bills the GB on your OWN allocation at 2x (not on residential_premium, where refined targeting is included free). This changes the STORED default. For a one-off connection string with any targeting (including state/zip), use virtualsms_generate_proxy_endpoint instead.
Inputs: proxy_id (required), country_code (required), asns, cities.
virtualsms_start_manual_registration_sessionStart Manual Registration SessionAInspect
Beta, invite-only. Start a country-matched cloud browser you drive yourself: returns a viewer_url, an authenticated live-viewer link you open to watch and drive the session (manual takeover), plus optional order phone number and timeline. Agent-driven navigation is the separate opt-in session tools. Pair with create_order for OTP + browser in one agent flow.
Inputs: mode, country, order_id, run_prep, +5 more.
virtualsms_swap_numberSwap Phone NumberAInspect
Swap a phone number on an existing order. Gets a new number for the same service and country without additional charge. Use when the current number isn't receiving SMS. Cooldown: swap is only available 120 seconds after purchase. Check swap_available_at on the order before calling. Calling earlier returns a cooldown_active error from this MCP server (no backend round-trip).
Inputs: order_id (required).
virtualsms_test_proxyTest Proxy ConnectivityAInspect
Make one request through a proxy and report the exit IP, country, city, ISP, and latency. Proves the proxy works and which country it exits from. Consumes a small amount of the proxy's GB allocation. Rate-limited to about once per 20 seconds per proxy.
Inputs: country (required), proxy_id (required), session, protocol.
virtualsms_wait_for_smsWait for SMS on Existing OrderARead-onlyIdempotentInspect
Wait (block) until the SMS arrives on an existing order_id, or until timeout. Codes typically arrive within ~10-60 seconds. This call BLOCKS for up to timeout_seconds (default 60, max 600) before returning. Uses real-time WebSocket delivery with automatic polling fallback. Pass an order_id from create_order. To buy AND wait in one step, call create_order then this tool.
Inputs: order_id (required), timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Each tool targets a distinct resource and action, with clear separation between SMS orders, proxy management, rentals, and account functions. Even similar tools like list_proxy_catalog vs list_proxies or generate_proxy_endpoint vs set_proxy_targeting are clearly differentiated by their descriptions.
All tools follow a consistent verb_noun pattern with the virtualsms_ prefix, using snake_case throughout. The rental sub-group (rentals_pricing, rentals_available, etc.) adds a consistent sub-pattern without breaking the overall convention.
With 40 tools, this exceeds the threshold for 'too many' (25+). While the server covers a complex domain with multiple features, the large number of tools makes the surface heavy and potential for agent misselection higher.
The tool set provides comprehensive lifecycle coverage: full CRUD for orders and rentals, proxy purchase/rotation/usage/targeting, account and transaction history, plus discovery and pricing tools. No obvious dead ends or missing operations for the stated purpose.
Maintenance
Related MCP Connectors
Virtual phone numbers for SMS verification, OTP receipt, and number management.
MCP server for Vonage API documentation, code snippets, tutorials, and troubleshooting.
Taiwan SMS MCP server for Claude Code, Codex and Cursor. NCC-compliant, 30 free SMS on signup.
Virtual phone numbers and SMS verification codes for AI agents: 800+ services, 200+ countries.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables browser automation with Puppeteer, supporting navigation, form interactions, and connection to active Chrome instances for comprehensive web page interaction.82,668 npm491MIT
- AlicenseNot gradedqualityDmaintenanceAn implementation of the Model Context Protocol (MCP) server that exposes Twilio APIs to AI assistants and tools, allowing them to interact with Twilio services through the MCP protocol.114MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables browser automation and web interaction through structured accessibility snapshots using Playwright. Provides fast, deterministic web page interaction without requiring screenshots or vision models.10,706,557 npm-
- FlicenseNot gradedqualityDmaintenanceEnables sending SMS text messages through Twilio's messaging service with a simple send_text tool that supports configurable recipients and messaging service integration.-