Twilio SMS Server is an MCP server that connects Claude Desktop and other compatible AI clients to the Twilio telecommunications platform for automated message dispatch. Developers, system administrators, and AI workflow builders use this integration to trigger outbound text messages directly from an AI conversational workspace. The server bridges large language models to Twilio's messaging infrastructure, translating prompt-based requests into valid API calls. Beyond operating as a Model Context Protocol endpoint for desktop clients, the project supports a standalone web service mode that exposes standard REST API endpoints for cloud environments like Railway, Render, Heroku, or Docker containers. Users can direct an assistant to draft custom text communications, generate event reminders, dispatch automated notifications, or format occasion greetings using predefined parameters. The implementation enforces standard international phone number formatting using E.164 syntax and safely isolates account authentication credentials via environment variables. By establishing direct programmatic messaging capabilities, Twilio SMS Server enables AI assistants to execute outbound communications without requiring manual switching between communication consoles or writing custom API client glue code.
Category: Communication & Messaging
Tags: messaging, sms, telephony, twilio
claude_desktop_config.json) at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows. 3. Add the twilio server definition to the mcpServers block: json { "mcpServers": { "twilio": { "command": "npx", "args": [ "-y", "@yiyang.1i/sms-mcp-server" ], "env": { "ACCOUNT_SID": "your_account_sid", "AUTH_TOKEN": "your_auth_token", "FROM_NUMBER": "your_twilio_number" } } } } 4. Replace your_account_sid, your_auth_token, and your_twilio_number with your Twilio credentials and phone number in E.164 format. 5. Restart Claude Desktop to complete registration and access the Twilio tools.Part of MCP Servers
To install and run Twilio SMS Server with Claude Desktop, ensure Node.js 18 or higher is installed. Open your claude_desktop_config.json configuration file and add the twilio server configuration specifying the npx command with the @yiyang.1i/sms-mcp-server package. Supply your Twilio ACCOUNT_SID, AUTH_TOKEN, and FROM_NUMBER under the env block, then restart Claude Desktop to load the tools.
Twilio SMS Server enables AI assistants and web applications to send SMS messages through Twilio. It supports sending custom text messages and occasion greetings, validates E.164 international phone number formatting, and can operate either as an MCP server for Claude Desktop or as a standalone REST API with HTTP endpoints.
Twilio SMS Server is built according to the Model Context Protocol standard and is documented specifically for Claude Desktop on macOS and Windows. Any MCP-compliant client or workflow engine that supports standard local command execution with environment variable configuration can run the server via npx or local Node.js processes.
Yes, Twilio SMS Server is open-source software distributed under the MIT License. The complete source code, TypeScript configuration, Docker deployment assets, and contribution guidelines are publicly accessible on GitHub in the mustafa-boorenie/twilio_sms_mcp repository for community use, modification, and self-hosted deployment.
The server strictly requires phone numbers to be provided in standard E.164 format. This format starts with a plus sign followed by the country code, area code, and phone subscriber number without spaces or punctuation, such as +11234567890. Using other formats will return validation errors.