Set up MSG91 in Metorial for Claude, ChatGPT and Cursor
Share MSG91 with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 19 tools (8 read-only).
To give your team MSG91 in Claude, ChatGPT, Cursor and other AI clients, an admin shares the MSG91 integration in a Metorial portal, and each person connects with an API key. Agents can send and manage multi-channel communications across SMS, Email, WhatsApp, Voice, and RCS. The integration has 19 tools, 8 read-only, 10 write and 1 destructive, plus 5 triggers.
What you'll learn
- How an admin shares MSG91 in a portal and how each person connects
- What MSG91 asks for when you connect, and where to find it
- How to keep the 8 read-only tools and reject the other 11
Before you start
- A portal with at least one access group
- An API key from MSG91 for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key (Authkey) | API token | authkey |
API Key (Authkey)
To connect, a person enters:
authkey: MSG91 authentication key (Authkey). Found in the MSG91 panel under the username dropdown.
Admin: share MSG91 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 MSG91. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from MSG91.
Choose who gets it
Add the access groups that should see MSG91. 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 MSG91 integration. Once it exists, check which groups have it:
Employee: connect MSG91
In the portal
Open MSG91 in the catalog
Sign in to your portal and open MSG91. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (authkey).
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.
Add it to your AI client
metorial install adds your MSG91 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 8 read-only tools, such as verify_otp and validate_email, and lose the 10 write tools, such as send_otp or send_sms, and the destructive tool delete_contacts.
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 19 tools, minus any you rejected. get_phonebook_fields takes no input. It retrieves the available phonebook fields configured in MSG91 Segmento.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (8)
verify_otp: Verify a one-time password (OTP) entered by a user against the OTP that was previously sent to their mobile number. Needsmobileandotp.get_messaging_logs: Retrieve messaging logs for SMS, Email, WhatsApp, Voice, or RCS channels. Needschannel.search_contacts: Search and filter contacts in MSG91 Segmento.validate_email: Validate an email address to check if it exists, is properly formatted, and is deliverable. Needsemail.get_phonebook_fields: Retrieve the available phonebook fields configured in MSG91 Segmento.list_whatsapp_numbers: List WhatsApp Business numbers integrated with your MSG91 account.list_email_templates: List existing MSG91 email templates and their identifiers for send_email.list_whatsapp_templates: List WhatsApp templates for an integrated number, including names and languages needed by send_whatsapp_message.
Write tools (10)
send_voice_message: Send voice SMS (text-to-speech) calls or initiate click-to-call (two-way call) sessions. NeedscallTypeandcallerId.send_otp: Send a one-time password (OTP) to a mobile number. Needsmobile.send_rcs_message: Send Rich Communication Services (RCS) messages with different content types: text templates, media (images/videos), or rich cards with optional suggestions. NeedscontentType,toandsenderId.track_event: Track user events in MSG91 Segmento for contact activity tracking and user journey analysis. Needsevents.send_whatsapp_message: Send template-based WhatsApp messages to one or more recipients. NeedsintegratedNumber,templateName,languageCodeandrecipients.send_email: Send transactional emails using a pre-created template. NeedstemplateId,from,domainandrecipients.send_sms: Send SMS messages using a pre-approved template (flow). NeedstemplateIdandrecipients.create_or_update_contact: Create a new contact or update an existing contact in MSG91 Segmento. NeedscontactFields.resend_otp: Resend a one-time password (OTP) to a mobile number. Needsmobile.run_campaign: Launch a multi-channel campaign that sends messages across SMS, WhatsApp, Email, and other configured channels. NeedscampaignSlugandrecipients.
Destructive tools (1)
delete_contacts: Delete one or more contacts from MSG91 Segmento by their IDs. NeedscontactIds.
Triggers
MSG91 has 5 triggers, which fire on events in MSG91:
voice_call_report: Receive delivery reports for outbound and inbound voice calls including success/failure status, caller ID, agent info, call direction, and failure reasons.whatsapp_delivery_report: Receive delivery status updates and inbound messages for WhatsApp.sms_delivery_report: Receive real-time delivery status updates for sent SMS messages.rcs_delivery_report: Receive delivery status updates for RCS messages including status changes and message details.email_delivery_report: Receive delivery status updates for sent emails including request received, delivery reports, opened, clicked, unsubscribed, and complaints.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use MSG91 there
- Tool permissions: tool filters and what employees see
- MSG91 on metorial.com: the integration overview