Skip to content
Cursor

Gmail MCP Server for Cursor

io.github.artymclabin/gmail-mcp-server

Lean Gmail MCP server with auto authentication support

client:Cursor transport:stdio runtime:npm

Install Gmail MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "gmail-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@artymclabin/gmail-mcp"
      ],
      "env": {
        "GMAIL_OAUTH_PATH": "<GMAIL_OAUTH_PATH>",
        "GMAIL_CREDENTIALS_PATH": "<GMAIL_CREDENTIALS_PATH>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Gmail MCP Server in other clients