Twilio

Twilio

Interact with Twilio APIs to send SMS messages, manage phone numbers, configure your account, and more.

74
Stars
28
Forks
3
Releases

Overview

Twilio MCP Server is a monorepo containing two MCP implementations designed to expose Twilio's public API surface to MCP‑compliant AI tools. It implements the Model Context Protocol to enable AI assistants and other services to discover and call Twilio APIs in a controlled, filterable way. The repository includes two packages: mcp, a dedicated MCP Server for Twilio's public API, and openapi-mcp-server, an MCP server that serves a given OpenAPI spec. This setup allows developers to selectively expose APIs using --services and --tags for the MCP server or specify OpenAPI specs via --apiPath for the OpenAPI MCP Server, enabling smoother integration with AI workflows. Quick Start instructions show running via npx with a Twilio API Key/Secret. The project also provides security recommendations to avoid running untrusted community MCP servers and notes common configuration, debugging, and development workflows (tests, linting). For details, refer to the package READMEs. The MCP server aims to enable AI‑driven access to Twilio APIs while supporting filtration and secure usage.

Details

Owner
twilio-labs
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Exposes Twilio Public APIs via MCP

A server implementing the Model Context Protocol to expose Twilio's public APIs to MCP-enabled AI assistants and tools.

Monorepo with two MCP packages

Contains mcp (Twilio public API server) and openapi-mcp-server (serves an OpenAPI spec).

Configurable exposure via services and tags

Filter which APIs are exposed using --services and --tags options.

OpenAPI MCP Server serves given OpenAPI spec

OpenAPI MCP Server lets you specify the location of an OpenAPI spec with --apiPath.

Easy Quick Start with npx

Start an MCP server quickly using npx with Twilio API key credentials.

Security recommendations

Advises avoiding running untrusted community MCP servers to reduce data access risk.

Troubleshooting guidance

Offers guidance on context size limits, authentication, and API versioning; see package docs for details.

Development tooling

Includes tests and lint commands (npm test, npm run lint, npm run lint:fix) for development.

Audience

AI developersExpose Twilio APIs to MCP-supported AI assistants and tools.
Twilio integratorsIntegrate Twilio capabilities into MCP-powered AI workflows.
OpenAI adaptersEnable OpenAI-based apps to access Twilio APIs via MCP for contextual tool usage.

Tags

TwilioMCPModel Context ProtocolOpenAPIAI integrationPublic APIMonorepoSecurity