logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

messaging-gateway-for-ai

Facilitate the dispatch of SMS and MMS communications via the Twilio platform, featuring pre-configured operational templates for typical messaging needs, while strictly enforcing the confidentiality of Twilio access tokens.

Author

messaging-gateway-for-ai logo

YiyangLi

MIT License

Quick Info

GitHub GitHub Stars 10
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

twiliosmsmessagingusing twiliohandling twilioyiyangli sms

AI-Enabled Telecommunication Bridge (Twilio Integration)

A Model Context Protocol (MCP) service layer enabling large language models, such as Claude, to reliably dispatch short message service (SMS) and multimedia messaging service (MMS) payloads through the Twilio API infrastructure.

Showcase

Core Capabilities

  • Initiate the transmission of standard text messages 📱
  • Curated, ready-to-use operational scripts for frequent communication patterns 📝
  • Robust mechanisms for safeguarding confidential Twilio credentials 🔒

Prerequisites

  • Runtime environment: Node.js version 18 or newer
  • If updating Node.js is necessary, utilize nvm (Node Version Manager) as follows: bash nvm install 18.14.2 nvm alias default 18.14.2

  • To confirm operational status within Claude Desktop, execute this command in your terminal: bash npx -y @yiyang.1i/sms-mcp-server

System Initialization

The service mandates the definition of three environmental configuration parameters:

  • ACCOUNT_SID: The unique identifier for your Twilio provisioning account
  • AUTH_TOKEN: The secret authentication credential for API access
  • FROM_NUMBER: The originating telephone number provisioned by Twilio (must adhere to E.164 notation, e.g., +11234567890)

Integration within Claude Desktop

Integrate this service endpoint into your Claude Desktop configuration file using the following path specifications:

macOS Users: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows Users: %APPDATA%\Claude\claude_desktop_config.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" } } } }

Following configuration modification, a restart of the Claude Desktop application is required for the new settings to take effect. A successful connection will be indicated by the appearance of the Twilio option under the 🔨 menu interface.

Exemplar Interactions (Via Claude)

These illustrate natural language requests that trigger the underlying service:

  1. Standard Transmission:

Relay a text message to endpoint +11234567890 containing the content: "Don't forget about dinner tonight!"

  1. Creative Content Transmission:

Compose a five-seven-five syllable poem regarding the autumnal season and dispatch it to my mobile device at +11234567890

Critical Considerations

  1. Number Formatting Standard: All recipient and sender identifiers must strictly comply with the E.164 format (e.g., commencing with a '+' sign followed by the country code).
  2. Usage Quotas: Users must remain cognizant of the rate constraints and associated costs imposed by their active Twilio subscription.
  3. Credential Security: Absolute protection of Twilio access credentials is paramount; these secrets must never be incorporated into version control repositories.

Issue Resolution

Guidance for frequently encountered operational anomalies:

  1. Error Message: "Phone number must be in E.164 format"
  2. Solution: Verify the destination number begins with a '+' symbol followed by the appropriate country code prefix.

  3. Error Message: "Invalid credentials"

  4. Solution: Scrutinize the entered ACCOUNT_SID and AUTH_TOKEN. These values can be verified or re-copied from the Twilio Console.

Community Contributions

We welcome external contributions! Kindly review the contribution guidelines prior to submitting any proposed changes or pull requests.

Licensing Framework

This software package operates under the stipulations of the MIT License; details are available within the LICENSE documentation file.

Security Posture

Users are strictly advised against posting any sensitive or private data (including telephone numbers or access keys) within public forums such as GitHub issues or feature requests.

See Also

`