Gmail MCP Server
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
Related MCP server: Gmail MCP Server
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
Testing
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node build/index.js
## How It Works
1. Creates MCP server with Gmail transporter
2. Registers `send_email` tool with input validation
3. Connects via STDIO transport for MCP communication
4. Returns structured responses with success/error statesResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityDmaintenanceEnables interaction with Gmail through the Gmail API with OAuth2 authentication. Supports reading, sending, searching emails, and managing read status through natural language.
- Flicense-quality-maintenanceEnables interaction with Gmail through the Gmail API, allowing users to list, read, search emails, create and send drafts, and get email summaries through natural language commands with OAuth2 authentication.
- Alicense-qualityDmaintenanceEnables AI assistants to send, read, list, and reply to emails via the Gmail API.Apache 2.0
- Alicense-qualityDmaintenanceEnables AI assistants to send, search, and read emails via Gmail using OAuth2 authentication.1MIT
Related MCP Connectors
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PranavMishra28/gmail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server