MCP Server
MCP
io.github.zayansalman/gmail-attachments-mcp
Minimal MCP server for downloading Gmail attachments to disk. Read-only OAuth by default.
Install
uvx gmail-attachments-mcp
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"identifier": "gmail-attachments-mcp",
"version": "0.1.0",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"description": "Subcommand that runs the stdio MCP server.",
"value": "serve",
"type": "positional"
}
],
"environmentVariables": [
{
"description": "Path to the Google OAuth client secret JSON. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/credentials.json.",
"format": "filepath",
"name": "GMAIL_MCP_CREDENTIALS"
},
{
"description": "Path to the cached Gmail OAuth refresh token. Default: $XDG_CONFIG_HOME/gmail-attachments-mcp/token.json.",
"format": "filepath",
"isSecret": true,
"name": "GMAIL_MCP_TOKEN"
},
{
"description": "Default directory where downloaded attachments are saved when the tool call does not specify dest_dir. Default: ~/Downloads.",
"format": "filepath",
"name": "GMAIL_MCP_DEFAULT_DEST_DIR"
},
{
"description": "Comma-separated Google OAuth scopes. Default: https://www.googleapis.com/auth/gmail.readonly.",
"format": "string",
"name": "GMAIL_MCP_SCOPES"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment