KosmoKrator

productivity

Calendly MCP Integration for OpenAI Agents SDK

Connect Calendly to OpenAI Agents 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 OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Calendly MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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 OpenAI Agents

OpenAI Agents 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