Set up Twilio in Metorial for Claude, ChatGPT and Cursor
Share Twilio with your team in Claude, ChatGPT and Cursor through Metorial: auth token or API key sign-in, 16 tools (6 read-only).
To give your team Twilio in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Twilio integration in a Metorial portal, and each person connects with an auth token. Agents can send and receive SMS, MMS, WhatsApp, and RCS messages. The integration has 16 tools, 6 read-only, 5 write and 5 destructive, plus 4 triggers.
What you'll learn
- How an admin shares Twilio in a portal and how each person connects
- What Twilio asks for when you connect, and where to find it
- How to keep the 6 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- An auth token from Twilio for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Auth Token (default) | API token | authToken |
| API Key | API token | apiKeySid and apiKeySecret |
The portal and metorial setup use Auth Token unless someone picks another method.
Auth Token
To connect, a person enters:
authToken: Your Twilio Auth Token. Found in the Twilio Console alongside your Account SID.
API Key
To connect, a person enters these values:
apiKeySid: Your Twilio API Key SID (starts with SK).apiKeySecret: Your Twilio API Key Secret.
Setup settings
Whichever method you pick, setup also asks for:
accountSid: Your Twilio Account SID (starts with AC). Found in the Twilio Console.
Admin: share Twilio in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Twilio. Under Auth Method, keep Auth Token or pick another. For how members connect, choose Each person connects so everyone enters their own auth token, or Shared connection to enter one auth token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Twilio.
Choose who gets it
Add the access groups that should see Twilio. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Twilio integration. Once it exists, check which groups have it:
Employee: connect Twilio
In the portal
Open Twilio in the catalog
Sign in to your portal and open Twilio. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your auth token (authToken).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses Auth Token. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Twilio connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 6 read-only tools, such as list_calls and list_messages, and lose the 5 write tools, such as make_call or send_message, and the 5 destructive tools, such as modify_call or manage_conversation.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 16 tools, minus any you rejected. list_calls takes no input. It retrieves call records from your Twilio account.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (6)
list_calls: Retrieve call records from your Twilio account.lookup_phone_number: Look up intelligence about a phone number using the Twilio Lookup API. NeedsphoneNumber.list_messages: Retrieve a list of messages from your Twilio account.search_phone_numbers: Search for available phone numbers to purchase on Twilio. NeedscountryCode.list_recordings: Retrieve Twilio Programmable Voice recording metadata.list_verify_services: List Twilio Verify Services so you can discover the Service SID required by Send Verification and Check Verification.
Write tools (5)
send_verification: Send a verification code (OTP) to a user via SMS, WhatsApp, voice call, or email using Twilio Verify. NeedsverifyServiceSid,toandchannel.check_verification: Verify a code entered by the user against a pending Twilio Verify verification. NeedsverifyServiceSidandcode.send_message: Send an SMS, MMS, or WhatsApp message to a phone number. Needsto.send_conversation_message: Send a message within a Twilio Conversation. NeedsconversationSid.make_call: Initiate an outbound phone call via Twilio. Needstoandfrom.
Destructive tools (5)
modify_call: Modify an in-progress call. NeedscallSid.manage_conversation: Create, list, update, or delete Twilio Conversations. Needsaction.conversation_participants: Add, list, or remove participants from a Twilio Conversation. NeedsactionandconversationSid.manage_phone_number: Purchase, list, update, or release phone numbers on your Twilio account. Needsaction.manage_messaging_service: Create, list, fetch, update, or delete Twilio Messaging Services. Needsaction.
Triggers
Twilio has 4 triggers, which fire on events in Twilio:
call_status: Triggered when a voice call status changes (initiated, ringing, answered, completed).message_status: Triggered when a message delivery status changes (e.g. queued, sent, delivered, failed, undelivered, read).incoming_call: Triggered when a voice call is received on a Twilio phone number.incoming_message: Triggered when an SMS, MMS, or WhatsApp message is received on a Twilio phone number.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Twilio there
- Tool permissions: tool filters and what employees see
- Twilio on metorial.com: the integration overview