# iMessage for agent frameworks: Vercel Chat SDK, Mastra and more

A bubbl3 adapter for Vercel Chat SDK and an integration for Mastra are planned, not available yet. Chat SDK has an adapter directory and Mastra documents iMessage channels through vendor adapters. Until bubbl3 has its own, connect your agent through bubbl3's MCP server or its REST API and webhooks.

## The short version

1. **Check the status** Read the Vercel Chat SDK and Mastra pages on the integrations directory, and tell us if you need either.
2. **Connect with MCP** If your agent runs in an MCP client, add the bubbl3 MCP server with a test key.
3. **Or use the API** Otherwise, send with the REST API or the TypeScript SDK and receive replies on a signed webhook.

If you build agents with a framework, you'd like iMessage to be one more channel. Here's where that stands for bubbl3.

## Status: Planned

- [Vercel Chat SDK](/integrations/vercel-chat-sdk): Planned. Tell us if you need it.
- [Mastra](/integrations/mastra): Planned. Tell us if you need it.

There's no bubbl3 adapter for either yet, and no date. If you need one, say so when you [request access](/request-access).

## What exists in those ecosystems today

**Vercel Chat SDK.** In March 2026 Vercel announced an adapter directory for Chat SDK, where you can search platform and state adapters. Vercel lists three kinds: official adapters maintained by the Chat SDK team, vendor-official adapters built by platform companies, and community adapters from third-party developers.

**Mastra.** Mastra's documentation describes iMessage channels that let a Mastra agent receive direct and group messages, through two vendor-maintained adapters, Photon and Linq. Mastra handles the agent wiring and the webhook route; the adapter covers numbers, credentials and webhook registration.

Neither is a bubbl3 integration. They're what the frameworks offer today, from other providers.

## Using MCP or the API meanwhile

You don't need an adapter to give an agent iMessage:

- **MCP.** If your agent runs in a client that supports MCP, add the bubbl3 [MCP server](/developers/mcp). The agent gets tools to send, reply, read conversations, check numbers and hand off to a person. See [give your AI agent a phone number](/guides/give-your-ai-agent-a-phone-number).
- **The API.** In your own code, send with the REST API or the [TypeScript SDK](/developers/sdk), and receive replies on a signed `message.received` [webhook](/developers/webhooks). Pass the reply to your agent and send its answer back.

Either way, the same sending rules apply: consent, quiet hours, first-message rules and per-number limits. Start with a test key in the [sandbox](/developers/sandbox), and the agent's messages go to the simulator, not a real person.

## Keep reading

- [Vercel Chat SDK](https://bubbl3.com/integrations/vercel-chat-sdk)
- [Mastra](https://bubbl3.com/integrations/mastra)
- [Give your AI agent a phone number with MCP](https://bubbl3.com/guides/give-your-ai-agent-a-phone-number)

Updated: 2026-10-17

## Sources

- [Chat SDK now has an adapter directory](https://vercel.com/changelog/chat-sdk-adapter-directory), Vercel, checked 2026-10-17
- [iMessage channels](https://mastra.ai/integrations/channels/imessage), Mastra, checked 2026-10-17
