Developer Platform

Build with scheduling infrastructure

Add calendar scheduling to any AI agent or product. 18 tools, atomic booking, cross-provider merging — accessible via MCP, REST, or agent frameworks. Your agent schedules reliably so you don't have to build the plumbing.

Why Temporal Cortex for developers?

Scheduling looks simple until you handle timezones, recurring events, race conditions, and multiple providers. We solved all of it.

Tool Architecture

18 MCP Tools

Organized in 5 layers — discovery, temporal context, calendar operations, availability, and booking. Each layer builds on the one below. Your agent picks the tools it needs.

L0 Discovery L1 Temporal L2 Calendar L3 Availability L4 Booking

Reliability

Atomic Booking (2PC)

Two-Phase Commit prevents double-bookings. Lock the slot, verify no conflicts, write the event, release the lock. If any step fails, everything rolls back automatically.

Lock Verify Write Release

Interoperability

Cross-Provider Merging

Google Calendar, Outlook, and CalDAV in one unified view. A single find_free_slots call merges availability across all connected calendars.

Google Outlook CalDAV

Get started in 4 steps

From zero to scheduling in under 2 minutes. No API keys required for local mode.

1

Install the MCP server

One command downloads and runs the binary. Works on macOS, Linux, and Windows.

npx @temporal-cortex/cortex-mcp
2

Authenticate with your calendar

Connect Google, Outlook, or CalDAV via OAuth. Credentials stay local on your machine.

npx @temporal-cortex/cortex-mcp auth google
3

Your agent gets 18 tools

Add the MCP server to your agent's config. It immediately discovers all 18 tools across 5 layers — temporal context, calendar ops, availability, and booking.

// claude_desktop_config.json
{
  "mcpServers": {
    "temporal-cortex": {
      "command": "npx",
      "args": ["@temporal-cortex/cortex-mcp"]
    }
  }
}
4

Agent schedules reliably

Your agent resolves "next Tuesday at 3pm" to an exact timestamp, finds free slots across all calendars, and books atomically with Two-Phase Commit. No hallucinated times.

resolve_datetime("next Tuesday at 3pm")
// → "2026-03-17T15:00:00-07:00"

find_free_slots({ date: "2026-03-17", duration_minutes: 30 })
// → slots: [09:00–10:30, 14:00–17:00]

book_slot({ calendar_id: "primary", start: "...", end: "..." })
// → status: booked (2PC: lock → verify → write → release)

Works with your agent framework

Temporal Cortex integrates with any MCP-compatible framework. Here are patterns for the most popular ones.

LangGraph

Use MultiServerMCPClient for tool discovery. Build reactive agents or multi-agent graphs with scheduling tools.

from langchain_mcp_adapters import (
    MultiServerMCPClient
)

async with MultiServerMCPClient(
  {"temporal-cortex": {
    "command": "npx",
    "args": [
      "@temporal-cortex/cortex-mcp"
    ]
  }}
) as client:
  tools = client.get_tools()
  agent = create_react_agent(
    llm, tools
  )

CrewAI

Add MCP tools to your crew's agents. The scheduling tools integrate as standard CrewAI tools.

from crewai import Agent, Task
from crewai_tools import MCPTool

scheduler = Agent(
  role="Scheduler",
  tools=[
    MCPTool(
      server="npx",
      args=[
        "@temporal-cortex/"
        "cortex-mcp"
      ]
    )
  ]
)

OpenAI Agents

Connect via the streamable HTTP transport. OpenAI Agents SDK discovers tools automatically.

from agents import Agent
from agents.mcp import (
    MCPServerStreamableHttp
)

server = MCPServerStreamableHttp(
  url="http://localhost:3001"
  "/mcp"
)
agent = Agent(
  name="Scheduler",
  mcp_servers=[server]
)

See full integration examples for all frameworks →

REST API for product embedding

Don't need MCP? Use the REST API to embed scheduling directly into your product. Standard HTTP endpoints with API key authentication.

Method Endpoint Description
GET /api/v1/calendars List all connected calendars across providers
POST /api/v1/availability Query merged availability across all calendars
POST /api/v1/bookings Create an atomic booking with Two-Phase Commit
GET /api/v1/events List events with filtering, pagination, and date ranges

View full API reference with request/response examples →

Start free. Scale when you're ready.

Local mode is free forever — no API keys, no sign-up. When you need multi-tenant scheduling, cross-user booking, or managed infrastructure, upgrade to a developer plan.

Add scheduling to your product today

One command. 18 tools. Atomic booking. Your agent handles scheduling — you handle everything else.