mcp-gmail-server
If you are the rightful owner of mcp-gmail-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Java-based Model Context Protocol (MCP) server that integrates with Gmail to enable natural language email queries via Claude Desktop.
The Gmail MCP Server is a Java-based application designed to facilitate natural language email queries through Claude Desktop by integrating with Gmail. It leverages the Gmail API for secure email access using OAuth2 authentication, allowing users to search and read emails based on specific criteria such as topic, sender, or date. The server communicates with Claude Desktop using JSON-RPC 2.0 over Stdio, ensuring a seamless interaction between the user and their email data. The server is built with robust error handling, logging, and input validation to ensure reliability and security in production environments.
Features
- Search Emails: Find emails by topic, sender, or date using Gmail's query syntax.
- Read Emails: Retrieve full email content (subject, sender, body) by ID.
- Secure Authentication: Uses OAuth2 with `gmail.readonly` scope for minimal access.
- MCP Integration: Communicates with Claude Desktop via Stdio using JSON-RPC 2.0.
- Robust Design: Includes error handling, logging, and input validation for production readiness.