Manage multiple Gmail accounts in Claude Desktop — search, send, reply, draft, and organize.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add multi-gmail --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' -- npx -y multi-gmail-mcp~/.codex/config.toml
[mcp_servers.multi-gmail]
command = "npx"
args = ["-y", "multi-gmail-mcp"]
env = { GOOGLE_CLIENT_SECRET = "<GOOGLE_CLIENT_SECRET>" }
# codex mcp add multi-gmail --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' -- npx -y multi-gmail-mcp~/.cursor/mcp.json
{
"mcpServers": {
"multi-gmail": {
"command": "npx",
"args": [
"-y",
"multi-gmail-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"multi-gmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"multi-gmail-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"multi-gmail": {
"command": "npx",
"args": [
"-y",
"multi-gmail-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"multi-gmail": {
"command": "npx",
"args": [
"-y",
"multi-gmail-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"multi-gmail": {
"command": "npx",
"args": [
"-y",
"multi-gmail-mcp"
],
"env": {
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
}
}
}
}Environment variables
GOOGLE_CLIENT_SECRET
Replace the placeholders with your own credentials and keep them out of version control.