Skip to main content
Glama
SMFAHAD1

MCP Calendar Server for Cursor

by SMFAHAD1

📅 MCP Calendar Server for Cursor

A Node.js Model Context Protocol server that lets Cursor's AI agent read your Google Calendar.

Node MCP Google Calendar License


✨ Overview

This project exposes calendar data to Cursor through the Model Context Protocol (MCP). Once connected, you can ask Cursor's Agent things like "What's on my calendar this week?" and it will call this server to find out.

Related MCP server: Google Calendar MCP Server

🚀 Quick Start

Variable

Description

GOOGLE_PUBLIC_API_KEY

Google Cloud API key with the Google Calendar API enabled

CALENDAR_ID

The ID of the calendar to read (must be public for API-key access)

🔑 Create a key in the Google Cloud Console and restrict it to the Calendar API.

🔌 Connect to Cursor

  1. Copy mcp.example.json into your Cursor config (~/.cursor/mcp.json for global, or .cursor/mcp.json per project).

  2. Replace the path and placeholder values.

  3. Restart Cursor and switch to Agent mode.

{
  "mcpServers": {
    "MyCalendarData": {
      "command": "node",
      "args": ["/absolute/path/to/MCP_Server.js"],
      "env": {
        "GOOGLE_PUBLIC_API_KEY": "<your-api-key>",
        "CALENDAR_ID": "<your-calendar-id>"
      }
    }
  }
}

🔒 Security

  • Never commit .env or real keys. Both are git-ignored.

  • Restrict your Google API key (API restrictions + optional IP/app restrictions).

  • Rotate any key that was ever pushed to a public repository.

📄 License

Released under the MIT License.

Related MCP Connectors

Related MCP Servers