Skip to main content
Glama
virtualsms-io

VirtualSMS MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VIRTUALSMS_API_KEYYesYour VirtualSMS API key (required for auth tools)
VIRTUALSMS_BASE_URLNoAPI base URLhttps://virtualsms.io

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_services

Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). Use this to discover valid service codes before buying a number.

list_countries

Get all available countries for SMS verification. Use this to discover valid country codes before buying a number.

get_price

Check the price and availability for a specific service + country combination. Always check price before buying to confirm availability.

get_balance

Check your VirtualSMS account balance in USD. Requires VIRTUALSMS_API_KEY to be set.

create_number_order

Purchase a virtual phone number for SMS verification. Returns order_id and phone_number. Use check_sms to poll for the verification code, or use wait_for_code to do it automatically.

get_sms_code

Check if an SMS verification code has been received for an order. Poll this every 5-10 seconds after buying a number. For automatic polling, use wait_for_code instead.

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.

wait_for_sms_code

RECOMMENDED: One-step tool that buys a number AND waits for the SMS code automatically. Uses real-time WebSocket delivery with automatic polling fallback. Always returns order_id in the response — even on timeout — so you can use check_sms to recover.

find_cheapest_countries

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.

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.

swap_phone_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.

list_active_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 check_sms to retrieve codes.

Prompts

Interactive templates invoked by user choice

NameDescription
verify-whatsappComplete workflow to get a WhatsApp verification code using a virtual number. Finds the cheapest available country, buys a number, and waits for the SMS code automatically.
verify-telegramComplete workflow to verify a Telegram account with a virtual number. Automatically selects cheapest available country and waits for the SMS code.
verify-googleGet a Google account verification code via virtual phone number. Useful for creating or recovering Google/Gmail accounts.
find-cheapest-numberFind the cheapest virtual phone number for any service. Returns top countries sorted by price with stock availability.
verify-any-serviceUniversal SMS verification workflow. Searches for the service by name, finds the cheapest country, buys a number, and waits for the verification code.
recover-verificationRecover an interrupted SMS verification session. Lists active orders and checks for pending verification codes — useful after a crash or timeout.
check-account-statusCheck your VirtualSMS account balance and list all active orders in one shot.

Resources

Contextual data attached and managed by the client

NameDescription
Quickstart GuideStep-by-step guide to get your first SMS verification code with VirtualSMS MCP.
Popular Services ReferenceCommonly used service codes for WhatsApp, Telegram, Google, and other top services.
Pricing TipsTips on finding the cheapest virtual numbers and maximizing your VirtualSMS budget.

Latest Blog Posts

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/virtualsms-io/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server