Multi-account Gmail MCP server on Cloudflare Workers — one deployment, one Google sign-in per connection, any MCP client
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gmail-mkpoli -- bun run start~/.codex/config.toml
[mcp_servers.gmail-mkpoli]
command = "bun"
args = ["run", "start"]
# codex mcp add gmail-mkpoli -- bun run start~/.cursor/mcp.json
{
"mcpServers": {
"gmail-mkpoli": {
"command": "bun",
"args": [
"run",
"start"
]
}
}
}.vscode/mcp.json
{
"servers": {
"gmail-mkpoli": {
"type": "stdio",
"command": "bun",
"args": [
"run",
"start"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gmail-mkpoli": {
"command": "bun",
"args": [
"run",
"start"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gmail-mkpoli": {
"command": "bun",
"args": [
"run",
"start"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gmail-mkpoli": {
"command": "bun",
"args": [
"run",
"start"
]
}
}
}