Google Calendar MCP Server

Google Calendar MCP Server

Enables seamless Google Calendar integration with MCP-compatible clients, allowing creation, viewing, updating, and deletion of calendar events via OAuth 2.0 authentication.

Category
Visit Server

README

Google Calendar MCP Server

šŸ—“ļø A Model Context Protocol (MCP) server that enables seamless Google Calendar integration with MCP-compatible clients like Postman and Claude Desktop.

Repository: Google Calendar MCP Server

✨ Features

  • āœ… Create calendar events with location, time zones
  • šŸ“… View existing events and schedules
  • āœļø Update event details and timing
  • šŸ—‘ļø Delete unwanted events
  • šŸ” OAuth 2.0 authentication
  • šŸŒ Multi-timezone support

āš™ļø Prerequisites

  • Node.js v18+ (v20+ recommended)
  • npm package manager
  • Google Calendar API enabled in Google Cloud Console
  • OAuth 2.0 access token (not client ID/secret)

šŸš€ Quick Start

1. Clone & Install

git clone https://github.com/Sarthak2845/Google-Calender-MCP-Sever.git
cd Google-Calender-MCP-Sever
npm install

2. Get OAuth 2.0 Access Token

  1. Go to Google OAuth 2.0 Playground
  2. Select Calendar API v3 scopes
  3. Click Authorize APIs and sign in
  4. Click Exchange authorization code for tokens
  5. Copy the Access token (starts with ya29.)

3. Configure Environment

Create .env file:

# Replace with your actual OAuth 2.0 access token
ISTRUZI_API_KEY=ya29.a0AS3H6Ny...

4. Test the Server

node mcpServer.js

šŸ”§ Client Setup

šŸ“® Postman Desktop

  1. Open Postman Desktop
  2. Create new MCP request
  3. Set type to STDIO
  4. Command: node <path_to_your_project>/mcpServer.js
  5. Connect and test calendar operations

šŸ¤– Claude Desktop

  1. Open Claude Desktop settings
  2. Go to Developers → Edit Config
  3. Add server configuration:
{
  "mcpServers": {
    "postman-calendar": {
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": ["<path_to_your_project>\\mcpServer.js"]
    }
  }
}

Replace <path_to_your_project> with your actual project path, e.g.:

  • Windows: "D:\\my-projects\\Google-Calender-MCP-Sever\\mcpServer.js"
  • Mac/Linux: "/Users/username/Google-Calender-MCP-Sever/mcpServer.js"
  1. Restart Claude Desktop
  2. Verify server shows green (active) status

šŸ“ Example Usage

Create Event

{
  "method": "tools/call",
  "params": {
    "name": "create_calendar_event",
    "arguments": {
      "calendarId": "your-email@gmail.com",
      "eventData": {
        "summary": "Team Meeting",
        "start": {
          "dateTime": "2025-03-15T10:30:00+05:30",
          "timeZone": "Asia/Kolkata"
        },
        "end": {
          "dateTime": "2025-03-15T12:30:00+05:30",
          "timeZone": "Asia/Kolkata"
        },
        "location": "Conference Room A"
      }
    }
  }
}

āš ļø Important Notes

  • Access tokens expire after ~1 hour - refresh as needed
  • Use proper IANA timezone names (e.g., Asia/Kolkata, not IST)
  • Ensure end time is after start time to avoid errors
  • Calendar ID is typically your Gmail address

šŸ› Troubleshooting

Error Solution
Invalid Credentials Get fresh OAuth 2.0 access token
Time range is empty Check start time < end time
Node not found Install Node.js from nodejs.org
Server not connecting Verify absolute paths in config

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured