asms

ai.asms由 asms.ai 发布官方发布者v1.1.0更新于 Oct 29, 2026

Phone numbers for AI agents: SMS verification codes and rented numbers that receive SMS.

已验证Streamable HTTP可网页运行沟通与协作商业与电商

概览

AI 生成的概览

ASMS 为 AI 助手提供手机号:可购买一次性短信验证码号码,或租用可持续接收短信的号码,费用从 asms 钱包扣除。

可以做什么
  • 查询账户:钱包余额、按服务与国家划分的价格、号码库存、进行中的订单与租用
  • 购买一次性号码以接收短信验证码,并轮询订单直到验证码到达
  • 租用号码 1 天至 12 个月,并读取该号码收到的所有短信
  • 在规则允许时取消订单或租用以获得退款
适用场景
适合需要让助手完成某服务的手机验证步骤,或需要一个长期接收短信的专属号码,用于测试自家应用的短信登录、或日后还要再次验证的账号。
运行要求
远程 Streamable HTTP 端点 asms.ai/mcp,无需本地安装包。需要一个已充值的 asms 账户,可通过 MCP 登录(OAuth)或使用 API 密钥以 Bearer 形式放在 Authorization 请求头中认证。需能访问 asms.ai。
安装前请注意
购买会消耗真实钱包余额:create_otp_order、rent_number、cancel_order、cancel_rental 被标记为需用户确认,服务器也要求先与用户确认价格。API 密钥是敏感凭据,通过 Authorization 请求头发送。助手会从第三方服务商处收到短信内容,包括验证码。

安装

在 SourceWeft 中

  1. 打开 控制台中的 asms,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.asms%2Fasms/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "asms": {
      "type": "http",
      "url": "https://asms.ai/mcp"
    }
  }
}

README

asms MCP server

Phone numbers for AI agents. Connect asms.ai to Claude, ChatGPT, Codex, Cursor, Grok or any MCP client, and your agent can:

  • get SMS verification codes: a one-time number for a service, charged only when the code arrives and refunded automatically when none does;
  • rent phone numbers: a number of your own for a day to a year that receives every SMS sent to it, for testing your app's SMS login or an account you'll verify again later;
  • check the account: balance, prices, stock and open orders.

Everything is paid from your asms wallet, and the tools that spend are marked so your client asks you first.

https://asms.ai/mcp

Remote server, Streamable HTTP. Sign in with your asms account (OAuth), or send an API key from your dashboard as Authorization: Bearer <key>.

Setup

Full step-by-step pages, including a prompt your agent can follow on its own, are at asms.ai/agents.

ClientQuick setup
Claude Codeclaude mcp add --transport http asms https://asms.ai/mcp, then /mcp to sign in
Claude (claude.ai, Desktop)Customize → Connectors → Add custom connector → https://asms.ai/mcp
Codexcodex mcp add asms --url https://asms.ai/mcp --bearer-token-env-var ASMS_API_KEY
ChatGPTPlugins → Add custom MCP server → https://asms.ai/mcp, OAuth
CursorAdd to Cursor or ~/.cursor/mcp.json
VS CodeInstall in VS Code or .vscode/mcp.json
WindsurfserverUrl entry in Cascade's mcp_config.json
Gemini CLIgemini mcp add --transport http asms https://asms.ai/mcp
opencoderemote entry in opencode.json
Clineurl + "type": "streamableHttp" entry in cline_mcp_settings.json (llms-install.md)
Grokgrok.com Connectors → Custom, or the xAI API mcp tool
OpenAI APIResponses API {"type": "mcp", "server_url": "https://asms.ai/mcp"}

Most clients that take a URL and headers accept:

json
{  "mcpServers": {    "asms": {      "url": "https://asms.ai/mcp",      "headers": { "Authorization": "Bearer <ASMS_API_KEY>" }    }  }}

Tools

ToolWhat it doesNeeds your OK
get_balanceWallet balance
get_pricingVerification code prices by country and service
get_inventoryNumbers in stock by country and service
create_otp_orderOrder a number for one verification codeyes
poll_smsCheck for the code on an order
list_active_ordersOrders waiting for a code or already received
cancel_orderCancel an order (rarely needed: unfilled orders refund themselves)yes
get_rental_offersRental countries, periods and prices
rent_numberRent a number for a periodyes
list_rentalsYour rented numbers and their end dates
read_rental_smsSMS received by a rented number
cancel_rentalCancel a rental for a refund (5 to 120 minutes after renting, before any SMS)yes

Pricing

Connecting is free. Verification codes are priced per service and country and charged only when the code arrives; rentals are priced per country and period. See asms.ai/pricing.

Also

License

MIT

来源:README.md,提交 6e08514

工具

12

get_balance

Wallet balance

Get the current wallet balance for the authenticated account.

无需输入参数。

get_pricing

Verification code prices

Get the retail price per OTP activation for a service in a country. Omit `service` to list prices for every available service.

输入参数country必填service

get_inventory

Verification number stock

Get how many numbers are in stock for a service in a country. Omit `service` to list stock for every available service.

输入参数country必填service

create_otp_order

Order a verification number

Buy a number to receive an OTP: allocates a number, debits the wallet, and returns an orderId + phoneNumber. Then poll with poll_sms. If no code arrives, do NOT cancel to retry: simply call create_otp_order again for a fresh number and keep polling that one. Unfilled orders auto-refund within 10 minutes, so you only pay for codes that actually land and there is no penalty for ordering repeatedly. When a service keeps rejecting codes, order on the "us1" (Non-VoIP AT&T) pool, which has the highest delivery rate. WARNING: this spends real wallet balance.

输入参数country必填service必填

poll_sms

Check for the verification code

Check for the SMS / OTP code on an order. Returns the code once it has arrived, otherwise an empty result: poll again after a few seconds. If nothing lands after a minute or two, the fastest path is to order a fresh number with create_otp_order (prefer the "us1" Non-VoIP pool) and leave the original: it auto-refunds within 10 minutes. Never cancel just to retry, and there is no charge for ordering again, you only pay for codes that arrive.

输入参数orderId必填

list_active_orders

List verification orders

List recent OTP orders for the account (awaiting a code or already received).

输入参数limit

cancel_order

Cancel a verification order

Rarely needed. To retry a verification do NOT cancel: just call create_otp_order again, because every unfilled order auto-refunds within 10 minutes on its own, and cancel is blocked for the first 10 minutes anyway. Only use this to release an order you are certain you no longer need once its 10-minute hold has passed.

输入参数orderId必填

get_rental_offers

Number rental prices

List the rental periods and prices for a country (1 day to 12 months). A rented number is yours for the whole period and receives every SMS sent to it, unlike an OTP order, which is for one code. Omit `country` to list the countries numbers can be rented in.

输入参数country

rent_number

Rent a phone number

Rent a phone number in a country for a period (get the periods and prices from get_rental_offers first). Debits the wallet and returns the number and when the rental ends. Read its SMS with read_rental_sms. WARNING: this spends real wallet balance; confirm the country, period and price with the user first.

输入参数period必填country必填

list_rentals

List rented numbers

List the account's rented numbers with their country, period and end date. Ended rentals are left out unless `includeEnded` is true.

输入参数includeEnded

read_rental_sms

Read a rented number's SMS

Read the SMS a rented number has received during this rental, newest first. Poll again every few seconds while waiting for a message.

输入参数number必填

cancel_rental

Cancel a rental for a refund

Cancel a rented number and refund it. Only possible between 5 and 120 minutes after renting, and only if the number has received no SMS; after that the rental runs to its end date.

输入参数number必填

版本历史

1
  1. v1.1.0最新Oct 29, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分