MCP SMS Server for AI Agents

curl-sms runs a hosted MCP server at https://curl-sms.com/mcp. Any MCP client or agent framework that supports remote servers can send SMS, check status and read the balance through it, with the same rules and prices as the SMS API.

Connection

Setting Value
Endpoint https://curl-sms.com/mcp
Transport Streamable HTTP, stateless (no Mcp-Session-Id), JSON responses
Auth OAuth 2.1 with PKCE (S256), Dynamic Client Registration, refresh tokens; or an API key as Authorization: Bearer cs_…
Metadata /.well-known/oauth-authorization-server, /.well-known/oauth-protected-resource/mcp

Access tokens are valid for one hour, refresh tokens for 90 days and rotate on every use.

Tools

Tool Purpose
send_sms send to one number, optionally scheduled (send_at) and with idempotency_key
estimate_sms encoding, parts and price without sending
get_sms status of one SMS
list_sms recent SMS, filter by status or number
cancel_sms cancel a scheduled or queued SMS (refunded)
get_account plan, balance, included SMS, limits, live or test mode

Try it with curl

curl -X POST https://curl-sms.com/mcp \
  -H "Authorization: Bearer cs_test_…" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_sms","arguments":{"receiver":"+4915123456789","body":"Hello from MCP"}}}'

With a test key the call is simulated: you get a real ID and status, nothing is sent or charged.

Notes for agent builders

  • Idempotency: pass idempotency_key when your agent may retry. The same key never sends twice.
  • Numbers: international format (+49…). Bare digits are rejected with ambiguous_receiver.
  • Errors come back as tool errors with the API's codes, see error codes.
  • Human in the loop: send_sms costs money in live mode. Let users confirm, and give agents a test key during development.
  • Status updates for your backend are best handled by webhooks, not by polling through the agent.

Client setup for Claude, ChatGPT, Claude Code, Codex and Cursor: MCP docs. End-user view: send SMS with AI assistants.