What it is
A Gmail server that runs against your own Google Cloud OAuth credentials. It covers the mailbox operations — search, read, send, label, delete, drafts, attachments — plus a conversation analyzer that reads a whole thread at once.
Requirements
A Google Cloud project with the Gmail API enabled and OAuth2 desktop credentials of your own — download credentials.json into the project root and set GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET and GOOGLE_REDIRECT_URI. Its package.json is marked private, so you install from source: clone it, run npm install and npm run build, then point your client at node build/index.js over stdio. Node.js 18+. STORAGE_PATH, CACHE_TTL and LOG_LEVEL are optional. The first call to gmail_authenticate returns a clickable link that completes the OAuth flow.
Setup effort
Build from source — git clone https://github.com/kushal45/GmailMcpServer.git