Basic information
About Virtualsms MCP Server
SMS verification MCP server — real SIM phone numbers across 145+ countries and 2000+ services for AI agents.
Virtualsms is a MCP server in the Communication category listed in the AddMCP.net directory, published by virtualsms-io. It exposes 40 tools, including virtualsms_list_proxy_catalog, virtualsms_list_proxies, virtualsms_buy_proxy, virtualsms_rotate_proxy and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 12 GitHub stars. Source code is hosted on github.com. Related topics: ai-agent, communication, community, daisysms-alternative, mcp.
Connection details
https://mcp.virtualsms.io/mcp
Setup
claude mcp add mcp-server-virtualsms-io --transport http https://mcp.virtualsms.io/mcp
[mcp_servers.mcp-server-virtualsms-io] url = "https://mcp.virtualsms.io/mcp"
{
"mcpServers": {
"mcp-server-virtualsms-io": {
"url": "https://mcp.virtualsms.io/mcp"
}
}
}
{
"servers": {
"mcp-server-virtualsms-io": {
"type": "http",
"url": "https://mcp.virtualsms.io/mcp"
}
}
}
Virtualsms MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"virtualsms": {
"command": "npx",
"args": [
"-y",
"virtualsms-mcp"
],
"env": {
"VIRTUALSMS_API_KEY": "vms_your_api_key_here"
}
}
}
}
Virtualsms MCP Server tools
-
virtualsms_list_proxy_catalog
— List available proxy pool types, countries, and price-per-GB. Use this before buying proxy traffic.
(no parameters) -
virtualsms_list_proxies
— 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.
(no parameters) -
virtualsms_buy_proxy
— 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.
pool_type:string*, gb:number*, country_code:string, idempotency_key:string -
virtualsms_rotate_proxy
— Request a fresh IP for an existing proxy. Useful when an endpoint flags the current exit IP.
proxy_id:string*, port:number -
virtualsms_get_proxy_usage
— Get cached GB used/remaining and request count for one proxy. Cheap, no upstream call. Reads a cached value refreshed every ~5 minutes.
proxy_id:string* -
virtualsms_get_proxy_usage_history
— Get a per-day traffic (GB) and request-count series for one proxy over the last 7 or 30 days.
proxy_id:string*, range:string -
virtualsms_set_proxy_targeting
— 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.
proxy_id:string*, country_code:string*, cities:array, asns:array -
virtualsms_test_proxy
— 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.
proxy_id:string*, country:string*, session:string, protocol:string -
virtualsms_list_proxy_locations
— 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).
pool_type:string*, country:string*, kind:string* -
virtualsms_generate_proxy_endpoint
— 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.
proxy_id:string*, country_code:string*, target_by:string, location_code:string, session:string, sticky_ttl_minutes:number, count:number, protocol:string, format:string -
virtualsms_start_manual_registration_session
— 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.
service_name:string, country:string, device_mode:string, with_proxy:boolean, target_url:string, order_id:string, mode:string, run_prep:boolean, prep_preset:string -
virtualsms_list_services
— Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). Use this to discover valid service codes before buying a number.
search:string -
virtualsms_list_countries
— Get all available countries for SMS verification. Use this to discover valid country codes before buying a number.
service:string -
virtualsms_get_price
— Check the price and availability for a specific service + country combination. Always check price before buying to confirm availability.
service:string*, country:string* -
virtualsms_get_balance
— Check your VirtualSMS account balance in USD. Requires VIRTUALSMS_API_KEY to be set.
currency:string -
virtualsms_create_order
— 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.
service:string*, country:string* -
virtualsms_get_sms
— 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.
order_id:string* -
virtualsms_cancel_order
— 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).
order_id:string* -
virtualsms_wait_for_sms
— 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.
order_id:string*, timeout_seconds:number -
virtualsms_find_cheapest
— 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.
service:string*, limit:number -
virtualsms_search_services
— 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.
query:string* -
virtualsms_swap_number
— 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).
order_id:string* -
virtualsms_list_orders
— 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.
status:string -
virtualsms_get_order
— 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.
order_id:string* -
virtualsms_cancel_all_orders
— 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.
(no parameters) -
virtualsms_order_history
— 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.
status:string, service:string, country:string, since_days:number, limit:number -
virtualsms_get_stats
— 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.
since_days:number -
virtualsms_get_profile
— Full account profile: email, Telegram link status, current balance, lifetime spend, total orders, active API keys, and account creation date.
(no parameters) -
virtualsms_get_transactions
— Transaction history for the account with optional filters for type, date range, and pagination. Types: "deposit", "purchase", "refund", "admin_credit".
type:string, from:string, to:string, limit:number, offset:number -
virtualsms_rentals_pricing
— 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.
(no parameters) -
virtualsms_rentals_available
— 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.
country:string, service:string, type:string, tier:string -
virtualsms_rentals_services
— 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.
country_code:string*, duration_hours:number -
virtualsms_rentals_price
— Get the catalog-driven retail price for a (service, country, duration) platform-tier rental combo.
service:string*, country_code:string*, duration_hours:number* -
virtualsms_create_rental
— 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.
tier:string*, country:string*, duration_hours:number*, service:string, auto_renew:boolean -
virtualsms_list_rentals
— 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.
status:string -
virtualsms_get_rental
— 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.
rental_id:string* -
virtualsms_extend_rental
— Extend an active rental by an additional duration. Charges your balance at the current catalog price for that duration.
rental_id:string*, duration_hours:number* -
virtualsms_cancel_rental
— 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.
rental_id:string* -
virtualsms_retry_order
— 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.
order_id:string* -
virtualsms_check_number
— Public carrier + line-type lookup for an arbitrary E.164 phone number (mobile/landline/VoIP, spam risk). No API key required.
number:string*
Overview
What is Virtualsms?
VirtualSMS MCP Server is a Model Context Protocol (MCP) server that gives AI agents access to a complete SMS verification API. It allows agents to get virtual phone numbers, receive SMS online, and extract verification codes — all without leaving the AI workflow. Powered by VirtualSMS.io, which operates its own modem infrastructure across 200+ countries.
How to use Virtualsms?
Run npx virtualsms-mcp or install globally via npm install -g virtualsms-mcp. Obtain an API key from virtualsms.io and set the VIRTUALSMS_API_KEY environment variable. Configure the MCP client (Claude Desktop, Cursor, etc.) with the command and env variable. The server exposes 11 tools: discovery, account, and order management tools including wait_for_code for one-step SMS retrieval.
Key features of Virtualsms
- 11 MCP tools for SMS verification
- Real-time SMS delivery via WebSocket with polling fallback
- Operates on own SIM card infrastructure (not a reseller)
- Covers 200+ countries for phone numbers
- Supports migration from SMS-Activate or DaisySMS
- One-step
wait_for_codetool buys number and retrieves code
Use cases of Virtualsms
- AI agents verifying accounts on Telegram, WhatsApp, Google, Instagram, etc.
- Automated phone verification for 500+ online services
- Crash recovery for interrupted verification sessions
- Budget-aware SMS verification by first finding cheapest country
- Manual step-by-step verification with buy, check, and cancel flows
Frequently asked questions
1 What does VirtualSMS MCP do?
It gives AI agents access to SMS verification using virtual phone numbers — agents can buy numbers, wait for incoming SMS, and extract verification codes programmatically.
2 How does VirtualSMS compare to SMS-Activate or DaisySMS?
VirtualSMS is a direct alternative with its own modem infrastructure, comparable service coverage, competitive pricing, and a modern API. Users only need to swap the API key and update the base URL; the core flow (buy number → wait for SMS → get code) is identical.
3 What runtime dependencies are required?
Node.js and npm are required. The server can be run via npx or installed globally with npm install -g virtualsms-mcp.
4 Where do phone numbers and SMS data reside?
Phone numbers and SMS are hosted on VirtualSMS’s own infrastructure — real SIM cards across 200+ countries. Data is accessed through their REST API and WebSocket endpoints.
5 What transports and authentication are used?
The MCP server communicates over stdio with the client. It connects to VirtualSMS via REST API and WebSocket for real-time delivery. Authentication is done using the VIRTUALSMS_API_KEY environment variable.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In