KosmoKrator

other

Vonage MCP Integration for Vercel AI SDK

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

7 functions 6 read 1 write API key auth

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

Vonage MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Vonage Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__vonage__vonage_get_account_balance vonage.vonage_get_account_balance Read Get the current balance of your Vonage account.
integration__vonage__vonage_list_applications vonage.vonage_list_applications Read List Vonage applications configured on your account. Applications define how Vonage handles calls and messages.
integration__vonage__vonage_list_messages vonage.vonage_list_messages Read Search and list SMS messages from your Vonage account. Requires a date in YYYY-MM-DD format. Optionally filter by recipient number.
integration__vonage__vonage_list_numbers vonage.vonage_list_numbers Read List phone numbers purchased on your Vonage account. Optionally filter by pattern.
integration__vonage__vonage_send_sms vonage.vonage_send_sms Write Send an SMS message via Vonage. Provide sender, recipient, and message text. The recipient number must be in E.164 format (e.g., 14155552671).
integration__vonage__vonage_verify_check vonage.vonage_verify_check Read Check a verification code against a Vonage Verify request. Provide the request_id from the verification and the code entered by the user.
integration__vonage__vonage_verify_request vonage.vonage_verify_request Read Send a verification code to a phone number via Vonage Verify. Returns a request_id used to check the code later.

Related Vonage Pages