# How to connect Saperly to Grok Bot

```json
{
  "title": "How to connect Saperly to Grok Bot",
  "toolkit": "Saperly MCP",
  "toolkit_slug": "saperly_mcp",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/saperly_mcp/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/saperly_mcp/framework/grok-bot.md",
  "updated_at": "2026-11-14T06:01:08.068Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Saperly to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Saperly in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/saperly_mcp).

## Also integrate 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)

## TL;DR

Composio exposes 1,700+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,700+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Saperly MCP to Grok Bot

### Connecting Saperly to Grok Bot
Once Grok Bot is set up, you connect Saperly entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Saperly
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Saperly account
Back in the chat, ask your bot to connect to Saperly or give it any Saperly task.
For example, ask it to:
- "List active Saperly phone numbers"
- "Review Saperly call usage this month"
- "Send an SMS from your Saperly number"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Saperly account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Saperly through MCP without you sharing account credentials directly with the agent.

## What is the Saperly MCP server, and what's possible with it?

The Saperly MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Saperly account. It provides structured and secure access to your phone numbers, connections, calls, SMS, voices, and usage, so your agent can manage numbers, configure call handlers, place calls, send messages, and review communication activity on your behalf.
- Phone number management: Have your agent search available numbers, provision new lines, list current numbers, assign connections, set caller ID names, configure SMS sender names, or release numbers.
- Call handling and control: Let the agent list and retrieve calls, place outbound calls, speak into live calls, and transfer active calls to a phone number or SIP address.
- Connection setup: Direct your agent to create, update, sync, list, retrieve, or delete Saperly connections, including changing their mode and call instructions.
- SMS communication: Instruct your agent to send SMS messages from your Saperly numbers and review messages, including messages associated with a specific number.
- Voice and usage monitoring: Have your agent list available voices and private custom voices, then check workspace call, message, and balance usage.

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

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Saperly MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Saperly is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Saperly MCP Agent with another framework

- [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.
- [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.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [AgentPhone](https://composio.dev/toolkits/agentphone) - AgentPhone is a communications platform for AI-powered phone numbers, voice calls, messaging, and WhatsApp. It helps you manage agent conversations, contacts, webhooks, and usage from one place.
- [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.
- [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

### What are the differences in Tool Router MCP and Saperly MCP?

With a standalone Saperly MCP server, the agents and LLMs can only access a fixed set of Saperly tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Saperly and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Saperly tools.

### Can I manage the permissions and scopes for Saperly while using Tool Router?

Yes, absolutely. You can configure which Saperly scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Saperly data and credentials are handled as safely as possible.

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