Skip to main content
Glama

对于智能体 — 无需管理 API 密钥,无需手机,无需人工干预。 对于人类 — 只需一行配置,您的智能体即可永久处理短信验证。


工作原理

您的智能体只需调用三个工具。整个流程如下:

buy_number   →   get_sms   →   release_number

实时示例:

→ 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 ✓]

无需人工。无需手机。在您睡眠时也能工作。


☁️ 托管版本 — 最简单的入门方式

mcp-sms-nu.vercel.app

充值加密货币 → 获取 API 密钥 → 添加到配置 → 完成

三个步骤:

1.mcp-sms-nu.vercel.app 充值余额 — 通过 CryptoBot 使用 USDT、TON、BTC、ETH。无需 KYC。任意金额均可。

2. 添加到您的 MCP 配置中:

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json (Mac), %APPDATA%\Claude\claude_desktop_config.json (Windows)):

{
  "mcpServers": {
    "sms": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp-sms-server-production.up.railway.app/sse"]
    }
  }
}

Cursor / Windsurf (.cursor/mcp.json.windsurf/mcp.json):

{
  "mcpServers": {
    "sms": {
      "url": "https://mcp-sms-server-production.up.railway.app/sse"
    }
  }
}

3. 让您的智能体购买一个号码。它就能直接工作了。

定价: 每条短信约 $0.10 起。按需付费,无订阅费。价格反映了提供商的实时费率。


🛠 工具

工具

描述

buy_number

为任何服务(Telegram、GitHub、WhatsApp、Google 等)购买虚拟号码

get_sms

轮询接收短信 — 收到后返回验证码

release_number

取消号码并在未收到短信时获得退款

list_services

浏览所有可用服务及其实时价格

get_provider_balance

(仅限自托管) 查看您的提供商账户余额


💡 智能体的使用场景

  • 批量创建账户 — 彻夜注册 N 个账户,智能体处理每一个验证步骤

  • CI/CD 流水线 — 在没有真实 SIM 卡的情况下测试您自己的短信流程

  • 研究自动化 — 访问需要电话验证的平台

  • 个人工作流 — 让 Claude 代表您注册服务


自托管

想要完全控制?使用您自己的提供商 API 密钥运行它。

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 配置 (本地):

{
  "mcpServers": {
    "sms": {
      "command": "node",
      "args": ["/absolute/path/to/agents-sms/dist/index.js"]
    }
  }
}

支持的提供商 — 在 .env 中至少添加一个 API 密钥:

提供商

注册

5sim.net

免费注册

sms-activate.org

免费注册

onlinesim.io

免费注册

多个提供商 = 自动选择价格最低的提供商并支持故障转移。


兼容性

Claude Desktop · Cursor · Windsurf · 任何兼容 MCP 的客户端


为智能体时代而生。

🌐 托管版本 · 💬 Discord · 🐛 问题反馈

-
security - not tested
A
license - permissive license
-
quality - not tested

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/gonchasobaka/agents-sms'

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