gmail-mcp-server
Verified Safeby vxvomar123
Overview
Integrates Gmail with AI assistants like Claude Desktop for advanced email automation and management.
Installation
npx @devdattatalele/gmail-mcp-serverEnvironment Variables
- GMAIL_OAUTH_PATH
- GMAIL_CREDENTIALS_PATH
Security Notes
The server explicitly prioritizes security by avoiding unnecessary third-party AI dependencies and implementing intelligent token management with auto-refresh and comprehensive error handling for OAuth. A detailed `SECURITY.md` outlines best practices and vulnerability reporting. However, the `send_email`, `draft_email`, and `download_attachment` tools handle file paths provided as arguments without extensive server-side sanitization against directory traversal beyond checking `fs.existsSync`. While the `SECURITY.md` advises path validation for developers, it's not fully implemented within the provided source for attachment handling, assuming input from the AI model or user is trusted. Credentials are stored in plaintext with restricted file permissions.
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.
Google-Workspace-MCP
Seamlessly integrates Google Drive, Sheets, and Docs with Claude AI and other AI agents through the Model Context Protocol (MCP) for automation.
slack-mcp-server
Provides an AI assistant, like Claude, programmatic access to Slack conversations, threads, and workspace information through the Model Context Protocol (MCP).
Troj-MCP
A versatile Model Context Protocol (MCP) server for integrating AI models with system operations, file management, calendar, and email tools.