
mcp gmail calendar ai agent
监控 Gmail 邮件中的截止日期或事件,自动创建 Google 日历条目。
Repository Info
About This Server
监控 Gmail 邮件中的截止日期或事件,自动创建 Google 日历条目。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Deadline-Notifier
A smart, zero-config service that watches your Gmail for deadlines or scheduled events and instantly creates Google Calendar entries via Composio + LangChain.
Features
-
🤖 Automated triggers – uses Composio MCP to fire on every new Gmail message
-
📧 Deadline extraction – LLM agent identifies dates/times in your email body
-
📅 Calendar integration – automatically creates a Google Calendar event when a deadline or meeting is found
-
🔧 One-step run scripts –
runserver.pyto bootstrap MCP connectionrun_code.pyto spin up your FastAPI webhook
Quickstart
1. Clone & install
git clone https://github.com/your-org/deadline-notifier.git
cd deadline-notifier
pip install -r requirements.txt
2. Configure your API keys
Create a .env in the project root:
COMPOSIO_API_KEY=your_composio_key
3. Enable the Gmail trigger
python mcp_client.py
# You should see: "enabled"
4. Run your server & expose via ngrok
Step A :
# Start your webhook & ngrok in separate terminals
ngrok http 8000
- Copy the
https://…ngrok.ioURL. - Paste it into your Composio dashboard under your Gmail trigger’s “webhook URL.”
- Restart
python run_code.py.
Step B (Execute the fastapi application):
uvicorn app:app --port 8000 --reload
5. Send yourself a test email
Include a phrase like:
“Let’s meet March 14 at 3 PM to review the Q1 plan.”
Within seconds you’ll see in your console:
[MCP] { … }
[APP] 📧 Message ID: abc123…
[APP] Event created successfully on Google Calendar
File Overview
- app.py — FastAPI webhook that listens for Gmail-new-message events
- gmail_service.py — LangChain agent to fetch & parse email content
- calendar_service.py — LangChain agent to create Google Calendar events
- mcp_client.py — Enables the Gmail trigger in your Composio entity
- runserver.py — Convenience script: runs
mcp_client.pythenngrok http 8000 - run_code.py — Convenience script: runs
uvicornon your FastAPI app
Quick Start
Clone the repository
git clone https://github.com/tryzent-tech/mcp-gmail-calendar-ai-agentInstall dependencies
cd mcp-gmail-calendar-ai-agent
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.