KosmoKrator

email

Vero MCP Integration for Vercel AI SDK

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

6 functions 5 read 1 write API token auth

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

Vero MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Vero Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__vero__vero_get_current_user vero.vero_get_current_user Read Get the profile of the currently authenticated Vero user. Useful for verifying API connectivity and checking account details.
integration__vero__vero_identify_user vero.vero_identify_user Read Identify (create or update) a user in Vero. Pass a unique user ID, email, optional name, and any custom attributes in the data object. This creates the user if they don't exist, or updates their profile if they do.
integration__vero__vero_resubscribe vero.vero_resubscribe Read Resubscribe a previously unsubscribed user to Vero email campaigns. The user will start receiving emails again.
integration__vero__vero_track_event vero.vero_track_event Read Track a behavioral event for a user in Vero. Events can trigger automated email campaigns. Pass a user identity (ID or email), event name, and optional event data.
integration__vero__vero_unsubscribe vero.vero_unsubscribe Read Unsubscribe a user from all Vero email campaigns. The user will no longer receive any email communication.
integration__vero__vero_update_user vero.vero_update_user Write Update a user's profile in Vero. Pass the user ID, an optional new email, and a data object with attributes to update.

Related Vero Pages