Who this is for

This page is for developers building custom AI agents, automation scripts, or workflow tools that need to access Calen360 data programmatically — not through an IDE like Claude Code or Cursor. If you’re working inside an AI coding assistant, see Connecting Claude Code instead.

Authentication for custom agents

Custom agents authenticate using an API key — no browser-based OAuth flow required.
1

Create an API token

In app.calen360.com, go to Settings → API Tokens → New Token.Give it a meaningful name (e.g. “Weekly digest agent”) and choose the access level:
  • Read-only for analytics, reporting, and data-fetching agents
  • Read + Write for agents that create or modify bookings
2

Store it securely

Copy the token immediately — it’s only shown once. Store it in an environment variable or your secrets manager. Never hardcode it in source files.
3

Pass it as a Bearer token

When connecting to the MCP endpoint, include the token in your Authorization header:

Transport options

Calen360 MCP supports two transport modes. Choose based on how your agent works:
If you’re not sure which to use, start with Streamable HTTP (/mcp). It’s the modern default and most current MCP client libraries use it out of the box.

Example use cases

An agent that runs each morning, fetches your upcoming bookings for the day, checks for schedule gaps, and posts a formatted digest to a Slack channel.Tools used: list_bookings, get_schedule_gapsScope needed: read:mcp
An agent triggered after each meeting ends. It fetches the transcript, retrieves extracted action items, and sends a structured summary to your CRM or a Notion page.Tools used: get_transcript, get_meeting_summary, extract_action_itemsScope needed: read:mcp
A scheduled script that pulls no-show data for the past 7 days, breaks it down by event type, and emails a report to your team.Tools used: get_no_show_summary, list_event_typesScope needed: read:mcp
A customer-facing chatbot that checks available slots for a specific event type and answers questions like “When can I book a demo this week?”Tools used: get_available_slots, get_event_typeScope needed: read:mcp
A more advanced agent that checks availability, proposes a time to the user, creates the booking on confirmation, and sends a custom follow-up message.Tools used: get_available_slots, create_bookingScope needed: write:mcpThis agent requires an approval step — see the section below.

Scope recommendation

Only request write:mcp if your agent genuinely needs to create or modify data. Read-only agents are simpler to audit and carry less risk.

Building an approval-aware agent

If your agent uses write tools, you must implement an approval step in your own interface. The Calen360 MCP server enforces this — write tools will not execute until the calling agent signals that the user has confirmed. Here is the pattern to follow:
1

Agent determines the action needed

Based on the user’s input or the automation’s logic, the agent identifies a specific write action to take — for example, cancelling a booking or creating a new one.
2

Describe the action to the user

Before calling the write tool, present the action clearly in your UI. Be specific: include the booking title, guest name, date and time, or any other relevant detail.Example: “I’m about to cancel the booking with Alice Smith on 15 July at 2:00 PM. Confirm?”
3

Wait for confirmation

Display a button, send a reply prompt, or use whatever confirmation mechanism fits your interface. Wait for an explicit yes or no.
4

Execute or abort

  • If the user confirms: call the write tool. The action executes immediately.
  • If the user declines: skip the tool call and continue the workflow.
5

Show the result

After a successful write action, display a confirmation to the user — what was done, and any relevant details (e.g. a new booking’s confirmation link).
Do not call write tools without a preceding user confirmation step. Approved actions execute immediately and cannot be undone programmatically.

Combining tools in a single agent prompt

One of the strengths of MCP is that an agent can call multiple tools in sequence within a single workflow. You don’t need to orchestrate tool calls manually — describe the goal and let the agent handle it. For example, a single agent prompt can:
  1. Fetch bookings from the past 30 days (list_bookings)
  2. Filter those with no-show status (list_bookings with status filter)
  3. Pull transcript summaries for those that had transcripts (get_meeting_summary)
  4. Summarise the patterns and format a digest
The agent handles all the tool calls in sequence and returns a single, coherent output.
Combine find_meetings_about with ask_about_meeting for richer research workflows — find the relevant meetings first, then drill into each one for a detailed answer.