MCP Google Calendar Integration
Integrates with the Google Calendar API to fetch calendar events for a given date.
📅 MCP Google Calendar Integration
This project is a Model Context Protocol (MCP) tool that connects with the Google Calendar API to fetch calendar events for a given date. It integrates seamlessly with AI-driven editors like Cursor to enhance your productivity by bringing live calendar data right into your coding environment.
🔧 Features
- 📆 Get calendar events for a specific date
- ⚡ Real-time integration using MCP
- 🧠 Natural language tool commands from inside your editor
- ✅ Simple schema validation using
zod - 🔒 Uses environment variables to keep sensitive info secure
📁 Project Structure
/MCP_SERVER │ ├── server.js # MCP server setup and calendar tool ├── .env # Environment variables (not committed) ├── package.json # Dependencies and scripts └── .mcp # MCP configuration file
📦 Technologies Used
@modelcontextprotocol/sdk– MCP server and transportgoogleapis– Google Calendar API clientzod– Input validationdotenv– Load.envfiles
🚀 Getting Started
1. Clone the repository
git clone https://github.com/your-username/mcp-calendar-tool.git
cd mcp-calendar-tool
- Install dependencies npm install
- Create a .env file GOOGLE_API_KEY=your_google_calendar_api_key CALENDAR_ID=your_calendar_id_or_email
- Run the server npm start
Usage Example (in Cursor)
🛠 MCP Configuration (.mcp)
{ "mcpServers": { "myCalenderData": { "command": "node", "args": ["server.js"], "env": { "GOOGLE_API_KEY": "your_api_key_here", "CALENDAR_ID": "your_calendar_id_here" } } } }
🔐 Notes on API Access
Make sure the Google Calendar API is enabled in your Google Cloud Console.
The calendar should be public or shared properly if using an API key.
🧭 Future Improvements
Add OAuth2 authentication for multiple users
Support recurring events and event descriptions
Integrate Google Tasks and reminders
📄 License
This project is open-source and available under the MIT License.
🙋♂️ Author
Pranay Chowdhury Frontend Developer | MERN Stack Enthusiast LinkedIn • GitHub
Serveurs connexes
Email MCP for Gmail, iCloud and microsoft
Organize, flag, read, delete, and clean email with AI.
Odoo MCP Server
An MCP server that provides direct access to Odoo ERP system capabilities.
Backcast MCP Server
The Outcome Backcasting MCP is a strategic planning tool that helps you work backwards from a desired future outcome to identify the specific steps, resources, and dependencies needed to achieve your goals. Unlike traditional forward planning, backcasting starts with your end goal and creates a reverse roadmap to get there.
MCP Video Converter Server
Convert video files between various formats using FFmpeg. Requires FFmpeg to be installed on the system.
Feishu/Lark OpenAPI MCP
Connect AI agents with the Feishu/Lark platform for automation, including document processing, conversation management, and calendar scheduling.
Cursor Task Manager
An MCP server for task management, time tracking, and workflow automation, integrated with Cursor IDE and a Directus backend.
Todoist
Manage tasks and projects on Todoist using natural language.
AppleScript BB MCP Server
Enables LLM clients to interact with macOS applications through AppleScript. Built using the @beyondbetter/bb-mcp-server library, this server provides safe, controlled execution of predefined scripts with optional support for arbitrary script execution.
SilverBullet MCP Server
An MCP server that enables LLMs and other clients to interact with your SilverBullet notes and data.
Geomanic
Privacy-first GPS tracking companion. Query travel statistics, manage waypoints, track countries visited, and analyze distances and speeds through natural language. Free, GDPR compliant.