MetorialDocs

Set up Telnyx in Metorial for Claude, ChatGPT and Cursor

Share Telnyx with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 18 tools (6 read-only).

To give your team Telnyx in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Telnyx integration in a Metorial portal, and each person connects with an API key. Telnyx v2 messaging, voice call control, fax status and PDF delivery, number search and management, Verify profiles, SIM status and actions, connection discovery, number lookup and account balance. The integration has 18 tools, 6 read-only, 7 write and 5 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Telnyx in a portal and how each person connects
  • What Telnyx asks for when you connect, and where to find it
  • How to keep the 6 read-only tools and reject the other 12

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Your Telnyx API Key (Bearer token). Found in Mission Control Portal under Auth > Auth V2.

Admin: share Telnyx 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 Telnyx. 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 Telnyx.

Choose who gets it

Add the access groups that should see Telnyx. 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 Telnyx integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search telnyx

Employee: connect Telnyx

In the portal

Open Telnyx in the catalog

Sign in to your portal and open Telnyx. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search telnyx
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Telnyx 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.

metorial list telnyx
metorial client list
metorial install <client-identifier> <integration-id>

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 get_balance and get_message, and lose the 7 write tools, such as get_fax or send_fax, and the 5 destructive tools, such as call_action or manage_sim_card.

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 list telnyx
metorial tools <integration-id>
metorial call <integration-id> get_balance -d '{}'

metorial tools lists the 18 tools, minus any you rejected. get_balance takes no input. It retrieves the current account balance and currency for your Telnyx account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (6)

  • get_message: Retrieve details of a specific message by its ID. Needs messageId.
  • list_phone_numbers: List phone numbers on your Telnyx account.
  • number_lookup: Look up information about a phone number including carrier details, line type, portability, and caller ID (CNAM). Needs phoneNumber.
  • search_phone_numbers: Search for phone numbers available for purchase. Needs countryCode.
  • get_balance: Retrieve the current account balance and currency for your Telnyx account.
  • list_connections: Discover Telnyx connections by native ID, type, name and active state.

Write tools (7)

  • send_fax: Send a fax to a phone number. Needs connectionId, to and from.
  • verify_code: Verify a two-factor authentication code submitted by a user. Needs phoneNumber, code and verifyProfileId.
  • order_phone_numbers: Purchase one or more phone numbers. Needs phoneNumbers.
  • send_verification: Send a two-factor authentication (2FA) verification code to a phone number. Needs phoneNumber, verifyProfileId and type.
  • dial_call: Initiate an outbound voice call via Call Control. Needs to, from and connectionId.
  • send_message: Send an SMS or MMS message to a phone number. Needs from and to.
  • get_fax: Read the exact asynchronous fax state and optionally prepare its PDF for download.

Destructive tools (5)

  • call_action: Perform an action on an active call. Needs callControlId and action.
  • manage_sim_card: List, view, update, enable, disable, set to standby, or decommission SIM cards. Needs action.
  • manage_verify_profile: Create, get, update, delete, or list Verify profiles for two-factor authentication. Needs action.
  • manage_phone_number: Get, update, or delete a phone number on your account. Needs phoneNumberId and action.
  • manage_messaging_profile: Create, get, update, delete, or list messaging profiles. Needs action.

Triggers

Telnyx has 4 triggers, which fire on events in Telnyx:

  • fax_events: Receive webhook events for fax transmission status changes including queued, sending, delivered, received, and failed events.
  • verify_events: Receive webhook events for two-factor authentication (Verify) status changes including sent, delivered, and failed events.
  • call_events: Receive webhook events for voice call lifecycle events including call initiated, answered, bridged, hangup, DTMF received, recording saved, and more.
  • messaging_events: Receive webhook events for inbound and outbound messages, including received messages, sent confirmations, and delivery status updates.

Next steps