Surge MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Surge MCP or direct API to send text messages, manage contacts, organize phone numbers, and run campaigns through natural language.

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

Try Surge now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Surge
Try asking
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.

SETUP GUIDE

Connect Surge MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["surge"],
  mcp: true,
});
Create a session scoped to Surge and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Send a text message to +1-202-555-0147 saying the appointment is confirmed for tomorrow at 10 AM.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Surge request
SETUP GUIDE

Connect Surge API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["surge"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Surge
3

Run Surge tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Send a text message to +1-202-555-0147 saying the appointment is confirmed for tomorrow at 10 AM." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Surge tool calls through the session, and print the final answer

Why Use Composio?

AI Native Surge Integration

  • Supports both Surge MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Surge data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Surge access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Surge
  • Scoped, least privilege access to Surge resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Surge with any AI Agent Framework

Choose a Framework you want to connect Surge with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
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