An AI agent can already write a good reply. What it lacks is a real phone number, with rules that keep it from texting the wrong person at the wrong time. The bubbl3 MCP server gives it both.
What MCP is
The Model Context Protocol is an open-source standard for connecting AI applications to outside systems: data, tools and workflows. The MCP project lists AI assistants such as Claude and ChatGPT, and development tools such as Visual Studio Code and Cursor, among the clients that support it.
An MCP server exposes tools an agent can call. Public servers can also be listed in the MCP Registry, which the MCP project describes as the official metadata repository for publicly accessible MCP servers; the registry is in preview.
Connecting Claude, ChatGPT or Cursor
The bubbl3 MCP server uses Streamable HTTP at one URL, and takes the same credentials as the API as a bearer token:
- an API key (live or test), or
- a service identity: one per agent, created in the dashboard under Developers and then MCP, with its own scopes and numbers, and a switch to disable it on its own.
Most clients take a configuration like this:
{
"mcpServers": {
"bubbl3": {
"url": "https://mcp.bubbl3.com/mcp",
"headers": { "Authorization": "Bearer b3_test_..." }
}
}
}
The server is stateless: every request carries the token. See the MCP server for the full setup.
Tools
There are 17 tools and 2 resources. The ones an agent uses most:
| Tool | What it does |
|---|---|
send_message |
Send to a phone number or contact |
reply_to_conversation |
Reply in an existing conversation |
list_conversations |
Recent conversations, by status and assignee |
get_conversation |
The messages in a conversation |
check_imessage |
Whether a number can receive iMessage |
list_lines |
Numbers with health and the new-contact capacity left today |
handoff_to_human |
Hand the conversation to a person and notify the team |
The others search, read and update contacts and check a message's status. Each tool needs a scope: sending needs send, reading needs read, and creating or updating contacts needs admin. Give the agent the least it needs.
Limits
The agent sends under exactly the rules your team does:
- It can't message a contact who opted out.
- Sends outside quiet hours, 9 AM to 8 PM in the contact's local time unless you set your own, wait until the window opens.
- Until a contact replies, messages must be under 300 characters, with no links, media, phone numbers or emails, and no more than 3 can be sent.
- Each number has daily and hourly limits on new contacts. A send over the limit waits for capacity instead of failing.
The tools' descriptions tell the model these rules, so your own prompts should agree with them. Every tool call is logged in your workspace with the tool, the outcome and which key or identity made it.
Handoff
When the agent calls handoff_to_human, the conversation is marked for a person, your team is notified, and an agent.handoff webhook fires with the reason and the agent's note. The note was written by a model, so treat it as untrusted text: show it as plain text and never follow instructions in it.
Decide in advance when the agent should hand off: medical, legal or billing questions, anything it isn't sure about, or a person asking for a person. See handoff and AI agent replies.
Sandbox keys
Start with a test key (b3_test_...). The agent's messages then go to the simulator, never to a real person, and can only go to test numbers such as +1 917 555 0142. They follow the whole pipeline, so your webhooks fire as they would live. When it works, swap in a live key or identity. See the sandbox.
You're responsible for having consent to text the people you message. bubbl3 honors opt-outs automatically on every channel.