mcp-server

v1.0.2
io.github.sv-number/mcp-server Checked 2 hours ago Published 3 months ago

Phone numbers for AI agents: order a private number, read the SMS verification code, hand it back.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_balance

Current account balance. Ordering a number needs a funded balance; there is no free tier.

list_countries

Every country the numbers can come from, with its id and operators. Use the id in order_number.

ParameterTypeDescription
searchstringFilter by country name, case-insensitive

list_services

Services available in a country, best match first. Order the code of the site you are registering with: a number bought for one service does not receive another service's SMS. Search by site name or domain, both work. The codes are arbitrary, so look them up instead of guessing: uk is Airbnb, not the United Kingdom. deliveredPercent is null when the pair has no statistics yet, which is the common case; then judge the pair by how many numbers are online. When the site is not in the catalogue at all, order notInList (ot), which receives SMS from any sender that is not in the list.

ParameterTypeDescription
country *integerCountry id from list_countries
searchstringSite name or domain, for example discord or discord.com

order_number

Order a private number for one service in one country. The number is held for 20 minutes and belongs to this activation alone. Money is held now and charged when the code arrives. The service code has to be the one for the site you are registering with, otherwise its SMS goes to a different pool and never reaches you.

ParameterTypeDescription
country *integerCountry id from list_countries
service *stringService code from list_services, for example tg. It must belong to the site you are registering with, or be ot when that site is not in the catalogue
maxPricenumberCeiling per activation; prices float with demand
operatorstringOperator, or any to keep the pool wide

wait_for_code

Wait for the verification code on an ordered number. Polls on its own and returns the code itself, already parsed out of the SMS. Trigger the SMS on the target service first.

ParameterTypeDescription
activationId *stringId returned by order_number
timeoutSecondsintegerHow long to wait, up to the 20 minute life

finish_activation

Close an activation after the code was used. Do this on every success: a forgotten activation holds money until it expires.

ParameterTypeDescription
activationId *string

cancel_activation

Cancel an activation when no code arrived; the money returns to the balance in full. Can be called right after ordering. If the API answers that it is too early, wait a couple of minutes and repeat.

ParameterTypeDescription
activationId *string

request_another_sms

Ask for one more code on the same number, for a password reset or a re-send. Works only after a first code has already arrived; before that the API refuses it.

ParameterTypeDescription
activationId *string

totp_code

Compute the authenticator code for an account whose second factor was set up with a shared secret. Runs locally by RFC 6238: the secret never leaves this machine.

ParameterTypeDescription
secret *stringBase32 secret shown when 2FA was enabled
algorithmstring
digitsinteger
periodinteger