KosmoKrator

communication

Sinch MCP Integration for Vercel AI SDK

Connect Sinch to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API token auth

Connect Sinch 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.

Sinch MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "mcpServers": {
    "kosmokrator-sinch": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=sinch",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=sinch --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Sinch 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.

Sinch Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Sinch integration catalog.

MCP toolSource functionTypeDescription
integration__sinch__sinch_get_group sinch.sinch_get_group Read Get details for a specific group in your Sinch account.
integration__sinch__sinch_get_phone_number sinch.sinch_get_phone_number Read Get details for a specific phone number in your Sinch account.
integration__sinch__sinch_list_batches sinch.sinch_list_batches Read List all message batches in your Sinch account with pagination.
integration__sinch__sinch_list_groups sinch.sinch_list_groups Read List all groups in your Sinch account with pagination.
integration__sinch__sinch_list_messages sinch.sinch_list_messages Read List inbound and outbound SMS messages from Sinch. Supports filtering by direction, recipient, sender, and date range.
integration__sinch__sinch_list_phone_numbers sinch.sinch_list_phone_numbers Read List all rented phone numbers in your Sinch account with pagination.
integration__sinch__sinch_send_sms sinch.sinch_send_sms Write Send an SMS message to one or more recipients via Sinch. Requires sender phone number, recipient(s), and message body.

Related Sinch Pages