codasms-mcp
CODASMS MCP Server
AIエージェントでワンタイムSMS/OTP認証コードを受信します。 CODASMSリセラーAPIを利用したMCPサーバーです。番号を取得し、コードを待ち、解放するまでを700以上のサービス・180以上の国で対応。配信時のみ課金されます。
このサーバーを使用すると、AIエージェント(Claude Desktop、Cursor、またはMCPに対応した任意のツール)が電話番号を購入し、認証コードをプログラムで読み取ることができます。これは公開されているCODASMS Reseller APIの薄いラッパーであり、独自のロジックは一切持ちません。すべての請求と返金はAPI側で決定されます。
APIキーはご自身で用意してください。サインアップは無料です: https://codasms.com/reseller。
ツール
ツール | 説明 |
| 現在の利用可能残高。 |
| 販売中のサービスを、最新価格と在庫付きで表示します( |
| 番号を購入できる国を表示します(任意の |
| サービス+国に対して番号を購入します。残高から課金されます(20分以内にコードが届かない場合は自動返金)。 |
| コードが届くまで(またはタイムアウト/返金まで)注文をポーリングします。 |
| 注文のステータスを一度だけ確認します。 |
| 注文をキャンセルして即座に返金します(コードがすでに届いている場合を除く)。 |
get_number はオプションの max_price_cents(または CODASMS_MAX_PRICE_CENTS の設定)を受け付けるため、自律エージェントが上限価格を超える番号を購入することはできません。
Related MCP server: agentline-mcp
クイックスタート(ローカル / stdio)
export CODASMS_API_KEY=coda_live_xxxxxxxx # from https://codasms.com/reseller
npx codasms-mcpClaude Desktop
claude_desktop_config.json に追加します:
{
"mcpServers": {
"codasms": {
"command": "npx",
"args": ["-y", "codasms-mcp"],
"env": { "CODASMS_API_KEY": "coda_live_xxxxxxxx" }
}
}
}次に、「イギリスのTelegram番号を取得してコードを読んで」 と依頼します。
リモート(HTTP)モード
同じツールがStreamable HTTPで提供されるため、1つのインスタンスを複数ユーザー向けにホストできます。各ユーザーは自身のキーをBearerトークンとして送信します(サーバー側には何も保存されません)。
npm run build && npm run start:http # listens on :8080, POST /mcpPOST /mcp
Authorization: Bearer coda_live_xxxxxxxx
Content-Type: application/jsonsrc/http.ts は移植性の高いNodeサーバーです(Deno Deploy、Railway、Fly、任意のコンテナで動作)。Cloudflare Workersの場合は、Nodeのhttpハンドラーをfetchハンドラーに置き換えてください。src/server.ts のサーバーファクトリはトランスポートに依存せず、変更する必要はありません。
設定
環境変数 | 目的 | デフォルト |
| あなたの | —(必須) |
| APIのベースURL。 |
|
|
| 未設定 |
| HTTPモードのポート。 |
|
注意事項
レート制限: APIはキーあたり毎分60リクエストを許可しています。
wait_for_otpはデフォルトで5秒に1回より速くポーリングしないため、制限を十分に下回ります。料金の安全策:
get_numberは呼び出した瞬間に実際の残高を消費します。コードが届かない場合は、20分後に自動返金されるか、releaseを呼び出すと即座に返金されます。コード: サービスと国はAPIのコードを使用します(例:
tg、wa、国コード6)。それらを見つけるにはlist_services/list_countriesを使用してください。
開発
npm install
npm run build # tsc -> dist/
npm start # stdioライセンス
MIT — LICENSE を参照してください。
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceVirtual phone number platform for AI agents — rent numbers across 200+ countries, receive SMS, and manage the full activation lifecycle.6394MIT
- AlicenseAqualityDmaintenanceGives AI agents phone numbers, email, SMS, and voice calls as MCP tools, enabling them to provision numbers, capture 2FA codes, send messages, and make calls.15MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage phone numbers, send/receive SMS, and place voice calls through natural language, connecting to the phone network via the AgentPhone API.184114MIT
- AlicenseAqualityDmaintenanceGives AI agents real phone numbers to receive SMS and extract verification codes through tool calls.646MIT
Related MCP Connectors
Real SIM-backed mobile numbers for AI agents to receive SMS and OTP codes.
Virtual phone numbers for AI agents — rent numbers in 200+ countries, receive SMS.
Real physical SIMs for AI agents: SMS verification and rentals. 145+ countries, 2500+ services.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ajemba/codasms-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server