MCP Agents SMS
MCP server that enables AI agents to autonomously buy virtual phone numbers and receive SMS verification codes. Supports multiple providers (5sim, SMS-Activate, OnlineSim) with automatic cheapest-provider selection.
README
<div align="center">
<br/>
<h1>📱 agents-sms</h1>
<p><strong>MCP server that gives AI agents the ability to buy phone numbers and receive SMS codes — fully autonomously.</strong></p>
<p> <a href="https://mcp-sms-nu.vercel.app"><img src="https://img.shields.io/badge/☁️_Hosted_Version-Free_to_try-6366f1?style=for-the-badge" alt="Hosted"/></a> <a href="#self-hosting"><img src="https://img.shields.io/badge/Self--host-MIT_License-22c55e?style=for-the-badge" alt="Self-host"/></a> <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-Compatible-0ea5e9?style=for-the-badge" alt="MCP"/></a> <a href="https://discord.gg/FeUCmPdd"><img src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"/></a> </p>
<br/>
For agents — no API key juggling, no phone, no human in the loop.<br/> For humans — one config line and your agent handles SMS verification forever.
<br/>
</div>
How it works
Your agent calls three tools. That's the whole flow:
buy_number → get_sms → release_number
Live example:
→ buy_number({ service: "github", country: "any" })
← { phone: "+14155552671", number_id: "abc123", provider: "5sim", price_usd: 0.15 }
[agent submits phone on GitHub]
→ get_sms({ number_id: "abc123", provider: "5sim" })
← { status: "waiting" }
// ~10 seconds pass
→ get_sms({ number_id: "abc123", provider: "5sim" })
← { status: "received", code: "847291" }
[agent enters code → account verified ✓]
No human needed. No phone needed. Works while you sleep.
☁️ Hosted version — easiest way to start
<div align="center">
mcp-sms-nu.vercel.app
Top up with crypto → get API key → add to config → done
</div>
Three steps:
1. Top up balance at mcp-sms-nu.vercel.app — USDT, TON, BTC, ETH via CryptoBot. No KYC. Any amount.
2. Add to your MCP config:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on Mac, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"sms": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp-sms-server-production.up.railway.app/sse"]
}
}
}
Cursor / Windsurf (.cursor/mcp.json or .windsurf/mcp.json):
{
"mcpServers": {
"sms": {
"url": "https://mcp-sms-server-production.up.railway.app/sse"
}
}
}
3. Ask your agent to buy a number. It just works.
Pricing: from ~$0.10 per SMS. Pay as you go, no subscription. Prices reflect real-time provider rates.
🛠 Tools
| Tool | Description |
|---|---|
buy_number |
Buy a virtual number for any service (Telegram, GitHub, WhatsApp, Google…) |
get_sms |
Poll for incoming SMS — returns code when received |
release_number |
Cancel a number and get a refund if no SMS arrived |
list_services |
Browse all available services with live prices |
get_provider_balance |
(self-hosted only) Check your provider account balance |
💡 What agents use this for
- Bulk account creation — register N accounts overnight, agent handles every verification step
- CI/CD pipelines — test your own SMS flow without a real SIM card
- Research automation — access platforms that require phone verification
- Personal workflows — let Claude sign up for services on your behalf
Self-hosting
Want full control? Run it with your own provider API keys.
git clone https://github.com/gonchasobaka/agents-sms
cd agents-sms
npm install && npm run build
cp .env.example .env
# fill in your provider keys
MCP config (local):
{
"mcpServers": {
"sms": {
"command": "node",
"args": ["/absolute/path/to/agents-sms/dist/index.js"]
}
}
}
Supported providers — add at least one API key to .env:
| Provider | Sign up |
|---|---|
| 5sim.net | Free registration |
| sms-activate.org | Free registration |
| onlinesim.io | Free registration |
Multiple providers = automatic cheapest-first selection with fallback.
Works with
Claude Desktop · Cursor · Windsurf · any MCP-compatible client
<div align="center">
Built for the agentic era.
🌐 Hosted version · 💬 Discord · 🐛 Issues
</div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。