trackmcp
Back to directory
PranayChowdhury00

MCP_SERVER

View on GitHub

MCP Google Calendar Integration

0 stars JavaScriptOthers Updated Jun 26, 2025

Documentation

๐Ÿ“… 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


๐Ÿš€ Getting Started

1. Clone the repository

bash
git clone https://github.com/your-username/mcp-calendar-tool.git
cd mcp-calendar-tool

2. Install dependencies

npm install

3. Create a .env file

GOOGLE_API_KEY=your_google_calendar_api_key

CALENDAR_ID=your_calendar_id_or_email

4. 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

Frequently asked questions

What is MCP_SERVER?

MCP_SERVER is MCP Google Calendar Integration

How do I install MCP_SERVER?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is MCP_SERVER open source?

Yes โ€” it is hosted on GitHub at https://github.com/PranayChowdhury00/MCP_SERVER.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP