T

Temporal Cortex MCP

by temporal-cortex · io.github.temporal-cortex/mcp

Calendar MCP server with atomic booking, conflict prevention, deterministic RRULE expansion, and TOON token compression for AI agents.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-temporal-cortex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@temporal-cortex/cortex-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_OAUTH_CREDENTIALS": "<VALUE>",
        "MICROSOFT_CLIENT_ID": "<VALUE>",
        "MICROSOFT_CLIENT_SECRET": "<YOUR_VALUE>",
        "TIMEZONE": "<VALUE>",
        "WEEK_START": "monday",
        "TENANT_ID": "<VALUE>",
        "LOCK_TTL_SECS": "30",
        "OAUTH_REDIRECT_PORT": "8085",
        "HTTP_PORT": "<VALUE>",
        "HTTP_HOST": "127.0.0.1",
        "ALLOWED_ORIGINS": "<VALUE>",
        "TEMPORAL_CORTEX_TELEMETRY": "<VALUE>",
        "REDIS_URLS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GOOGLE_CLIENT_ID No Google OAuth Client ID from Cloud Console
GOOGLE_CLIENT_SECRET secret No Google OAuth Client Secret
GOOGLE_OAUTH_CREDENTIALS No Path to Google OAuth JSON credentials file (alternative to CLIENT_ID + CLIENT_SECRET)
MICROSOFT_CLIENT_ID No Azure AD app ID (required for Outlook Calendar)
MICROSOFT_CLIENT_SECRET secret No Azure AD client secret (required for Outlook Calendar)
TIMEZONE No IANA timezone (e.g., America/New_York). Overrides OS detection.
WEEK_START No Week start day: 'monday' (default, ISO 8601) or 'sunday'. Overrides stored config. Default: monday
TENANT_ID No UUID for tenant isolation
LOCK_TTL_SECS No Lock time-to-live in seconds for Two-Phase Commit booking Default: 30
OAUTH_REDIRECT_PORT No Port for the local OAuth callback server Default: 8085
HTTP_PORT No Port for HTTP transport. When set, enables streamable HTTP mode instead of stdio.
HTTP_HOST No Bind address for HTTP transport. Use 0.0.0.0 only behind a reverse proxy. Default: 127.0.0.1
ALLOWED_ORIGINS No Comma-separated allowed Origin headers for HTTP mode
TEMPORAL_CORTEX_TELEMETRY No Override telemetry consent: 'off' to disable, 'on' to enable anonymous usage analytics.
REDIS_URLS No Comma-separated Redis URLs for distributed locking (optional, uses in-memory locks if unset)

Similar servers