messaging
MessageBird MCP Integration for OpenAI Agents SDK
Connect MessageBird to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect MessageBird to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
MessageBird MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |