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
相關伺服器
Kone.vc
贊助Monetize your AI agent with contextual product recommendations
Rodin3D Skills
A Skill for generating 3D models from single image, multiview images or text prompts using the Hyper3D Rodin Gen-2 API.
Outline
Interact with Outline, the open-source knowledge base and wiki, directly through your AI assistant.
Todoist
Manage your Todoist tasks and projects using the Todoist Python API.
WeRead
Access your WeChat Reading (微信读书) bookshelf, notes, highlights, and reviews.
Trello MCP Server
Uses a Trello board as a knowledge base to store and retrieve code snippets, notes, and other information.
Clarify Prompt MCP
An MCP server that transforms vague prompts into platform-optimized prompts for 58+ AI platforms across 7 categories — with support for registering custom platforms and providing markdown instruction files.
Odoo-MCP
Integrate with Odoo ERP systems to manage business data and operations. Requires external configuration for connection parameters.
Supernormal
Meeting context for your AI tools
AI Collaboration MCP Server
An MCP server for AI-to-AI collaboration, enabling autonomous workflows and role-based task management between different AI models.
Things3
Manage tasks and projects in Things3 on macOS.