# io.github.codespar/mcp-twilio (npm · @codespar/mcp-twilio)

MCP server for Twilio — global SMS, WhatsApp, Voice, Verify, and Lookup across 180+ countries

- Trust score: 69/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@codespar/mcp-twilio`: 69/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio.md), [page](https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-twilio`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 41 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 76/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2401 tokens (~109/item across 22 items; 22 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-twilio -- npx -y @codespar/mcp-twilio
```

### Codex

```bash
codex mcp add codespar-mcp-twilio -- npx -y @codespar/mcp-twilio
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-twilio": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-twilio"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-twilio --command npx --arg -y --arg @codespar/mcp-twilio
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-twilio:
    command: "npx"
    args: ["-y", "@codespar/mcp-twilio"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-twilio": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-twilio"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 68, +47)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional] Licence: MIT

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (22)

### `send_message` (~223 tokens)

Send an SMS or WhatsApp message. For WhatsApp, prefix `To` (and `From`) with `whatsapp:+E164`. Supply either `From` (a Twilio phone number) OR `MessagingServiceSid` (a Messaging Service). If neither is given, falls back to env TWILIO_MESSAGING_SERVICE_SID.

Input parameters:

- `Body` (string, required): Message text (UTF-8)
- `From` (string): Twilio phone number in E.164, or `whatsapp:+E164` for WhatsApp. Omit if using MessagingServiceSid.
- `MediaUrl` (array): Optional list of media URLs (MMS / WhatsApp media)
- `MessagingServiceSid` (string): Messaging Service SID (MG...). Overrides env default. Omit if using From.
- `StatusCallback` (string): Webhook URL Twilio calls on delivery-status transitions
- `To` (string, required): Destination in E.164 (e.g. +5511999999999) or `whatsapp:+E164` for WhatsApp

### `get_message` (~30 tokens)

Retrieve a message resource by SID (SM... or MM...).

Input parameters:

- `Sid` (string, required): Message SID

### `list_messages` (~148 tokens)

List messages with optional filters. Returns Twilio's paginated list; pass PageSize to cap.

Input parameters:

- `DateSent` (string): Filter by exact send date (YYYY-MM-DD). Use DateSentAfter / DateSentBefore for ranges.
- `DateSentAfter` (string): Return messages sent on/after this date (YYYY-MM-DD)
- `DateSentBefore` (string): Return messages sent on/before this date (YYYY-MM-DD)
- `From` (string): Filter by sender
- `PageSize` (number): Max rows per page (default 50, max 1000)
- `To` (string): Filter by destination (E.164 or whatsapp:+E164)

### `delete_message` (~27 tokens)

Delete a message from history. Irreversible.

Input parameters:

- `Sid` (string, required): Message SID

### `make_call` (~136 tokens)

Place an outbound voice call. Twilio fetches TwiML from `Url` on connect to drive the call.

Input parameters:

- `From` (string, required): Twilio-provisioned caller ID in E.164
- `Method` (string): HTTP method Twilio uses to fetch Url (default POST)
- `StatusCallback` (string): Webhook URL for call-status events
- `StatusCallbackEvent` (array): Events to subscribe to: initiated, ringing, answered, completed
- `To` (string, required): Destination number in E.164
- `Url` (string, required): HTTP(S) URL returning TwiML that drives the call

### `get_call` (~27 tokens)

Retrieve a call resource by SID (CA...).

Input parameters:

- `Sid` (string, required): Call SID

### `update_call` (~94 tokens)

Modify an in-progress call. Set Status='completed' to hang up, or pass a new Url to redirect the call to fresh TwiML.

Input parameters:

- `Method` (string): HTTP method for the new Url
- `Sid` (string, required): Call SID
- `Status` (string): canceled (before answered) or completed (hang up)
- `Url` (string): New TwiML URL — redirects the live call

### `start_verification` (~100 tokens)

Start a Verify (2FA) challenge. Sends a one-time code to `To` via the chosen channel. Requires a Verify Service SID (VA...).

Input parameters:

- `Channel` (string, required): Delivery channel
- `Locale` (string): Message locale (e.g. pt-br, en, es)
- `ServiceSid` (string, required): Verify Service SID (VA...)
- `To` (string, required): Destination in E.164 (or email for email channel)

### `check_verification` (~67 tokens)

Check a Verify (2FA) code against a Service SID. Returns status=approved when the code matches.

Input parameters:

- `Code` (string, required): Code the user entered
- `ServiceSid` (string, required): Verify Service SID (VA...)
- `To` (string, required): Destination that received the code

### `lookup_phone` (~127 tokens)

Validate and normalize a phone number via Lookups v2. Optional `Fields` lets you request carrier info, line_type_intelligence, caller_name, identity_match, etc.

Input parameters:

- `CountryCode` (string): ISO-3166 alpha-2. Required only if PhoneNumber is not in E.164.
- `Fields` (string): Comma-separated list of add-ons (e.g. `line_type_intelligence,caller_name`). Billed per field.
- `PhoneNumber` (string, required): Number to look up (E.164 recommended; Lookups v2 will format if possible)

### `list_incoming_numbers` (~82 tokens)

List Twilio-provisioned phone numbers on this account. Filter by PhoneNumber (partial), FriendlyName, or Beta.

Input parameters:

- `FriendlyName` (string): Filter by friendly name
- `PageSize` (number): Max rows per page (default 50, max 1000)
- `PhoneNumber` (string): Filter by partial phone number match

### `buy_phone_number` (~138 tokens)

Provision a new phone number. Supply either a specific `PhoneNumber` (from AvailablePhoneNumbers search) or an `AreaCode` to let Twilio pick one.

Input parameters:

- `AreaCode` (string): Area code — Twilio picks any available number in it
- `FriendlyName` (string): Friendly label
- `PhoneNumber` (string): Exact E.164 number to buy (from AvailablePhoneNumbers search)
- `SmsUrl` (string): TwiML URL for incoming SMS
- `StatusCallback` (string): Webhook URL for number status events
- `VoiceUrl` (string): TwiML URL for incoming calls

### `list_recordings` (~119 tokens)

List call recordings on this account. Optionally filter by CallSid, or by DateCreated range. Returns Twilio's paginated list.

Input parameters:

- `CallSid` (string): Restrict to recordings produced by this Call SID (CA...)
- `DateCreatedAfter` (string): Return recordings created on/after this date (YYYY-MM-DD)
- `DateCreatedBefore` (string): Return recordings created on/before this date (YYYY-MM-DD)
- `PageSize` (number): Max rows per page (default 50, max 1000)

### `create_verify_service` (~105 tokens)

Create a Verify Service (VA...). A service groups verification attempts and holds per-service config (code length, friendly name).

Input parameters:

- `CodeLength` (number): OTP code length, 4-10 (default 6)
- `DefaultTemplateSid` (string): Default message template SID
- `FriendlyName` (string, required): Human-readable name for the service (e.g. your app name)
- `LookupEnabled` (boolean): Run Lookup on targets before sending (blocks invalid numbers)

### `create_conversation` (~105 tokens)

Create a Twilio Conversation. Conversations host multi-channel (SMS / WhatsApp / chat) threads with server-side history.

Input parameters:

- `Attributes` (string): JSON string of custom attributes stored on the conversation
- `FriendlyName` (string): Human-readable label for the conversation
- `MessagingServiceSid` (string): Messaging Service SID (MG...) used for outbound SMS/WhatsApp in this conversation
- `UniqueName` (string): Developer-defined unique identifier (alternative addressable key)

### `list_conversations` (~98 tokens)

List Conversations. Returns a paginated list; pass PageSize to cap.

Input parameters:

- `EndDate` (string): Only include conversations created on/before this ISO-8601 date
- `PageSize` (number): Max rows per page (default 50, max 1000)
- `StartDate` (string): Only include conversations created on/after this ISO-8601 date
- `State` (string): Filter by conversation state

### `add_conversation_participant` (~153 tokens)

Add a participant to a Conversation. For SMS / WhatsApp, pass MessagingBinding.Address (+E164 or whatsapp:+E164) + MessagingBinding.ProxyAddress (your Twilio number). For chat participants, pass Identity.

Input parameters:

- `Attributes` (string): JSON string of custom participant attributes
- `ConversationSid` (string, required): Conversation SID (CH...) or UniqueName
- `Identity` (string): Chat identity (use for in-app chat participants)
- `MessagingBinding.Address` (string): Participant's address: +E164 for SMS, whatsapp:+E164 for WhatsApp
- `MessagingBinding.ProxyAddress` (string): Your Twilio number the participant messages with (E.164 or whatsapp:+E164)

### `send_conversation_message` (~114 tokens)

Post a message into a Conversation. Fanned out to all participants via their channel (SMS / WhatsApp / chat).

Input parameters:

- `Attributes` (string): JSON string of custom message attributes
- `Author` (string): Identity of the author (defaults to `system` if omitted)
- `Body` (string): Message text (UTF-8)
- `ConversationSid` (string, required): Conversation SID (CH...) or UniqueName
- `MediaSid` (string): Media SID (ME...) from a prior MCS upload

### `list_messaging_services` (~50 tokens)

List Messaging Services (MG...). A Messaging Service bundles sender pools, templates, and routing rules.

Input parameters:

- `PageSize` (number): Max rows per page (default 50, max 1000)

### `execute_studio_flow` (~110 tokens)

Trigger a Studio Flow Execution for a contact. Studio flows are visual IVR / workflow builders — this kicks one off for a specific To/From pair.

Input parameters:

- `FlowSid` (string, required): Studio Flow SID (FW...)
- `From` (string, required): Your Twilio number (E.164 or whatsapp:+E164)
- `Parameters` (string): JSON string of variables injected into the flow's execution context
- `To` (string, required): Contact address (E.164 or whatsapp:+E164)

### `create_taskrouter_task` (~152 tokens)

Create a TaskRouter Task on a Workspace. TaskRouter routes work (calls, chats, tickets) to eligible Workers based on attributes.

Input parameters:

- `Attributes` (string): JSON string of task attributes used for routing (e.g. {"selected_language":"pt-br"})
- `Priority` (number): Priority (higher = more urgent)
- `TaskChannel` (string): Task channel unique_name or SID (e.g. voice, chat, sms, default)
- `Timeout` (number): Seconds before the task times out (default 86400)
- `WorkflowSid` (string): Workflow SID (WW...) that decides how this task is routed
- `WorkspaceSid` (string, required): TaskRouter Workspace SID (WS...)

### `list_taskrouter_workers` (~129 tokens)

List Workers on a TaskRouter Workspace. Optionally filter by ActivityName, Available, or TargetWorkersExpression.

Input parameters:

- `ActivityName` (string): Filter by activity name (e.g. Available, Idle, Offline)
- `Available` (string): Filter by availability: 'true' or 'false'
- `PageSize` (number): Max rows per page (default 50, max 1000)
- `TargetWorkersExpression` (string): TaskRouter expression to filter workers (e.g. languages HAS "pt-br")
- `WorkspaceSid` (string, required): TaskRouter Workspace SID (WS...)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio#diagnostics

## Score history

- 2026-08-03: 69
- 2026-08-02: 68
- 2026-08-01: 21
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-twilio
- Socket report: https://socket.dev/npm/package/@codespar/mcp-twilio
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-twilio/codespar-mcp-twilio
