提交

Gmail MCP Server

@gemacjr

概览

What is Gmail MCP Server?

Gmail MCP Server is a Java-based Model Context Protocol (MCP) server that integrates with Gmail, allowing users to perform natural language queries on their emails through Claude Desktop.

How to use Gmail MCP Server?

To use the server, set up a Google Cloud project with Gmail API enabled, clone the repository, build the project using Maven, and run the server. Then, configure Claude Desktop to communicate with the server.

Key features of Gmail MCP Server?

  • Search Emails: Find emails by topic, sender, or date using Gmail's query syntax.
  • Read Emails: Retrieve full email content by ID.
  • Secure Authentication: Utilizes OAuth2 for secure access.
  • MCP Integration: Communicates with Claude Desktop via JSON-RPC 2.0.
  • Robust Design: Includes error handling and logging for production readiness.

Use cases of Gmail MCP Server?

  1. Searching for emails about project deadlines.
  2. Reading specific emails based on user queries.
  3. Integrating email functionalities into applications using natural language processing.

FAQ from Gmail MCP Server?

  • Can I use Gmail MCP Server on any operating system?

Yes! It has been tested on Windows, macOS, and Linux.

  • Is there a limit to the number of emails I can search?

Yes, the server limits search results to 10 emails to comply with Gmail API rate limits.

  • How do I handle authentication errors?

Ensure that your credentials.json file is correctly placed and re-authenticate if necessary.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.