trackmcp
Back to directory
Avik-creator

googlecalendarMCP

View on GitHub
2 stars PythonDeveloper Kits Updated May 15, 2025

Documentation

Google Calendar Integration Project

smithery badge

This project provides integration with Google Calendar API to manage and interact with calendar events programmatically.

Prerequisites

  • Python 3.8 or higher
  • Google Cloud Platform account
  • Google Calendar API enabled
  • OAuth 2.0 credentials configured

Setup Instructions

Installing via Smithery

To install Google Calendar Integration Project for Claude Desktop automatically via Smithery:

bash
npx -y smithery install @Avik-creator/googlecalendarMCP --client claude

Manual Installation

1. Clone the Repository

bash
git clone https://github.com/Avik-creator/googlecalendarMCP
   cd googlecalendarMCP

2. Set Up Virtual Environment

bash
python -m venv venv
   source venv/bin/activate  # On Windows, use `venv\Scripts\activate`

3. Install Dependencies

bash
pip install -r requirements.txt

4. Google Cloud Platform Setup

a. Go to the Google Cloud Console

b. Create a new project or select an existing one

c. Enable the Google Calendar API

d. Create OAuth 2.0 credentials:

    5. Environment Variables

    Create a `.env` file in the project root with the following variables:

    code
    GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json
       CALENDAR_ID=your_calendar_id@group.calendar.google.com

    Usage

    1. First-time Authentication

    bash
    python auth.py

    This will open a browser window for OAuth authentication. Follow the prompts to authorize the application.

    2. Running the Application

    bash
    python main.py

    Features

    • Create, read, update, and delete calendar events
    • Set up recurring events
    • Manage event attendees
    • Handle event notifications and reminders

    Project Structure

    code
    googlecalendarMCP/
    ├── auth.py              # Authentication handling
    ├── main.py             # Main application entry point
    ├── requirements.txt    # Project dependencies
    ├── .env               # Environment variables
    ├── credentials.json   # Google OAuth credentials
    └── token.json        # Generated OAuth token

    Dependencies

    The project uses the following main dependencies:

    • google-auth-oauthlib
    • google-auth-httplib2
    • google-api-python-client
    • python-dotenv

    Deployed Configuration:

    json
    {
      "mcpServers": {
        "google_calendar_mcp": {
          "command": "npx",
          "args": [
            "mcp-remote",
            "https://mcp-google-calendar.avikm744.workers.dev/sse"
          ]
        }
      }
    }

    Security Notes

    • Never commit your `credentials.json`, `token.json`, or `.env` file to version control
    • Keep your OAuth credentials secure
    • Regularly rotate your credentials and tokens

    Contributing

    1. Fork the repository

    2. Create a feature branch

    3. Commit your changes

    4. Push to the branch

    5. Create a Pull Request

    License

    This project is licensed under the MIT License - see the LICENSE file for details.

    Frequently asked questions

    What is googlecalendarMCP?

    googlecalendarMCP is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

    How do I install googlecalendarMCP?

    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 googlecalendarMCP open source?

    Yes — it is hosted on GitHub at https://github.com/Avik-creator/googlecalendarMCP and has 2 stars.

    Related MCP tools

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

    Measure it with TrackMCP