google-calendar-mcp
Provides tools for browsing calendar schedules, checking availability, and creating, updating, deleting, and retrieving meeting details in Google Calendar.
Enables creating and managing meetings with automatic Google Meet video conferencing links.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-calendar-mcpSchedule a Google Meet with Alice tomorrow at 10am."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Meet Scheduler Agent (FastMCP + LangGraph + LangChain)
An AI scheduling assistant built with LangGraph, LangChain, and a custom FastMCP Server to manage Google Calendar events and generate Google Meet video conferencing links.
🌟 Key Features
Custom FastMCP Server (
mcp_server.py):list_upcoming_events: Browse calendar schedule.check_availability: Query Google Calendarfreebusyfor user & attendees.create_meeting: Create calendar events with auto-generated Google Meet (hangoutsMeet) links (conferenceDataVersion=1).update_meeting: Reschedule or update event details.delete_meeting: Cancel events and auto-notify participants.get_meeting_details: Inspect meeting details, RSVP statuses, and Meet URLs.
LangGraph Agent (
agent.py):Contextual date/time parsing (converts relative times like "tomorrow 3 PM" to exact ISO-8601 strings in user timezone).
Multi-turn conversation state checkpointing via
MemorySaver.Tool calling integration using LangChain.
Related MCP server: Google Calendar MCP Server
📁 Project Structure
google-meet-scheduler/
├── auth.py # Google OAuth 2.0 & Calendar API v3 service helper
├── mcp_server.py # FastMCP Server registering Google Meet/Calendar tools
├── agent_state.py # LangGraph state schema (SchedulerState)
├── agent.py # LangGraph state graph, system prompt, and tools node
├── main.py # Interactive CLI Chat interface
├── .env.example # Template for environment variables
├── requirements.txt # Python dependencies
└── README.md # Documentation & setup guide🚀 Quick Start Guide
1. Install Dependencies
python -m venv venv
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt2. Set Up Google Cloud Credentials
Go to Google Cloud Console.
Create a new project (e.g.
Google Meet MCP).Enable Google Calendar API.
Go to APIs & Services > Credentials -> Create Credentials -> OAuth client ID.
Select Application type: Desktop app.
Download the JSON file, rename it to
credentials.json, and place it in the project root directory.
3. Configure Environment Variables
Copy .env.example to .env:
cp .env.example .envFill in your API keys in .env:
DEFAULT_TIMEZONE=Asia/Kolkata
GEMINI_API_KEY=your_gemini_api_key
# or
OPENAI_API_KEY=your_openai_api_key4. Run the Agent
python main.pyNote: On your first run, a browser window will open asking you to log into your Google account and authorize Calendar access. Once approved, a token.json file will be created for seamless subsequent authentication.
🛠️ Testing the FastMCP Server Standalone
You can inspect or test the FastMCP tools using the FastMCP CLI:
fastmcp dev mcp_server.py💬 Example Prompt Interactions
"List my upcoming meetings for the week."
"Check if I am free tomorrow between 2 PM and 5 PM."
"Schedule a Google Meet with john@example.com tomorrow at 4 PM for 45 minutes titled 'Q3 Sprint Planning'."
"Reschedule meeting ID
abc123xyzto Friday 11 AM.""Cancel meeting
abc123xyz."
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Google, Outlook & Apple calendars and create private sync rules from chat.
Schedule and manage Google Calendar events directly from your workspace. Check availability, view…
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Agent-Native Google Calendar - manage events, sync, and public booking
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar through natural language interactions with features like creating, updating, and deleting events, searching calendars, and supporting natural language date/time inputs.16 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables management of Google Calendar events across multiple calendars with natural language support, including searching events, checking availability, creating/updating/deleting events, responding to invitations, and auto-generating Google Meet links.89 npm49MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing Google Calendar events including creating, listing, updating, and deleting events through natural language.363 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar events, check availability, and handle scheduling tasks through natural language.10MIT