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
Server Terkait
Divide and Conquer
Breaks down complex tasks into manageable pieces and stores them in structured JSON.
WP-MCP
Manage and publish WordPress content directly from your AI assistant ā no PHP required. Supports both STDIO and Streamable HTTP for broad client compatibility.
Qingma Yizhan Auto Answer
An MCP server that provides an automatic answering function for the Qingma Yizhan platform.
Brandfolio - Make Your Brand Machine-Readable for AI
Your brand deserves consistency across every AI interaction. Brandfolio transforms your brand identity into a format that works with AI on every platform.
After Effects MCP
After Effects MCP is a full-featured automation bridge that connects AI clients (like VS Code, Claude Desktop, and Claude Code) to Adobe After Effects through MCP, enabling scripted control of compositions, layers, effects, keyframes/graph easing, presets, markers, audio levels, waveform analysis, and effect discovery via a live bridge panel.
Jira MCP Server
An MCP server for accessing JIRA issue data stored in Snowflake.
ZenHub
Access the ZenHub GraphQL API to manage project workflows and enhance productivity.
MCPComputerUse
A native C# MCP server for Windows automation using direct Windows API integration. It runs as a self-contained executable with no additional runtime required.
Linear MCP Server
A server for interacting with the Linear project management tool using the Linear API.
Mesh Scanner
A simple, self-contained notes system with resources, tools, and prompts, implemented as an MCP server.