Gmail MCP Server
Allows reading the last 10 emails from a Gmail inbox.
Click on "Deploy 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 Servershow my latest inbox emails"
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.
Gmail MCP Server
Available Tools
Addition Tool (Testing/Learning)
The Addition Server provides a simple tool for testing and learning MCP server functionality.
Gmail Tool - Read Last 10 Emails
The Gmail MCP server provides a tool to read the last 10 emails from your inbox.
Tool Details:
Name:
read-emailsDescription: Read emails from inbox
Parameters: None (reads last 10 emails by default)
Returns: JSON formatted email data with From, Subject, Date, and Snippet
Related MCP server: Moist
Setup Steps
1. Get Token
First, run getToken.js to authenticate and get your Gmail access token:
node getToken.jsThis will:
Use your
credentials.jsonfileOpen a browser for Gmail authorization
Save the token to
token.json
2. Start the Server
After getting the token, run the Gmail MCP server:
node gmail.jsClaude Desktop Configuration
Add this to your Claude Desktop MCP configuration:
{
"mcpServers": {
"Addition Server": {
"command": "node",
"args": ["/Users/prince/princekumarcode/mcp-weather/add.js"]
},
"Gmail Server": {
"command": "node",
"args": ["/Users/prince/princekumarcode/mcp-weather/gmail.js"]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
A MCP server for Gmail that lets you search, read, and draft emails and replies.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Gmail access through MCP, allowing LLMs to read, compose, and send emails.10MIT
- AlicenseNot gradedqualityDmaintenanceEnables Gmail operations such as reading, sending, searching, and managing emails, threads, labels, and drafts via MCP tools.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables searching, reading, and drafting emails across multiple Gmail accounts through a single MCP server.-
- FlicenseNot gradedqualityCmaintenanceEnables reading, searching, sending, and drafting Gmail emails via MCP tools, with support for multiple accounts and background notifications.-