Platfone MCP - Receive SMS & Virtual Numbers
Virtual phone number platform for AI agents โ rent numbers across 200+ countries, receive SMS, and manage the full activation lifecycle.
README
Platfone MCP Server
Platfone provides virtual phone numbers for account verification, testing, and automation workflows. The Platfone MCP server enables AI agents to obtain temporary numbers and receive SMS messages from MCP-compatible clients like Claude, VS Code Copilot, Codex, etc.
๐ Docs ยท ๐ง Setup Guide ยท ๐ Get API Key ยท ๐ฆ npm
Why MCP?
Instead of manually integrating the API, AI agents can:
- Order numbers autonomously by country and service name
- Wait for SMS codes
- Retry or cancel activations
All via structured tool calls โ no custom backend required.
Features
- Full activation lifecycle โ from ordering a number to receiving SMS
- ETag-cached catalog โ countries and services are cached in-memory with 5-minute TTL and ETag-based conditional refresh โ never sent to the agent
- Human-friendly inputs โ use "Israel" or "Telegram" instead of IDs; names are auto-resolved server-side
- Dual transport โ
stdioandhttpfrom a single codebase - API key auth โ works with your existing Platfone API key
Installation
See the full Installation Guide for detailed instructions.
Quick Start
NPM:
PLATFONE_API_KEY=your_key npx @platfone/mcp
Agent Guidelines
- Always call
check_pricefirst to verify cost and availability - Then call
order_numberto rent a number - Call
check_smsuntil SMS is received or expired - Use
retry_activationif no SMS arrives - Use
cancel_activationto release funds if no longer needed
Tools
| Tool | Description |
|---|---|
get_balance |
Check account balance: total, reserved, and available funds. |
check_price |
Check pricing and availability for a country + service pair before ordering. |
order_number |
Order a virtual phone number. Accepts names ("Israel") or IDs ("il"). Returns activation_id + phone. |
check_sms |
Poll activation state. Returns SMS code when received, or current status with polling instructions. |
retry_activation |
Request another SMS on the same number. Free of charge. |
cancel_activation |
Cancel an active activation before SMS is received. Refunds reserved amount. |
Note: Country and service catalogs are cached server-side and auto-resolved from human-readable names. The agent never receives the full catalog โ only resolved IDs or disambiguation hints.
Typical AI Agent Flow
1. check_price (country: "Israel", service: "Telegram") โ verify cost & availability
2. order_number (country: "Israel", service: "Telegram") โ returns activation_id + phone
3. check_sms (activation_id) โ poll or check once for SMS
Optional steps:
retry_activationโ request another SMS on the same number (free)cancel_activationโ cancel before SMS arrives (refunds balance)
Development
Read the full Development Guide for setup instructions and testing tips.
Troubleshooting
| Error | Solution |
|---|---|
UnauthorizedException |
Check your PLATFONE_API_KEY is valid |
PaymentRequiredException |
Top up your Platfone balance |
NoNumbersAvailableException |
Try a different country or service |
TooManyRequestsException |
Rate limited โ wait and retry |
MaxPriceExceededException |
Retry order_number with the suggested max_price and returned order_id |
TooManyActivationsException |
Max concurrent active activations reached โ cancel or wait for expiry |
License
See LICENSE.md. Licensed under the MIT License.
Use of the Platfone API is subject to Terms of Service and Privacy Policy.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.