Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Gogcli MCP Gmail

MCP server by chrischall Verified · npm:gogcli-mcp-gmail

Gives Claude access to Gmail through the gogcli-mcp server, covering sending, replies, forwarding, drafts and auto-replies. It is meant for personal use on your own Google account, and you must set up your own Google OAuth client.

  • Score 77
  • 1 stars
  • 243 a week
  • MIT
  • Updated

Install Gogcli MCP Gmail

Built from the published package, never by AI.

claude mcp add gogcli-mcp-gmail -- npx -y gogcli-mcp-gmail

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Gogcli MCP Gmail in Claude Code

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 gogcli-mcp-gmail block.

About

Gogcli MCP Gmail is one of the servers in the gogcli-mcp monorepo. It wraps the gogcli command line tool so Claude can work with Gmail and other Google Workspace services through natural-language requests. The package installs from npm as gogcli-mcp. Its Gmail tools cover sending, replying, forwarding, drafts, auto-replies, filters, imports and batch deletes.

Authentication uses Google OAuth. The project does not ship credentials, so each user registers their own OAuth client in Google Cloud and authorizes it. Tools that reach other people or delete messages ask the user to confirm a preview first, on clients that can show that prompt. The project is aimed at personal, single-user use on your own Google account, and the maintainer describes it as AI-developed.

Written from the project's README and checked against it.

Tools it gives your assistant

  • gog_gmail_sendSends an email. Asks the user to confirm a preview first.
  • gog_gmail_replyReplies to an email. Asks the user to confirm a preview first.
  • gog_gmail_reply_allReplies to all recipients of an email. Asks the user to confirm first.
  • gog_gmail_forwardForwards an email. Asks the user to confirm a preview first.
  • gog_gmail_autoreplySends an auto-reply. Asks the user to confirm a preview first.
  • gog_gmail_drafts_sendSends an existing draft. Asks the user to confirm a preview first.
  • gog_gmail_batch_deleteDeletes many messages at once. Asks only when force is true, which bypasses Trash.
  • gog_gmail_vacation_updateUpdates the vacation auto-reply. Asks for confirmation when enabling it.
  • gog_gmail_sendas_createAdds a sending identity to the account. Always asks the user to confirm.
  • gog_gmail_importImports mail into the Gmail account from a local file.

What you need

  • gogcli installed and authenticated with a Google account
  • Your own Google OAuth client from Google Cloud Console
  • Node.js 22 or later
  • macOS, Linux or Windows

Try asking

  • Search my Gmail for invoices from last month
  • Reply to the latest email from my landlord
  • Forward the project update email to my team lead

Good to know

  • Built for personal, single-user use on your own Google account
  • Not affiliated with or endorsed by Google
  • Gmail and Drive APIs have per-user quotas that can be exhausted
  • Local file access is limited to the directories in GOG_FILE_ROOTS

Security check

A

No 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 Gogcli MCP Gmail

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Gogcli MCP Gmail: common questions

Do I need my own Google OAuth client?

Yes. The project does not ship a client_secret.json, so you register your own OAuth client in Google Cloud and authorize it for the Workspace APIs you use.

Does it ask before sending email?

Yes. Sending, replying, forwarding and draft sending show a confirmation preview through an MCP prompt. Clients that cannot show the prompt use a two-step flow instead.

Is this an official Google product?

No. The project is not affiliated with, endorsed by or sponsored by Google LLC. It is a personal automation tool.

How do I install Gogcli MCP Gmail?

In Claude Code run claude mcp add gogcli-mcp-gmail -- npx -y gogcli-mcp-gmail. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Gogcli MCP Gmail the official server?

Gogcli MCP Gmail is published by npm:gogcli-mcp-gmail from its verified domain in the official MCP Registry.

Is Gogcli MCP Gmail free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Gogcli MCP Gmail safe to use?

It scores 77 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 Gogcli MCP Gmail?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Gogcli MCP Gmail 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.

Gogcli MCP Gmail Install

Add to stack

Loading.