MCP_Server

MD-Junayed000/MCP_Server

3.2

If you are the rightful owner of MCP_Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Calendar MCP Server is designed to integrate calendar functionalities into the Cursor application, allowing users to fetch and manage calendar events seamlessly.

Tools
1
Resources
0
Prompts
0

Calendar MCP Server

An MCP (Model Context Protocol) server that provides calendar integration for Cursor.

Setup

  1. Install dependencies (already done):

    npm install
    npm init -y
    npm install @modelcontextprotocol/sdk@latest dotenv node-ical zod
    
  2. Create environment file: Create a .env file in the project root with your calendar URL:

    CALENDAR_ICS_URL=https://calendar.google.com/calendar/ical/YOUR_CALENDAR_ID/public/basic.ics
    
  3. Get your Google Calendar ICS URL:

Running the Server

npm start

Or directly:

node server.js

then in cursor>>settings>>Tool and Intregations:

click custom MCP server and

{
  "mcpServers": {
    "myCalenderDate": {
      "command": "node",
      "args": [
        "C:\\Users\\ASUS\\Desktop\\Learn\\cursor_add_calender\\server.js"
      ],
      "env": {
        "CALENDAR_ICS_URL": "https://calendar.google.com/calendar/ical/YOUR_CALENDAR_ID/public/basic.ics"
      }
    }
  }
} 


Available Tools

  • getMyCalendarDataByDate: Fetches calendar events for a specific date (YYYY-MM-DD format)

Troubleshooting

  • ES Module Error: Make sure "type": "module" is in package.json (already fixed)
  • Calendar URL Error: Ensure your .env file has a valid CALENDAR_ICS_URL
  • No Events: Check if your calendar has events for the requested date

Example Usage

The server provides a tool that can be called with a date parameter to get calendar events for that specific date.