How to connect Surge to Claude

Connect Claude Web, Desktop and Cowork to Surge MCP. Send personalized texts to campaign contacts, list phone numbers linked to campaigns, and more using natural language, with authentication handled for you.

Surge logoSurge
Api Key

Surge is a communications API for text messages, contacts, phone numbers, and campaigns. It helps businesses manage messaging workflows and customer communications programmatically.

49 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Surge account to Claude via Composio Connect, enabling it to send personalized texts to campaign contacts, list phone numbers linked to campaigns, create a Surge contact from details, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Surge with

Connecting Surge to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Surge account

Back in Claude, ask it to connect to Surge or give it any Surge-related task.

For example, ask Claude to:

  • "Send personalized texts to campaign contacts"
  • "List phone numbers linked to campaigns"
  • "Create a Surge contact from details"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Surge account is ready to use.

What is the Surge Claude Connector, and what's possible with it?

The Surge MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Surge account. It provides structured and secure access to messaging, contacts, phone numbers, campaigns, recordings, and account usage, so your agent can manage contacts, review messages, handle phone numbers, manage messaging campaigns, and track usage on your behalf.

  • Message and conversation management: Have your agent list messages, retrieve message details, review delivery status, inspect conversations, and examine attachments or failure details.
  • Contact and audience organization: Let the agent create and retrieve contacts, list contacts, create audiences, add contacts to audiences, and block or review blocked contacts.
  • Phone number management: Direct your agent to find available numbers, purchase numbers for your account, list assigned numbers, retrieve number details, or release numbers you no longer need.
  • Campaign and verification workflows: Instruct your agent to create and review messaging or toll-free campaigns, check account messaging readiness, create phone verifications, check verification codes, or resend brand verification codes.
  • Account and communication records: Have your agent review account details, list or retrieve call recordings, download available recording or message attachment files, manage embedded users, and retrieve account usage for a selected time window.

Troubleshooting

1. Why does Claude not use the Composio connector for Surge?

The connector can show as connected, but Claude must use it in each Surge conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Surge again.

2. Why does Claude show an MCP server error before Surge connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Surge.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Surge.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Surge authorization link not work?

The Composio connector is one server. Your Surge account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Surge connection.
  • Composio creates a fresh Surge authorization link.
  • Open that link in your browser and finish the Surge sign-in.

4. Why do Surge actions fail after they worked before?

The Surge connection can expire or lose permission.

  • Ask Claude to inspect the Surge connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Surge account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Surge.
  • If the action still fails with a permission error, check that the connected account has that permission in Surge itself.

5. How do I switch to a different Surge account?

Claude can manage the Surge connection for you.

  • Ask Claude to disconnect or delete the current Surge account.
  • Ask Claude to connect Surge again.
  • Open the new Composio authorization link for Surge.
  • Sign in with the other Surge account in the browser.
  • After the account connects, ask Claude to retry the Surge task.

6. Why is my Surge connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Surge connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Surge tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Surge.
TOOLS

Supported Tools

Every Surge action and event your agent gets out of the box.

Add Contact to Audience

Add an existing same-account contact to a manual audience.

Archive Account

Irreversibly archive a Surge account.

Block Contact

Block incoming Surge-handled calls and SMS/MMS from a number across an account.

Check Account Status

Check a Surge account's readiness for local or toll-free messaging and return any errors or missing fields.

Check Verification

Check a recipient-provided six-digit OTP against an existing Surge verification.

Create Account

Create a persistent Surge account.

Create Audience

Create a persistent manual audience in a Surge account.

Create Campaign

Create and submit a Surge messaging campaign for carrier registration, or import one using its TCR ID.

Create Contact

Create a persistent Surge contact.

Create Toll-Free Campaign

Create a registration for an already purchased toll-free number and submit it for carrier review.

Create User

Create a persistent embedded-component user in a Surge account.

Create User Token

Issue a signed bearer token for a Surge embedded user.

Create Verification

Create a phone-number verification and immediately send an external SMS containing a one-time verification code.

Delete Recording

Irreversibly delete a Surge call recording.

Delete User

Irreversibly delete a Surge user and revoke their access to all embedded components.

Download Attachment File

Download a Surge message attachment up to 25 MB and return a downloadable file reference.

Download Recording File

Download a Surge recording audio file up to 25 MB and return a downloadable file reference.

Get Account

Retrieve one Surge account by ID with its internal name, public brand name, time zone, and organization details.

Get Campaign

Retrieve one Surge messaging campaign and its registration details.

Get Contact

Retrieve one Surge contact by ID with phone number, profile fields, outbound messaging status, and metadata.

Get Message

Retrieve one Surge message by ID with its current delivery status, body, conversation, attachments, metadata, and failure details.

Get Phone Number

Retrieve one phone number assigned to Surge by ID with its number, type, display name, metadata, and campaign attachment details.

Get Recording

Retrieve one Surge call recording by ID with its duration and originating call.

Get Toll-Free Campaign

Retrieve one Surge toll-free campaign by ID with registration and consent details.

Get User

Retrieve one Surge user by ID, including profile fields and metadata.

List Accounts

Return one page of Surge accounts available to the connected project, including the account IDs needed by account-scoped tools.

List Audience Contacts

Return one cursor-paginated page of contacts in a Surge audience.

List Available Phone Numbers

Return one page of phone numbers available for purchase from Surge inventory.

List Blocked Contacts

Return one page of an account's blocked contacts, newest first.

List Campaigns

Return one page of messaging campaigns registered for a Surge account.

List Contacts

Return one page of contacts for a Surge account, including IDs, phone numbers, names, messaging status, and metadata.

List Messages

Return one page of sent and received messages for a Surge account with status, body, conversation, attachment, failure, and metadata details.

List Phone Numbers

Return one page of phone numbers already assigned to a Surge account, including type, display name, metadata, and campaign attachment details.

List Recordings

Return one cursor-paginated page of call recordings for a Surge account.

List Toll-Free Campaigns

Return one cursor-paginated page of toll-free campaigns for a Surge account.

List Users

Return one cursor-paginated page of users belonging to a Surge account.

Purchase Phone Number

Purchase a Surge phone number for an account.

Release Phone Number

Irreversibly release a phone number from the Surge account so it can no longer be used there.

Resend Brand Verification OTP

Enqueue an external SMS containing a brand-verification one-time password for a sole-proprietor Surge account awaiting identity verification.

Retrieve Account Usage

Return priced Surge usage for an account over an inclusive-start, exclusive-end UTC window of at most 90 days.

Send Blast

Create a Surge blast that performs an irreversible bulk external SMS/MMS send, immediately or at send_at.

Send Message

Create and enqueue an external SMS or MMS through Surge, immediately or up to 60 days in the future.

Unblock Contact

Remove an account-level phone-number block.

Update Account

Update an account's internal name, public-facing brand name, legal organization details, or headquarters time zone.

Update Campaign

Update supplied campaign registration fields and resubmit the campaign for carrier review.

Update Contact

Update a Surge contact's phone number, email, name, metadata, or outbound messaging setting.

Update Phone Number

Update any supplied phone-number fields and resubmit an empty body when no fields are supplied.

Update Toll-Free Campaign

Update a toll-free campaign awaiting customer fixes and resubmit the paid registration for carrier review.

Update User

Update a Surge user's documented profile fields.

FRAMEWORKS

How to build Surge MCP Agent with another framework

FAQ

Frequently asked questions

Start with Surge.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Surge tool your agent needs.Free to start.

Start building