KosmoKrator

messaging

MessageBird MCP Integration for Claude Agent SDK

Connect MessageBird to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write API key auth

Connect MessageBird to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

MessageBird MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only MessageBird instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

MessageBird Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the MessageBird integration catalog.

MCP toolSource functionTypeDescription
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.

Related MessageBird Pages