← Back to browse

gmail-attachments-mcp

Indexed by io.github.zayansalman

About

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

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsGMAIL_MCP_CREDENTIALS GMAIL_MCP_TOKEN GMAIL_MCP_DEFAULT_DEST_DIR GMAIL_MCP_SCOPES
Claude Code
claude mcp add --env GMAIL_MCP_CREDENTIALS= --env GMAIL_MCP_TOKEN= --env GMAIL_MCP_DEFAULT_DEST_DIR= --env GMAIL_MCP_SCOPES= gmail-attachments-mcp -- uvx gmail-attachments-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"gmail-attachments-mcp","command":"uvx","args":["gmail-attachments-mcp"],"env":{"GMAIL_MCP_CREDENTIALS":"","GMAIL_MCP_TOKEN":"","GMAIL_MCP_DEFAULT_DEST_DIR":"","GMAIL_MCP_SCOPES":""}}'
JSON
{
  "mcpServers": {
    "gmail-attachments-mcp": {
      "command": "uvx",
      "args": [
        "gmail-attachments-mcp"
      ],
      "env": {
        "GMAIL_MCP_CREDENTIALS": "",
        "GMAIL_MCP_TOKEN": "",
        "GMAIL_MCP_DEFAULT_DEST_DIR": "",
        "GMAIL_MCP_SCOPES": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.