Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-gmail-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Java-based Model Context Protocol (MCP) server that integrates with Gmail to enable natural language email queries via Claude Desktop. The server exposes tools to search emails by topic (e.g., "project deadlines") and read email content, using the Gmail API with secure OAuth2 authentication.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API
MCP Security Weekly
Get CVE alerts and security updates for Mcp Gmail Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Java-based Model Context Protocol (MCP) server that integrates with Gmail to enable natural language email queries via Claude Desktop. The server exposes tools to search emails by topic (e.g., "project deadlines") and read email content, using the Gmail API with secure OAuth2 authentication.
from:alice budget).gmail.readonly scope for minimal access.java --version).mvn --version).credentials.json file.http://localhost to authorized redirect URIs:
http://localhost under Authorized redirect URIs.git clone <repository-url>
cd gmail-mcp-server
Alternatively, create a new Maven project and copy the provided files:
src/main/java/com/swiftbeard/gmailmcp/GmailMcpServer.javapom.xmlsrc/main/resources/credentials.json (from Google Cloud)src/main/resources/logback.xmlcredentials.json in src/main/resources/.gmail-mcp-server/
├── pom.xml
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/swiftbeard/gmailmcp/
│ │ │ └── GmailMcpServer.java
│ │ ├── resources/
│ │ │ ├── credentials.json
│ │ │ └── logback.xml
mvn clean install
target/gmail-mcp-server-1.0-SNAPSHOT.jar.java -jar target/gmail-mcp-server-1.0-SNAPSHOT.jar
gmail.readonly scope).~/.gmail-mcp/tokens for subsequent runs.~/.cursor/mcp.json or Claude’s settings file).{
"mcpServers": {
"gmail": {
"command": "java",
"args": ["-jar", "/full/path/to/gmail-mcp-server-1.0-SNAPSHOT.jar"]
}
}
}
Replace /full/path/to/gmail-mcp-server-1.0-SNAPSHOT.jar with the absolute path to your JAR file (e.g., /home/user/gmail-mcp-server/target/gmail-mcp-server-1.0-SNAPSHOT.jar).