Gmail MCP
MCP server by crissmoldovan Verified · npm:@agentcomms
Gives coding agents access to Gmail. The agent can search, read, analyse, draft and organise mail across connected mailboxes, but cannot send without your approval. Built for developers who use MCP clients such as Claude Code, Codex or Cursor.
Install Gmail MCP
Built from the published package, never by AI.
claude mcp add gmail-mcp -- npx -y @agentcomms/gmail-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"gmail-mcp": {
"args": [
"-y",
"@agentcomms/gmail-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"gmail-mcp": {
"args": [
"-y",
"@agentcomms/gmail-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"gmail-mcp": {
"args": [
"-y",
"@agentcomms/gmail-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add gmail-mcp -- npx -y @agentcomms/gmail-mcp{
"mcpServers": {
"gmail-mcp": {
"args": [
"-y",
"@agentcomms/gmail-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add gmail-mcp npx -y @agentcomms/gmail-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the gmail-mcp block.
About
The Gmail MCP server is part of the agent-communications project. It lets an AI agent search, read, analyse, draft and organise email across as many mailboxes as you connect. It runs from the npm package @agentcomms/gmail-mcp and works with MCP clients such as Claude Code, Codex, Cursor, Claude Desktop and Gemini CLI. The package also includes a CLI called agent-gmail.
Sending is handled differently from drafting. Every send goes through one code path that runs approval checks, and each send binds to the exact content and draft version you approved. Each mailbox has a policy: chat, confirm or never. Under chat, you approve the preview in the conversation within ten minutes. Under confirm, you type a code at a terminal. Under never, the draft stays in Gmail. The project is intended for people who want an agent to handle their mail while keeping control over outgoing messages.
Written from the project's README and checked against it.
Tools it gives your assistant
gmail_send_waitLets the agent wait for your approval of a pending send under the confirm policy.Search and read mailSearches and reads messages across the mailboxes you connect.Analyse mailLets the agent analyse email content from your connected mailboxes.Draft emailsLets the agent write drafts that wait in Gmail until you approve a send.Organise mailLets the agent organise messages across connected mailboxes.Approval-gated sendingSends only after an approval step under the chat, confirm or never policy.
What you need
- Node.js, to run the npx command
- A Google Cloud OAuth client, created by you
- A Gmail account to connect
- An MCP client such as Claude Code, Codex, Cursor or Claude Desktop
Try asking
- Search my Gmail for unread messages from my manager this week
- Summarise the last three emails in my support inbox
- Draft a reply to the invoice thread and leave it in Gmail
Good to know
- The agent cannot send an email without your approval.
- Under the chat policy, an approval is valid for ten minutes.
- Under the never policy, drafts stay in Gmail and nothing is sent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Gmail MCP
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Gmail MCP: common questions
Can an AI agent send emails from my Gmail account with this server?
Not without your approval. Each send needs a prepare step for the exact content, and the policy for each mailbox decides how you approve it. Under the never policy, nothing is sent.
Can I connect more than one Gmail mailbox?
Yes. The source says the agent can search, read, analyse, draft and organise mail across as many mailboxes as you connect.
Does the project verify the software it installs?
Published versions from 0.1.1 include an npm provenance attestation, which npm audit signatures can verify against this repository.
How do I install Gmail MCP?
In Claude Code run claude mcp add gmail-mcp -- npx -y @agentcomms/gmail-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Gmail MCP the official server?
Gmail MCP is published by npm:@agentcomms from its verified domain in the official MCP Registry.
Is Gmail MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Gmail MCP safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Gmail MCP?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Gmail MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
