# Gmail Attachments MCP

> Gmail Attachments MCP is an open-source MCP server for communication. Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/zayansalman/gmail-attachments-mcp
- **MCP Registry name:** io.github.zayansalman/gmail-attachments-mcp
- **Categories:** communication
- **Listing updated:** 2026-11-13

## About

Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.

## Install

### Claude Code (Terminal)

```sh
claude mcp add gmail-attachments-mcp --env GMAIL_MCP_TOKEN='<GMAIL_MCP_TOKEN>' -- uvx gmail-attachments-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gmail-attachments-mcp": {
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_TOKEN": "<GMAIL_MCP_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gmail-attachments-mcp": {
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_TOKEN": "<GMAIL_MCP_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gmail-attachments-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_TOKEN": "<GMAIL_MCP_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gmail-attachments-mcp": {
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_TOKEN": "<GMAIL_MCP_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gmail-attachments-mcp": {
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_TOKEN": "<GMAIL_MCP_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Gmail Attachments MCP free?

Yes. Gmail Attachments MCP is open source, so you can use and self-host it for free.

### How do I add Gmail Attachments MCP to Claude Code?

Run this command in your terminal: claude mcp add gmail-attachments-mcp --env GMAIL_MCP_TOKEN='<GMAIL_MCP_TOKEN>' -- uvx gmail-attachments-mcp

### What are the best alternatives to Gmail Attachments MCP?

The closest alternatives to Gmail Attachments MCP are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.

## Alternatives

- [BoardAgent](https://ai-powered.com/mcp/boardagent): BoardAgent is a free MCP server for community directories.
- [Callout](https://ai-powered.com/mcp/callout): Callout is a freemium MCP server for communication.
- [nicemails](https://ai-powered.com/mcp/nicemails): nicemails is a freemium MCP server for communication.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [PostBaton](https://ai-powered.com/mcp/postbaton): PostBaton is a freemium MCP server for marketing and seo.
- [MeetBetr](https://ai-powered.com/mcp/meetbetr): MeetBetr is a free MCP server for productivity.
- [Host Tools](https://ai-powered.com/mcp/host-tools): Host Tools is an MCP server for home services.
- [iMessage MCP](https://ai-powered.com/mcp/imessage-mcp): iMessage MCP is an open-source MCP server for communication.

---
Source: https://ai-powered.com/mcp/gmail-attachments-mcp
