Integrations
Provides access to email content from Gmail accounts using OAuth2 authentication, allowing Claude to read and understand emails while maintaining context and privacy controls.
Integrates with Google Cloud Project for Gmail API access, handling authentication and token management for secure access to email data.
Gmail MCP Server
A Model Context Protocol (MCP) server that integrates Gmail with Claude Desktop, enabling Claude to access and understand email content while maintaining proper context management and privacy controls.
Features
- Gmail API integration with OAuth2 authentication
- Secure token management and storage
- Privacy-focused data handling
- Context window management for Claude
- Comprehensive logging and error handling
- Docker support for easy deployment
Prerequisites
- Node.js >= 18.0.0
- npm or yarn
- Google Cloud Project with Gmail API enabled
- Claude API key
Setup
- Clone the repository:
- Install dependencies:
- Create a
.env
file in the root directory with the following variables:
- Start the development server:
Development
npm run dev
: Start the development server with hot reloadingnpm test
: Run testsnpm run lint
: Run ESLint
Project Structure
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An integration server that allows Claude Desktop to securely access and process Gmail content while maintaining proper context management and privacy controls.
Related MCP Servers
- AsecurityAlicenseAqualityModel Context Protocol server for Gmail integration. This allows Claude Desktop (or any MCP client) to interact with your Gmail account through Google Apps Script.Last updated -378JavaScriptMIT License
- -securityAlicense-qualityServer for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.Last updated -60,727243JavaScriptMIT License
- -securityAlicense-qualityA server that allows Claude to search and retrieve emails from your Gmail account, supporting functions like searching emails, retrieving full content of specific emails, and listing recent messages.Last updated -2PythonApache 2.0
- -securityFlicense-qualityAn integration server that provides Claude Desktop access to Gmail, enabling users to view recent emails and search their Gmail inbox using natural language commands.Last updated -6Python