Install guide · Claude Desktop
Install gmail-attachments-mcp for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Add to Cursor: gmail-attachments-mcpInstall in VS Code: gmail-attachments-mcpInstall in VS Code Insiders: gmail-attachments-mcp
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "zayansalman-gmail-attachments-mcp": { "command": "uvx", "args": [ "gmail-attachments-mcp" ], "env": { "GMAIL_MCP_CREDENTIALS": "", "GMAIL_MCP_TOKEN": "YOUR_GMAIL_MCP_TOKEN", "GMAIL_MCP_DEFAULT_DEST_DIR": "", "GMAIL_MCP_SCOPES": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |