High-performance Rust implementation of Gmail MCP Server for Claude/AI integration
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gmail": {
"args": [],
"command": "/path/to/gmail-mcp-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A high-performance Rust implementation of the Gmail MCP Server for Claude/AI integration via the Model Context Protocol.
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 Gmail Mcp Server Rust and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A high-performance Rust implementation of the Gmail MCP Server for Claude/AI integration via the Model Context Protocol.
Inspired by: GongRzhe/Gmail-MCP-Server (TypeScript)
This is a complete Rust rewrite providing better performance, memory safety, and native binaries.
| Tool | Description |
|---|---|
send_email | Send a new email (with optional attachments) |
draft_email | Create a draft email |
read_email | Read a specific email by ID |
search_emails | Search emails with Gmail query syntax |
modify_email | Add/remove labels from an email |
delete_email | Move email to trash |
list_email_labels | List all Gmail labels |
batch_modify_emails | Modify labels on multiple emails |
batch_delete_emails | Delete multiple emails |
create_label | Create a new label |
update_label | Update a label's properties |
delete_label | Delete a label |
get_or_create_label | Get existing or create new label |
create_filter | Create a new filter |
list_filters | List all filters |
get_filter | Get a specific filter |
delete_filter | Delete a filter |
create_filter_from_template | Create filter from predefined templates |
download_attachment | Download an email attachment |
git clone https://github.com/abhinav-copilot/gmail-mcp-server-rust.git
cd gmail-mcp-server-rust
cargo build --release
The binary will be at target/release/gmail-mcp-server.
Save the downloaded OAuth file as either:
~/.gmail-mcp/gcp-oauth.keys.json (recommended)./gcp-oauth.keys.json (current directory)Or set environment variable:
export GMAIL_OAUTH_PATH=/path/to/gcp-oauth.keys.json
# Run authentication flow
./gmail-mcp-server auth
This opens your browser for Google OAuth consent. After approval, credentials are stored in ~/.gmail-mcp/credentials.json.
# Start the MCP server (communicates via stdio)
./gmail-mcp-server
Add to your MCP configuration (e.g., ~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"gmail": {
"command": "/path/to/gmail-mcp-server",
"args": []
}
}
}
The send_email and draft_email tools support file attachments:
{
"name": "send_email",
"arguments": {
"to": ["recipient@example.com"],
"subject": "Doc
... [View full README on GitHub](https://github.com/abhinav20sep/gmail-mcp-server-rust#readme)