AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

gmail-attachments-mcp

Community

MCP server by zayansalman · updated · ★ 3

Score 40

Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default. gmail-attachments-mcp is a community project by zayansalman, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 136 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
GMAIL_MCP_CREDENTIALSEnvironment variableOptionalPath to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/credentials.json.
GMAIL_MCP_TOKENEnvironment variable, secretOptionalPath to the cached Gmail OAuth refresh token. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/token.json.
GMAIL_MCP_DEFAULT_DEST_DIREnvironment variableOptionalDefault directory where downloaded attachments are saved when the tool call does not specify dest_dir. Default: ~/Downloads.
GMAIL_MCP_SCOPESEnvironment variableOptionalComma-separated Google OAuth scopes. Default: https://www.googleapis.com/auth/gmail.readonly.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install gmail-attachments-mcp

Built from the published package, never by AI
claude mcp add gmail-attachments-mcp -- uvx gmail-attachments-mcp

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

Step-by-step: install gmail-attachments-mcp 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 gmail-attachments-mcp block.

Weekly newsletter

Like gmail-attachments-mcp? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to gmail-attachments-mcp

All alternatives →

gmail-attachments-mcp: common questions

How do I install gmail-attachments-mcp?

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

Is gmail-attachments-mcp the official server?

gmail-attachments-mcp is a community project by zayansalman, not verified by a company domain.

Is gmail-attachments-mcp free?

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

Is gmail-attachments-mcp safe to use?

It scores 40 of 100. Grades: maintenance C, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to gmail-attachments-mcp?

Similar MCP servers: OpenWork MCP Gateway, Modelcontextprotocol Core, Agents MCP, MCP Remote.

Does gmail-attachments-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.

Add to stack

Loading.