email-mcp-server
Verified Safeby alk231
Overview
Automates Gmail interactions for AI assistants, allowing them to fetch, summarize, classify, and reply to emails using the Model Context Protocol.
Installation
python main.pyEnvironment Variables
- GMAIL_CREDENTIALS
- GMAIL_TOKEN
- GROQ_API_KEY
Security Notes
The system uses standard OAuth 2.0 for Gmail authentication. Sensitive credentials and tokens are loaded from environment variables (`GMAIL_CREDENTIALS`, `GMAIL_TOKEN`), which is better than hardcoding but requires the user to securely store these full JSON strings in their environment. The `gmail.modify` OAuth scope requested in `gmail_auth.py` grants extensive control over the user's Gmail account (read, send, modify messages, and manage labels), which is a powerful permission. No 'eval' or obvious malicious patterns were found in the provided code. The hardcoded local paths for the Python executable and `server.py` within `main.py`'s MCP client configuration would need user modification, which is a minor usability concern but not a direct security flaw.
Similar Servers
pipelex-mcp
Enables AI agents to build and execute Pipelex pipelines from natural language descriptions via the Model Context Protocol (MCP).
mcp-server-iris
Provides a Model Context Protocol (MCP) server for InterSystems IRIS database interaction, automation, and interoperability production management, allowing AI agents to query and control IRIS environments.
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
gmail-mcp
Provides programmatic access and control over Gmail functionality via a Multi-Connector Protocol (MCP) server, enabling agents to manage emails.