KosmoKrator

scheduling

Cal.com MCP Integration for Vercel AI SDK

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

6 functions 5 read 1 write Bearer token auth

Connect Cal.com 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.

Cal.com MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Cal.com 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.

Cal.com Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__cal__cal_list_event_types cal.cal_list_event_types Read List available event types (booking link templates) from Cal.com. Supports filtering by team and pagination.
integration__cal__cal_get_event_type cal.cal_get_event_type Read Get detailed information about a specific event type from Cal.com by its ID.
integration__cal__cal_list_bookings cal.cal_list_bookings Read List bookings from Cal.com with optional filtering by status, event type, and pagination.
integration__cal__cal_get_booking cal.cal_get_booking Read Get detailed information about a specific booking from Cal.com by its ID.
integration__cal__cal_create_booking cal.cal_create_booking Write Create a new booking in Cal.com for a specific event type. Provide the event type, start/end times, and attendee information.
integration__cal__cal_get_current_user cal.cal_get_current_user Read Get the authenticated Cal.com user's profile information, including name, email, and time zone.

Related Cal.com Pages