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
{
"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