MCP Server Studio

multi-mail MCP server

Several Gmail accounts: search, read, draft, send, labels and Google Calendar. Own OAuth client.

Registry name: io.github.yybd/multi-mail-mcp

Publisher
yybd
Runs
Runs locally
Package
npm
Version
0.2.1
Category
Search & knowledge
Updated
2026-11-07

Source code on GitHub

Set up multi-mail (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/[email protected]"
      ],
      "env": {
        "MULTI_MAIL_DEFAULT": "<MULTI_MAIL_DEFAULT>",
        "MULTI_MAIL_HOME": "<MULTI_MAIL_HOME>",
        "MULTI_MAIL_SEND": "<MULTI_MAIL_SEND>",
        "MULTI_MAIL_TZ": "<MULTI_MAIL_TZ>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add multi-mail-mcp -e MULTI_MAIL_DEFAULT='<MULTI_MAIL_DEFAULT>' -e MULTI_MAIL_HOME='<MULTI_MAIL_HOME>' -e MULTI_MAIL_SEND='<MULTI_MAIL_SEND>' -e MULTI_MAIL_TZ='<MULTI_MAIL_TZ>' -- npx -y @yybd/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/[email protected]"
      ],
      "env": {
        "MULTI_MAIL_DEFAULT": "<MULTI_MAIL_DEFAULT>",
        "MULTI_MAIL_HOME": "<MULTI_MAIL_HOME>",
        "MULTI_MAIL_SEND": "<MULTI_MAIL_SEND>",
        "MULTI_MAIL_TZ": "<MULTI_MAIL_TZ>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "multi-mail-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yybd/[email protected]"
      ],
      "env": {
        "MULTI_MAIL_DEFAULT": "<MULTI_MAIL_DEFAULT>",
        "MULTI_MAIL_HOME": "<MULTI_MAIL_HOME>",
        "MULTI_MAIL_SEND": "<MULTI_MAIL_SEND>",
        "MULTI_MAIL_TZ": "<MULTI_MAIL_TZ>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/[email protected]"
      ],
      "env": {
        "MULTI_MAIL_DEFAULT": "<MULTI_MAIL_DEFAULT>",
        "MULTI_MAIL_HOME": "<MULTI_MAIL_HOME>",
        "MULTI_MAIL_SEND": "<MULTI_MAIL_SEND>",
        "MULTI_MAIL_TZ": "<MULTI_MAIL_TZ>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MULTI_MAIL_DEFAULTNoAccount used when a tool call names none (email or alias)
MULTI_MAIL_HOMENoFolder holding credentials.json and account tokens (default ~/.multi-mail)
MULTI_MAIL_SENDNoSet to off for drafts-only mode: no tool can send mail
MULTI_MAIL_TZNoIANA time zone for calendar tools, overriding each calendar's own setting

More search & knowledge MCP servers