KosmoKrator

productivity

Calendly MCP Integration for Vercel AI SDK

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

Calendly MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Calendly Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__calendly__calendly_list_event_types calendly.calendly_list_event_types Read List event types for a Calendly user or organization.
integration__calendly__calendly_get_event_type calendly.calendly_get_event_type Read Get a single Calendly event type by UUID.
integration__calendly__calendly_create_booking calendly.calendly_create_booking Write Create a booking in Calendly by generating a one-off event type with a scheduling URL for the invitee.
integration__calendly__calendly_list_bookings calendly.calendly_list_bookings Read List scheduled Calendly bookings (events) with optional filters.
integration__calendly__calendly_list_organizations calendly.calendly_list_organizations Read List Calendly organizations the authenticated user belongs to.
integration__calendly__calendly_list_users calendly.calendly_list_users Read List users (organization memberships) in a Calendly organization.
integration__calendly__calendly_get_current_user calendly.calendly_get_current_user Read Get the authenticated Calendly user profile.

Related Calendly Pages