Twilio Messaging MCP Server

by MCP-Mirror

305 downloads
Not rated
GitHub

About

A Model Context Protocol server that enables sending SMS messages via the Twilio API. It integrates with MCP clients like Claude Desktop and uses Twilio API Keys for improved security over Auth Tokens.

Details

Author
MCP-Mirror
Downloads
305
Categories
Communication

- Send SMS messages via Twilio
- Integrates with MCP clients like Claude Desktop
- Secure credential handling without environment variables
- Uses Twilio API Keys for improved security
- Provides a single tool: send-sms

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Twilio Messaging MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run with npx: npx twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number> or install globally and run. For Claude Desktop, add a configuration entry in claude_desktop_config.json with the command and the four credentials as arguments.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "twilio messaging mcp server": {
            "deshartman_twilio-messaging-mcp-server": {
                "command": "npx",
                "args": [
                    "twilio-messaging-mcp-server",
                    "<accountSid>",
                    "<apiKey>",
                    "<apiSecret>",
                    "<number>"
                ]
            }
        }
    }
}

McpServers

{
    "deshartman_twilio-messaging-mcp-server": {
        "command": "npx",
        "args": [
            "twilio-messaging-mcp-server",
            "<accountSid>",
            "<apiKey>",
            "<apiSecret>",
            "<number>"
        ]
    }
}

Twilio Messaging MCP Server

An MCP (Model Context Protocol) server that enables sending SMS messages via the Twilio API.

Features

- Send SMS messages via Twilio
- Integrates with MCP clients like Claude Desktop
- Secure credential handling without environment variables
- Uses Twilio API Keys for improved security

Installation

You can use this server directly via npx:

npx twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>

Or install it globally:

npm install -g twilio-messaging-mcp-server
twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>

Configuration

The server requires the following parameters:

- accountSid: Your Twilio Account SID (must start with 'AC', will be validated)
- apiKey: Your Twilio API Key (starts with 'SK')
- apiSecret: Your Twilio API Secret
- number: The Twilio phone number to send messages from (in E.164 format, e.g., +1234567890)

Security Note

This server uses API Keys and Secrets instead of Auth Tokens for improved security. This approach provides better access control and the ability to revoke credentials if needed. For more information, see the Twilio API Keys documentation.

Usage with Claude Desktop

Local Development

For local development (when the package is not published to npm), add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "twilio-messaging": {
      "command": "node",
      "args": [
        "/PATHTONODE/twilio-messaging-mcp-server/build/index.js",
        "your_account_sid_here",
        "your_api_key_here",
        "your_api_secret_here",
        "+1234567890"
      ]
    }
  }
}

Replace the values with your actual Twilio credentials:
- First argument: Your Twilio Account SID (starts with "AC")
- Second argument: Your Twilio API Key (starts with "SK")
- Third argument: Your Twilio API Secret
- Fourth argument: Your Twilio phone number in E.164 format

You can get the absolute path by running the following command in your project directory:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.