messaging
MessageBird MCP Integration for Vercel AI SDK
Connect MessageBird to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect MessageBird to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
MessageBird MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-messagebird": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=messagebird",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=messagebird --write=deny Why Use KosmoKrator Here
Expose only MessageBird instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
MessageBird Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the MessageBird integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__messagebird__messagebird_send_sms | messagebird.messagebird_send_sms | Write | Send an SMS message to one or more recipients via MessageBird. Specify a sender (originator), one or more phone numbers, and the message body. |
integration__messagebird__messagebird_get_message | messagebird.messagebird_get_message | Read | Retrieve details of a specific MessageBird message by its ID, including status, recipient info, and delivery timestamps. |
integration__messagebird__messagebird_list_messages | messagebird.messagebird_list_messages | Read | List sent and received messages from MessageBird. Supports filtering by status and direction, with pagination. |
integration__messagebird__messagebird_list_balance | messagebird.messagebird_list_balance | Read | Check your MessageBird account balance. Returns the available amount and payment type (prepaid or postpaid). |
integration__messagebird__messagebird_list_numbers | messagebird.messagebird_list_numbers | Read | List purchased phone numbers in your MessageBird account. Supports filtering by country code and number type. |
integration__messagebird__messagebird_get_current_user | messagebird.messagebird_get_current_user | Read | Get the current MessageBird account information, including balance and payment type. |