MetorialDocs

Set up Drift in Metorial for Claude, ChatGPT and Cursor

Share Drift with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 19 tools (11 read-only).

To give your team Drift in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Drift integration in a Metorial portal, and each person signs in to Drift with their own account. Agents can manage contacts, conversations, and messaging for conversational marketing and sales. The integration has 19 tools, 11 read-only, 6 write and 2 destructive, plus 5 triggers.

What you'll learn

  • How an admin shares Drift in a portal and how each person connects
  • The 9 OAuth scopes Drift can request, and what each one allows
  • How to keep the 11 read-only tools and reject the other 8

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Drift
Personal Access TokenAPI tokentoken

The portal and metorial setup use OAuth unless someone picks another method.

OAuth

People sign in to Drift and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
contact_readContact ReadListen to changes to contacts and query contacts
all_contact_readAll Contact ReadRead contact metadata such as custom attributes
contact_writeContact WriteCreate and update contacts
conversation_readConversation ReadQuery conversations and messages
conversation_writeConversation WriteCreate messages via a bot
user_readUser ReadRead user data
user_writeUser WriteModify user data
gdpr_readGDPR ReadPerform data retrieval requests
gdpr_writeGDPR WritePerform data deletion requests

Personal Access Token

To connect, a person enters:

  • token: Personal access token from Drift

Use your own Drift OAuth app

With your own OAuth app, people see your company's name on the Drift consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Drift and copy the Redirect URI.

Register the app with Drift

Create an OAuth app or client in Drift and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Drift integration.

Admin: share Drift 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 Drift. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Drift as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Drift.

Choose who gets it

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

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

Employee: connect Drift

In the portal

Open Drift in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Drift sign-in tab opens. Sign in and approve the permissions listed.

Confirm

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

With the CLI

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

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with Personal Access Token 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 Drift 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 drift
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 11 read-only tools, such as list_teams and list_users, and lose the 6 write tools, such as send_message or create_contact, and the 2 destructive tools, such as delete_contact or update_user_availability.

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 drift
metorial tools <integration-id>
metorial call <integration-id> list_playbooks -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_playbooks takes no input. It lists active playbooks in Drift.

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

Tools

Read-only tools (11)

  • list_conversations: List conversations in Drift with optional status filtering and pagination.
  • list_teams: List all teams in the Drift organization, or list teams for a specific user.
  • list_playbooks: List active playbooks in Drift.
  • get_conversation: Retrieve detailed information about a specific Drift conversation, including participants, tags, status, and related playbook. Needs conversationId.
  • list_users: List all users (agents) in the Drift organization.
  • get_contact: Retrieve a Drift contact by their ID or email address.
  • get_booked_meetings: Retrieve booked meetings from Drift within a time range. Needs minStartTime and maxStartTime.
  • get_token_info: Inspect Drift metadata for the current access token, including organization ID, scopes, app credential ID, and expiration metadata.
  • get_conversation_transcript: Export a Drift conversation transcript as a Slate attachment. Needs conversationId.
  • list_custom_attributes: List custom contact attributes configured in Drift.
  • get_conversation_stats: Get Drift conversation counts grouped by status for the connected organization.

Write tools (6)

  • create_conversation: Start a new conversation in Drift with a contact. Needs email and body.
  • manage_account: Create, retrieve, update, or delete an account in Drift. Needs action.
  • send_message: Send a message in an existing Drift conversation. Needs conversationId and type.
  • create_contact: Create a new contact in Drift. Needs email.
  • update_contact: Update an existing Drift contact's attributes. Needs contactId.
  • post_timeline_event: Post an external activity event to a Drift contact timeline. Needs event.

Destructive tools (2)

  • delete_contact: Permanently delete a contact from Drift by their contact ID. Needs contactId.
  • update_user_availability: Update a Drift user's availability. Needs userId and availability.

Triggers

Drift has 5 triggers, which fire on events in Drift:

  • playbook_goal_met: Triggers when a previously identified contact meets a goal within a Drift playbook.
  • conversation_event: Triggers on conversation events including new conversations, new messages, conversation pushes, participant changes, button clicks, and inactivity.
  • meeting_event: Triggers when a meeting is booked, rescheduled, or canceled in Drift.
  • user_event: Triggers on user events including availability changes and email unsubscriptions.
  • contact_event: Triggers on contact events including contact identification, contact updates, and phone number capture.

Next steps