A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gmail -- npx -y @artymclabin/gmail-mcp~/.codex/config.toml
[mcp_servers.gmail]
command = "npx"
args = ["-y", "@artymclabin/gmail-mcp"]
# codex mcp add gmail -- npx -y @artymclabin/gmail-mcp~/.cursor/mcp.json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": [
"-y",
"@artymclabin/gmail-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"gmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@artymclabin/gmail-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": [
"-y",
"@artymclabin/gmail-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": [
"-y",
"@artymclabin/gmail-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": [
"-y",
"@artymclabin/gmail-mcp"
]
}
}
}