Gmail MCP Server

Gmail MCP Server

Productivity
GongRzhe
claudecursorvscodecodexgeneric
FreeOpen Source

About This Server

An MCP server that integrates Gmail with AI agents. Supports searching emails, reading your inbox, sending and replying to messages directly in Claude Desktop — turning your mailbox into an AI-accessible workspace.

Installation

npx -y gmail-mcp-server

Frequently Asked Questions

What can Gmail MCP do?

Lets AI agents operate your Gmail: search emails (with keyword and date filters), read email content and attachments, send new emails, reply and forward messages, and manage inbox labels. Ideal for AI-assisted email processing, auto-replies, and email analysis.

Does Gmail MCP need Google account authorization?

Yes. First-time use requires OAuth 2.0 authorization to let the server access your Gmail. The MCP server guides you through the browser authorization flow, and the token is stored locally — never uploaded to third parties. Uses standard Gmail API permission scopes.

Is Gmail MCP safe? Will it leak my emails?

The MCP server runs locally with OAuth tokens stored on your local file system. AI agents only read or send emails when explicitly instructed. Review the authorization scope before use, and periodically check Gmail's authorized apps list.