textbee-mcp
Official@textbee/mcp
textbee.dev용 MCP 서버입니다. textbee.dev는 Android 휴대폰을 SMS API로 바꿔주는 오픈소스 SMS 게이트웨이입니다. Claude Desktop, Claude Code, Cursor 및 모든 MCP 클라이언트가 자신의 휴대폰과 자신의 번호를 통해 SMS를 보내고 읽을 수 있게 해줍니다.
세 가지 도구, 메시지별 마크업 없음, 자체 호스팅 textbee 인스턴스에서도 작동합니다.
설정
페어링된 Android 기기와 대시보드에서 받은 API 키가 있는 textbee 계정이 필요합니다. 키는 계정에 대한 전체 액세스 권한을 가지므로 비밀번호처럼 취급하세요.
Claude Code
claude mcp add textbee -s user -e TEXTBEE_API_KEY=your-key -- npx -y @textbee/mcpClaude Desktop
claude_desktop_config.json에 추가하세요 (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"textbee": {
"command": "npx",
"args": ["-y", "@textbee/mcp"],
"env": { "TEXTBEE_API_KEY": "your-key" }
}
}
}Cursor
~/.cursor/mcp.json에 동일한 객체를 넣으세요.
첫 시작이 느린 경우
npx는 첫 실행 시 패키지를 다운로드합니다. 클라이언트가 대기 중 시간 초과되면 한 번 전역으로 설치하고 구성에서 바이너리를 가리키세요:
npm install -g @textbee/mcp{ "mcpServers": { "textbee": { "command": "textbee-mcp", "env": { "TEXTBEE_API_KEY": "your-key" } } } }Related MCP server: clicksend-mcp
도구
send_sms
하나 이상의 수신자에게 SMS를 보냅니다 (E.164 형식, 예: +15550100123). 발신 전화는 자동으로 선택됩니다: 기본 기기, 그렇지 않으면 가장 최근 하트비트가 있는 활성 기기. 선택적 device_id, sim_subscription_id, scheduled_at가 있습니다. 계정이 SMS 큐를 사용할 때 배송 확인을 위한 sms_batch_id를 반환합니다.
get_messages
계정의 모든 기기에서 메시지를 읽습니다. 기본값은 수신 메시지, 최신순입니다. direction (received, sent, all), 자유 텍스트 search, sms_batch_id (보내기의 수신자별 배송 상태), device_ids, from/to 시간 창으로 필터링합니다. 중복이나 누락 없이 폴링할 수 있는 커서 페이지네이션을 지원합니다.
list_devices
계정의 휴대폰: ID, 활성 상태, 기본 발신 기기, 마지막 체크인, 메시지 수.
자체 호스팅 textbee
서버를 자신의 인스턴스로 지정하세요:
"env": {
"TEXTBEE_API_KEY": "your-key",
"TEXTBEE_BASE_URL": "https://sms.example.com"
}/api/v1 접미사는 선택 사항이며 자동으로 추가됩니다. https://example.com/textbee 같은 하위 경로 배포도 작동합니다. 잘못된 URL은 조용한 폴백 대신 오류를 발생시키므로 오타가 있어도 키가 공개 API로 전송되지 않습니다.
환경 변수
변수 | 필수 | 기본값 | 용도 |
| 예 | 없음 | textbee 대시보드의 API 키 |
| 아니요 |
| 자체 호스팅 시 인스턴스의 URL |
| 아니요 |
| 요청당 시간 초과 (밀리초) |
참고 사항
키는 사용자 머신에 유지됩니다: 이 서버는 위의 기본 URL에서 textbee API와만 통신합니다.
전송은 textbee 요금제 할당량에 포함되며, 요금제의 속도 제한이 서버 측에 적용됩니다.
모든 진단은 stderr로 전송됩니다. stdout은 MCP 프로토콜 전용입니다.
라이브러리로 사용하기
패키지는 다른 MCP 호스트에 포함할 수 있도록 도구 정의도 내보냅니다 (호스팅된 원격 엔드포인트가 이를 재사용하는 방식입니다):
import { createTextbeeMcpServer, staticCredentials, loadConfig } from '@textbee/mcp'
const server = createTextbeeMcpServer({
credentials: staticCredentials(loadConfig(process.env)),
})자격 증명은 각 도구 호출 시 해석되므로, 다중 테넌트 호스트는 요청별로 다른 키를 주입할 수 있습니다. credentialsFromAuthInfoExtra를 참조하세요.
라이선스
MIT. textbee 프로젝트의 일부입니다.
Available Tools
3 toolsget_messagesRead messagesARead-only
Read the SMS messages on the user's textbee account, covering every device, no device id needed. direction defaults to "received": checking for a reply or a one-time code is the usual case. Pass direction "sent" to review what went out (each row carries its delivery status), or "all" for a conversation in order. Pass the sms_batch_id from a send to see that send's per-recipient delivery status. To poll for new messages without missing or repeating any: use order "asc" with a from bound, then keep calling with the next_cursor each result prints. from is inclusive and to is exclusive, so consecutive windows tile exactly. Reading does not consume the plan send quota. Messages reach textbee within a few seconds of arriving on the phone, so when waiting for a code, wait briefly and call again rather than tight-polling.
Inputs: to, from, limit, order, +5 more.
list_devicesList devicesARead-only
List the Android phones registered to this textbee account: id, name, enabled state, which one is the default sender, when each last checked in, and message counts. Call this when a send fails with a device error, when the user asks which phone will be used, or when you need a device_id. Takes no arguments and sends no SMS.
Inputs: no named parameters.
send_smsSend SMSA
Send an SMS through the user's own textbee account and Android phone. Recipients are phone numbers or short codes, sent as the user gives them. A local number or short code reaches recipients in the sending phone's country. For a number in another country, use international format with the country code, such as +15550100123. Sender names such as MYBANK cannot receive SMS. The sending phone is chosen automatically: the account default device, otherwise the enabled device with the most recent heartbeat. Only pass device_id when the user explicitly names a phone; ids come from list_devices. Sending costs the user a real message against their textbee plan quota, so do not send speculatively and do not retry a send that may already have gone out. When the account has SMS queueing enabled the result includes an sms_batch_id; pass it to get_messages as sms_batch_id to check per-recipient delivery status.
Inputs: message (required), recipients (required), device_id, sim_number, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool occupies a distinct role: send_sms writes, get_messages reads, list_devices enumerates devices. The descriptions explicitly clarify boundaries (e.g. list_devices sends no SMS, get_messages covers all devices without a device id), leaving no realistic chance of misselection.
All three names follow a consistent snake_case verb_noun pattern: send_sms, get_messages, list_devices. The verb choice (send/get/list) is semantically appropriate per tool rather than arbitrary, so the set reads predictably.
Three tools is exactly right for a narrow SMS gateway: send, read, and device discovery, with each tool earning its place. Nothing is padded and nothing feels thin given the constrained domain.
The core lifecycle is covered and cross-referenced well: sms_batch_id from send feeds get_messages, device_id from list_devices feeds send, and pagination/cursor rules prevent dead ends. Minor gaps remain (no account/quota info, no way to enable or disable a device when a send fails with a device error, no message deletion).
Maintenance
Related MCP Connectors
Send and read WhatsApp, email and SMS from Claude, ChatGPT, Cursor or any MCP client, from your own accounts: your WhatsApp number (linked by QR code), your mailbox (IMAP/SMTP) and your Android phone (SMS from its SIM). Tools: list-accounts, get-account, add-account, add-email-account, list-messages, send-message (one channel or several in one call). Hosted, OAuth 2.1, nothing to install. Free plan with unlimited messages; paid plans from 19 EUR/month remove the footer and add media and webhooks. Docs and client configs: github.com/UnlimitedMessaging/unlimited-messaging-mcp
SMS alerts for AI agents and scripts. Text your own phone and read replies. API key required.
Send texts (SMS) from your own Android phone and your own number, from any AI app.
Text your own phone from Claude and ChatGPT: reminders, alerts, scheduled SMS. Free 5 texts/mo.
Related MCP Servers
- AlicenseBqualityDmaintenanceAndroidAPI.net MCP Connector lets Claude send SMS, WhatsApp messages, and OTPs via your linked Android device or gateway credits. Features * 52 tools covering SMS, WhatsApp, OTP, Contacts, Android devices * Works with Claude Desktop and Claude Code * Install: npx -y androidapi-mcp Setup Set ANDROIDAPI_SECRET env var with your API key from AndroidAPI.net → Tools → API Keys5239 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables Claude to read, organize, and send SMS messages through your ClickSend account.-
- FlicenseNot gradedqualityDmaintenanceEnables an AI-powered SMS assistant that receives inbound messages via TextBee, processes them with a local Ollama model and optional MCP tools, and sends replies back to the sender.1-
- FlicenseNot gradedqualityCmaintenanceEnables AI applications to send and receive real iMessage/SMS messages through a local MCP service, with tools for sending texts, checking new messages, browsing history, and querying line status.4-