gmail-mcp-server
42
This project is an MCP server interfacing with Gmail to manage emails within an MCP client. It enables actions such as sending, reading, and trashing emails while ensuring user prompts for activities.
Gmail Server for Model Context Protocol (MCP)
This project is an MCP server that integrates with Gmail for managing emails, including sending, removing, reading, drafting, and responding to them. Key components of this server include tools for sending emails, trashing emails, marking emails as read, retrieving unread and specific email content, and opening emails in a browser.
Setup
Gmail API Setup
- Create a Google Cloud project and enable the Gmail API, configure the OAuth consent screen, create an OAuth Client ID, and download the JSON file of the OAuth keys.
Authentication
- An authentication flow is launched in the browser upon the server startup and token credentials are saved and retrieved.
Usage with Desktop App
- Integrate with Claude Desktop as the MCP Client and configure the server.
Troubleshooting
- Test the server using MCP Inspector.