get_balance
Wallet balance
Get the current wallet balance for the authenticated account.
Takes no parameters.

ai.asmsPublished by asms.aiOfficial publisherv1.1.0Updated Oct 29, 2026
Phone numbers for AI agents: SMS verification codes and rented numbers that receive SMS.
ASMS gives an AI assistant phone numbers: buy one-time SMS verification codes or rent numbers that receive SMS, paid from an asms wallet.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/ai.asms%2Fasms/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"asms": {
"type": "http",
"url": "https://asms.ai/mcp"
}
}
}Phone numbers for AI agents. Connect asms.ai to Claude, ChatGPT, Codex, Cursor, Grok or any MCP client, and your agent can:
Everything is paid from your asms wallet, and the tools that spend are marked so your client asks you first.
Remote server, Streamable HTTP. Sign in with your asms account (OAuth), or send an API key from your dashboard as Authorization: Bearer <key>.
Full step-by-step pages, including a prompt your agent can follow on its own, are at asms.ai/agents.
Most clients that take a URL and headers accept:
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.
MIT
Source: README.md at commit 6e08514
Wallet balance
Get the current wallet balance for the authenticated account.
Takes no parameters.
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.
countryrequiredserviceVerification number stock
Get how many numbers are in stock for a service in a country. Omit `service` to list stock for every available service.
countryrequiredserviceOrder 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.
countryrequiredservicerequiredCheck 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.
orderIdrequiredList verification orders
List recent OTP orders for the account (awaiting a code or already received).
limitCancel 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.
orderIdrequiredNumber 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.
countryRent 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.
periodrequiredcountryrequiredList rented numbers
List the account's rented numbers with their country, period and end date. Ended rentals are left out unless `includeEnded` is true.
includeEndedRead 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.
numberrequiredCancel 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.
numberrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
https://asms.ai/mcp{ "mcpServers": { "asms": { "url": "https://asms.ai/mcp", "headers": { "Authorization": "Bearer <ASMS_API_KEY>" } } }}