# Saperly MCP

```json
{
  "name": "Saperly MCP",
  "slug": "saperly_mcp",
  "url": "https://composio.dev/toolkits/saperly_mcp",
  "markdown_url": "https://composio.dev/toolkits/saperly_mcp.md",
  "logo_url": "https://logos.composio.dev/api/saperly_mcp",
  "categories": [
    "collaboration & communication"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-10-29T05:34:36.242Z"
}
```

![Saperly MCP logo](https://logos.composio.dev/api/saperly_mcp)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Saperly MCP or direct API to manage phone numbers, configure connections, handle calls, send SMS, and review usage through natural language.

## Summary

Saperly MCP is an official MCP server for managing Saperly phone numbers, connections, calls, SMS, and usage.
It gives developers scoped workspace access through a single API key.

## Categories

- collaboration & communication

## Toolkit Details

- Tools: 24

## Images

- Logo: https://logos.composio.dev/api/saperly_mcp

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Saperly MCP.
  - Setup:
    - Configure Api Key credentials for Saperly MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List active Saperly phone numbers
- Review Saperly call usage this month
- Send an SMS from my Saperly number

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SAPERLY_MCP_ASSIGN_NUMBER_CONNECTION` | Assign number connection | Attach a connection (the handler that answers calls) to a number — i.e. configure the line. |
| `SAPERLY_MCP_CREATE_CONNECTION` | Create connection | Create a connection. hosted = an in-network AI assistant; manual = your own brain via BYO-LLM. |
| `SAPERLY_MCP_DELETE_CONNECTION` | Delete connection | Delete a connection. |
| `SAPERLY_MCP_GET_CALL` | Get call | Fetch one call record by its Saperly id. |
| `SAPERLY_MCP_GET_CONNECTION` | Get connection | Fetch one connection by its Saperly id. |
| `SAPERLY_MCP_GET_NUMBER` | Get number | Fetch one phone number by its Saperly id. |
| `SAPERLY_MCP_GET_USAGE` | Get usage | Summarize calls, messages, and the current balance for this workspace. |
| `SAPERLY_MCP_LIST_CALLS` | List calls | List the calls in this workspace. |
| `SAPERLY_MCP_LIST_CONNECTIONS` | List connections | List the connections (call/message handlers) configured in this workspace. |
| `SAPERLY_MCP_LIST_CUSTOM_VOICES` | List custom voices | List this workspace’s private voices and their processing status. Upload recordings through the dashboard or multipart POST /custom-voices. Only active voices can be selected. |
| `SAPERLY_MCP_LIST_MESSAGES` | List messages | List SMS messages in this workspace, optionally filtered to one number. |
| `SAPERLY_MCP_LIST_NUMBERS` | List numbers | List the active phone numbers (lines) provisioned in this workspace. |
| `SAPERLY_MCP_LIST_VOICES` | List voices | List stock voices and ready private voices. Pass an id as voiceId to create_connection or update_connection. Upload recordings in the dashboard or POST /custom-voices (multipart); private voices are hosted-only. |
| `SAPERLY_MCP_PLACE_CALL` | Place call | Dial an outbound call from one of your numbers. The connection answers it. |
| `SAPERLY_MCP_PROVISION_NUMBER` | Provision number | Order a new phone number and add it to this workspace. Charges the prepaid balance. The first number needs no card; provisioning a SECOND number requires a saved payment method on file (otherwise it fails with PaymentMethodRequired). |
| `SAPERLY_MCP_RELEASE_NUMBER` | Release number | Release a phone number and stop billing it. |
| `SAPERLY_MCP_SEARCH_AVAILABLE_NUMBERS` | Search available numbers | Search available inventory for numbers available to provision, priced for this workspace. |
| `SAPERLY_MCP_SEND_SMS` | Send sms | Send an SMS from one of your numbers. |
| `SAPERLY_MCP_SET_CALLER_ID_NAME` | Set caller id name | Set (or clear) a line’s outbound CALLER ID NAME — the 1–15 letter/number/space display name (CNAM) shown alongside the number on the called party’s phone. Unlike the SMS sender name this is NOT free per-call text: it’s a listing registered to the number, so display is best-effort (the recipient’s carrier decides via a CNAM dip; mainly US & Canada, and it takes time to propagate — many mobile carriers may not show it). Pass an empty string or null to clear it (show the bare number). A bad value returns InvalidCallerIdName. Line-reconfiguration, so a number-scoped key is bounded to its allow-list. |
| `SAPERLY_MCP_SET_SMS_SENDER` | Set sms sender | Set (or clear) a line’s alphanumeric SMS sender name — the 1–11 letter/number label recipients see as the “from” on INTERNATIONAL SMS only. US & Canada carriers don’t allow alphanumeric senders, so US/Canada recipients always see the phone number. It is one-way (recipients can’t reply to a name). Pass an empty string or null to clear it (revert to sending from the phone number). A bad value returns InvalidSmsSenderId. Line-reconfiguration, so a number-scoped key is bounded to its allow-list. |
| `SAPERLY_MCP_SPEAK_INTO_CALL` | Speak into call | Speak a line into a live call. NOTE: out-of-band speech injection is not available — the carrier owns the in-network audio loop and only pulls the brain on a caller turn. In manual mode the agent speaks by REPLYING on its turn (the BYO-LLM / agent-as-channel path); Saperly never holds the media path. |
| `SAPERLY_MCP_SYNC_CONNECTION` | Sync connection | Reconcile a connection — create/update its assistant and mint its manual-mode secret. |
| `SAPERLY_MCP_TRANSFER_CALL` | Transfer call | Blind-transfer a live call to another destination — an E.164 phone number or a sip: URI. A Call Control action (signaling only): the carrier re-bridges the leg to the destination; Saperly never touches the audio (the no-media rule). Works across every backend — hosted, manual, and openai_realtime — because it acts on the call’s bound carrier leg. Returns CallStartFailed if the call has no live leg or the carrier transfer fails. |
| `SAPERLY_MCP_UPDATE_CONNECTION` | Update connection | Update a connection’s name, instructions, compliance/disclosure — or switch its mode between hosted (an in-network AI assistant) and manual (your own brain via BYO-LLM). A mode switch reconciles automatically. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Saperly MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["saperly_mcp"])
tools = session.tools()
```

```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: ["saperly_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Saperly MCP tools with your agent

Send a request, execute the Saperly MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "List all active Saperly phone numbers in my workspace"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all active Saperly phone numbers in my workspace" }],
});

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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Saperly MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["saperly_mcp"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["saperly_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Saperly MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Saperly MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("List all active Saperly phone numbers in my workspace")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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: "List all active Saperly phone numbers in my workspace",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Saperly MCP Integration

- Supports both Saperly MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable phone, call, SMS, and usage operations
- Rich coverage for managing workspace communications and Saperly resources

### 2. Managed Auth

- Securely store and use your scoped Saperly workspace API key
- Central place to manage, scope, and revoke Saperly access
- Per user and per environment credentials instead of hard-coded keys

### 3. 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

### 4. Enterprise Grade Security

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

## Use Saperly MCP with any AI Agent Framework

Choose a framework you want to connect Saperly MCP with:

- [ChatGPT](https://composio.dev/toolkits/saperly_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/saperly_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/saperly_mcp/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/saperly_mcp/framework/atomic-agent)

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [2chat](https://composio.dev/toolkits/_2chat) - 2chat is an API platform for WhatsApp and multichannel text messaging. It streamlines chat automation, group management, and real-time messaging for developers.
- [Aircall](https://composio.dev/toolkits/aircall) - Aircall is a cloud-based phone and call-center platform for business communications. It centralizes calls, contacts, teams, numbers, and tags in one place.
- [Android Texter](https://composio.dev/toolkits/android_texter) - Android Texter is an API service that connects Android phones to SMS, MMS, contacts, and device data. Use it to automate mobile messaging without building your own phone-to-API bridge.
- [Blooio](https://composio.dev/toolkits/blooio) - Blooio is a stable v2 API platform for messaging, chats, contacts, groups, phone numbers, and account analytics. It gives teams a clean way to build reliable communication workflows without stitching together fragile custom APIs.
- [Callback24](https://composio.dev/toolkits/callback24) - Callback24 is a telephony API for managing phone calls, users, services, and routing groups. It centralizes call control and routing to automate voice workflows and operations.
- [CallOnTheGo](https://composio.dev/toolkits/callonthego) - CallOnTheGo is a telephony API for managing phone numbers, caller IDs, suppression lists, audio assets, contact lists, and Voice AI campaigns. It provides programmatic control over calling infrastructure and campaign automation for scalable voice outreach.
- [Carbon Voice MCP](https://composio.dev/toolkits/carbon_voice_mcp) - Carbon Voice MCP is a voice-first collaboration platform for messages, conversations, and workflows. Use it to centralize voice communications and streamline team collaboration.
- [CardClan](https://composio.dev/toolkits/cardclan) - CardClan is a digital card platform for creating and sending personalized team cards. Use it to celebrate moments, share card links, and manage card workflows without extra coordination.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Daily](https://composio.dev/toolkits/daily) - Daily is a WebRTC video and audio API platform for building rooms, meetings, recordings, live streams, transcriptions, and telephony. It gives developers reliable real-time media infrastructure without managing complex conferencing stacks.
- [Dailybot](https://composio.dev/toolkits/dailybot) - DailyBot streamlines team collaboration with chat-based standups, reminders, and polls. It keeps work flowing smoothly in your favorite messaging platforms.
- [Dialmycalls](https://composio.dev/toolkits/dialmycalls) - Dialmycalls is a mass notification service for sending voice and text messages to contacts. It helps teams and organizations quickly broadcast urgent alerts and updates.

## Frequently Asked Questions

### Do I need my own developer credentials to use Saperly MCP with Composio?

Yes, Saperly MCP requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
