← Integrations
Cu

Cursor

Cursor is an AI-powered code editor. Add CalendarMCP to Cursor's MCP settings and your agent can read and write your Google Calendar from inside the editor.

Before you start

Get your API key from calendarmcp.ai/app. You'll also need Cursor version 0.45 or later for MCP support.

Setup steps

Option A: Cursor Settings UI
  1. 1. Open Cursor → Settings → Cursor Settings
  2. 2. Click the MCP tab
  3. 3. Click Add MCP Server
  4. 4. Enter the server config below
Option B: Edit config file directly

Open ~/.cursor/mcp.json (create it if needed) and add:

{
  "mcpServers": {
    "calendar": {
      "url": "https://calendarmcp.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer cal_your_api_key"
      }
    }
  }
}
Reload Cursor

Use Cmd+Shift+PDeveloper: Reload Window, or close and reopen Cursor. The calendar server should appear in your MCP servers list with a green dot.

Project-level config

To scope CalendarMCP to a specific project, create .cursor/mcp.json at the project root. Cursor merges project-level config with global config.

{
  "mcpServers": {
    "calendar": {
      "url": "https://calendarmcp.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer cal_your_api_key"
      }
    }
  }
}

Test it

Open Cursor Composer or Agent and try:

  • What's on my calendar this week?
  • Schedule a code review for Friday at 3pm
  • Find a free hour tomorrow for a design sync