gmail-mcp-server
Verified Safeby okorie2
Overview
Provides AI assistants with tools to fetch user Gmail profiles and send emails through API interactions.
Installation
npm startEnvironment Variables
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
Security Notes
The server handles sensitive Google OAuth tokens. `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` are read from environment variables, which is a good practice. OAuth tokens are *not* persisted to disk (the `fs.writeFileSync` call is commented out), which significantly reduces the risk of static token compromise but necessitates re-authentication on every server restart. The requested Gmail API scopes (`gmail.send`, `gmail.readonly`) grant broad access to user emails, which is a high-sensitivity area. Error messages logged to console could expose internal details if the server is improperly secured or monitored.
Similar Servers
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
mcp-google-marketing
This server provides an interface for interacting with Google Analytics 4, Google Search Console, and Google AdSense APIs to manage properties, fetch data, and generate reports.
stateful-auth-for-mcp-servers
Integrates Google Gmail and Calendar APIs to enable an AI agent to read emails and manage calendar events with stateful authorization for event deletions.
gmail-mcp
Provides programmatic access and control over Gmail functionality via a Multi-Connector Protocol (MCP) server, enabling agents to manage emails.