Skip to main content
Glama

Twilio Messaging MCP Server

by deshartman

Twilio メッセージング MCP サーバー

Twilio API 経由で SMS メッセージを送信できるようにする MCP (Model Context Protocol) サーバー。

特徴

  • Twilio経由でSMSメッセージを送信する
  • Claude DesktopなどのMCPクライアントと統合
  • 環境変数なしで安全な資格情報処理
  • セキュリティ強化のためTwilio APIキーを使用

インストール

このサーバーは npx 経由で直接使用できます。

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

または、グローバルにインストールします。

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

構成

サーバーには次のパラメータが必要です。

  • accountSid : Twilio アカウントの SID (「AC」で始まる必要があり、検証されます)
  • apiKey : Twilio API キー ('SK' で始まる)
  • apiSecret : Twilio APIシークレット
  • number : メッセージの送信元のTwilio電話番号(E.164形式、例:+1234567890)

セキュリティに関する注意事項

このサーバーは、セキュリティ強化のため、認証トークンではなくAPIキーとシークレットを使用します。このアプローチにより、アクセス制御が向上し、必要に応じて認証情報を失効させることができます。詳細については、 Twilio APIキーのドキュメントをご覧ください。

Claude Desktopでの使用

地域開発

ローカル開発の場合 (パッケージが npm に公開されていない場合)、Claude Desktop 構成ファイル (macOS の場合は~/Library/Application Support/Claude/claude_desktop_config.json 、Windows の場合は%APPDATA%\Claude\claude_desktop_config.json ) に以下を追加します。

{ "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" ] } } }

値を実際の Twilio 認証情報に置き換えます。

  • 最初の引数: Twilio アカウントの SID (「AC」で始まる)
  • 2番目の引数: Twilio APIキー(「SK」で始まる)
  • 3番目の引数: Twilio APIシークレット
  • 4番目の引数: E.164形式のTwilio電話番号

プロジェクト ディレクトリで次のコマンドを実行すると、絶対パスを取得できます。

# On macOS/Linux echo "$(pwd)/build/index.js" # On Windows (PowerShell) Write-Output "$((Get-Location).Path)\build\index.js"

npmに公開した後

パッケージが npm に公開されると、次の構成を使用できます。

{ "mcpServers": { "twilio-messaging": { "command": "npx", "args": [ "-y", "twilio-messaging-mcp-server", "your_account_sid_here", "your_api_key_here", "your_api_secret_here", "+1234567890" ] } } }

利用可能なツール

SMS送信

Twilio 経由で SMS メッセージを送信します。

パラメータ:

  • to : E.164形式の宛先電話番号(例:+1234567890)
  • message : 送信するメッセージの内容

Claude での使用例:

Can you send an SMS to +1234567890 saying "Hello from MCP!"

発達

プロジェクトをビルドするには:

npm install npm run build

サーバーを手動で実行する

テストのためにサーバーを手動で起動するには (Claude Desktop の外部):

# Run with actual credentials node build/index.js "your_account_sid_here" "your_api_key_here" "your_api_secret" "+1234567890" # Or use the npm script (which uses ts-node for development) npm run dev -- "your_account_sid_here" "your_api_key_here" "your_api_secret" "+1234567890"

サーバーが起動し、MCPクライアントからの接続を待機します。次のような出力が表示されます。

[TwilioMessagingServer] Server started successfully

Claude Desktop と併用する場合、Claude が設定ファイルを読み込むとサーバーが自動的に起動します。手動で起動する必要はありません。

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

ユーザーが自然言語コマンドを使用して、Claude Desktop から直接 Twilio API 経由で SMS メッセージを送信できるようにする MCP (Model Context Protocol) サーバー。

  1. 特徴
    1. インストール
      1. 構成
        1. セキュリティに関する注意事項
      2. Claude Desktopでの使用
        1. 地域開発
        2. npmに公開した後
      3. 利用可能なツール
        1. SMS送信
      4. 発達
        1. サーバーを手動で実行する
      5. ライセンス

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A server that connects Claude AI to Twilio through the Model Context Protocol, enabling prompt-assisted management of Twilio accounts, phone numbers, and regulatory compliance.
          Last updated -
          Python
          • Linux
          • Apple
        • -
          security
          -
          license
          -
          quality
          A Model Context Protocol server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.
          Last updated -
          5
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol (MCP) server that allows AI agents like Claude to interact with the Aligo SMS API to send text messages and retrieve related information.
          Last updated -
          JavaScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that enables AI assistants to control and interact with Android devices, allowing for device management, app debugging, system analysis, and UI automation through natural language commands.
          Last updated -
          29
          143
          Python
          Apache 2.0
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/deshartman/twilio-messaging-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server