Skip to content
CommunicationClaude Desktop Guide

Twilio API Claude Desktop Integration

This guide explains how to configure Claude Desktop (Mac and Windows) to use the Twilio API API through the Model Context Protocol (MCP). The integration exposes 2 API endpointsas callable tools inside Claude's chat interface, including Send message, Make call. Setup requires Account SID + Auth Token credentials and takes approximately 2 minutes. The server runs locally via npx and communicates over STDIO transport. Paste the JSON configuration below into your claude_desktop_config.json file to get started.

Integration Specs

ClientClaude Desktop
Runtimenpx
AuthenticationAccount SID + Auth Token
Setup Time~2 min

Setup Instructions

1

Open Claude Settings

Launch Claude Desktop, open Settings (click your profile) → Developer → click 'Edit Config'.

2

Locate configuration file

This opens your local 'claude_desktop_config.json' file in your system editor.

3

Insert Server Config JSON

Paste the JSON configuration schema block (provided below) into the 'mcpServers' object.

4

Add authentication credentials

Replace placeholders in the 'env' object with your actual Account SID + Auth Token credentials.

5

Restart Claude app

Save the config file and restart Claude Desktop to load your new tools.

Configuration JSON

claude_desktop_config.json

Copy and paste this config snippet inside your local configuration file.

{
  "mcpServers": {
    "twilio": {
      "command": "npx",
      "args": [
        "-y",
        "@twilio/mcp-server"
      ],
      "env": {
        "TWILIO_ACCOUNT_SID": "your_account_sid",
        "TWILIO_AUTH_TOKEN": "your_auth_token"
      }
    }
  }
}

Required Environment Keys

Provide these variable keys in your local environment section:

TWILIO_ACCOUNT_SID

Replace your_account_sid with your secret key credentials.

TWILIO_AUTH_TOKEN

Replace your_auth_token with your secret key credentials.

Available Tools (2)

These endpoints are parsed from the OpenAPI schema and converted to Claude-compatible tools:

POST/2010-04-01/Accounts/{sid}/Messages.json
Send message
POST/2010-04-01/Accounts/{sid}/Calls.json
Make call