Enables sending emails through Gmail with support for specifying recipients, subject lines, and plain text message content.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gmail MCP Serversend an email to john@example.com about our meeting tomorrow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Gmail Server
A minimal Model Context Protocol (MCP) server that sends emails through Gmail.
Quick Start
Install dependencies:
npm installSet up Gmail credentials:
cp .env.example .env # Edit .env with your Gmail credentialsBuild and run:
npm run build npm start
Configuration
Set these environment variables in .env:
GMAIL_USER: Your Gmail addressGMAIL_PASS: Gmail App Password (not your regular password)
Usage
The server exposes one tool: send_email
Parameters:
to: Recipient email addresssubject: Email subject linebody: Email content (plain text)
Files
src/index.ts- Main MCP server implementation.well-known/mcp.json- MCP server manifest.vscode/mcp.json- VS Code MCP configuration