Back to Home
okorie2 icon

gmail-mcp-server

Verified Safe

by okorie2

Overview

Provides AI assistants with tools to fetch user Gmail profiles and send emails through API interactions.

Installation

Run Command
npm start

Environment Variables

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET

Security Notes

The server handles sensitive Google OAuth tokens. `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` are read from environment variables, which is a good practice. OAuth tokens are *not* persisted to disk (the `fs.writeFileSync` call is commented out), which significantly reduces the risk of static token compromise but necessitates re-authentication on every server restart. The requested Gmail API scopes (`gmail.send`, `gmail.readonly`) grant broad access to user emails, which is a high-sensitivity area. Error messages logged to console could expose internal details if the server is improperly secured or monitored.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens120
Stars0
Forks0
Last Update2025-11-23

Tags

GmailEmail ManagementCommunicationAI Assistant ToolsMCP Server