KosmoKrator

productivity

AddEvent MCP Integration for Vercel AI SDK

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

7 functions 6 read 1 write Bearer token auth

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

AddEvent MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

AddEvent Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__addevent__addevent_list_events addevent.addevent_list_events Read List calendar events from AddEvent. Supports pagination with limit and page parameters, and optional filtering by category ID.
integration__addevent__addevent_get_event addevent.addevent_get_event Read Get details for a specific AddEvent calendar event by ID.
integration__addevent__addevent_create_event addevent.addevent_create_event Write Create a new calendar event in AddEvent. Requires a title, start date, and end date. Optionally add a location, description, and category.
integration__addevent__addevent_list_categories addevent.addevent_list_categories Read List all event categories in AddEvent. Use category IDs to organize and filter events.
integration__addevent__addevent_list_groups addevent.addevent_list_groups Read List event groups from AddEvent. Groups are collections of related events. Supports pagination with limit and page parameters.
integration__addevent__addevent_get_group addevent.addevent_get_group Read Get details for a specific AddEvent event group by ID.
integration__addevent__addevent_get_current_user addevent.addevent_get_current_user Read Get the profile of the currently authenticated AddEvent user. Useful for verifying credentials and displaying account information.

Related AddEvent Pages