google-mail-mcp
Provides tools for interacting with Google Mail, allowing AI agents to manage emails, send messages, and perform mailbox operations through the Google Mail API.
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., "@google-mail-mcpshow me my unread emails from today"
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.
Google-Mail Universal MCP Server
This repository contains an implementation of an Google-Mail Universal MCP (Model Context Protocol) server. It provides a standardized interface for interacting with Google-Mail's tools and services through a unified API.
The server is built using the Universal MCP framework.
This implementation follows the MCP specification, ensuring compatibility with other MCP-compliant services and tools.
Usage
You can start using Google-Mail directly from agentr.dev. Visit agentr.dev/apps and enable Google-Mail.
If you have not used universal mcp before follow the setup instructions at agentr.dev/quickstart
Related MCP server: gmail-mcp
Available Tools
The full list of available tools is at ./src/universal_mcp_google_mail/README.md
Local Development
π Prerequisites
Ensure you have the following before you begin:
Python 3.11+ (recommended)
uv (install globally with
pip install uv)
π οΈ Setup Instructions
Follow the steps below to set up your development environment:
Sync Project Dependencies
uv syncThis installs all dependencies from
pyproject.tomlinto a local virtual environment (.venv).Activate the Virtual Environment
For Linux/macOS:
source .venv/bin/activateFor Windows (PowerShell):
.venv\Scripts\ActivateStart the MCP Inspector
mcp dev src/universal_mcp_google_mail/server.pyThis will start the MCP inspector. Make note of the address and port shown in the console output.
Install the Application
mcp install src/universal_mcp_google_mail/server.py
π Project Structure
.
βββ src/
β βββ universal_mcp_google_mail/
β βββ __init__.py # Package initializer
β βββ server.py # Server entry point
β βββ app.py # Application tools
β βββ README.md # List of application tools
βββ tests/ # Test suite
βββ .env # Environment variables for local development
βββ pyproject.toml # Project configuration
βββ README.md # This fileπ License
This project is licensed under the MIT License.
Generated with MCP CLI β Happy coding! π
This server cannot be deployed
Maintenance
Related MCP Connectors
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β¦
Your agent needs a mailbox of its own β to receive, thread, draft and send, with attachments, without borrowing your personal inbox or your company's SMTP. **What you can ask for** β’ "Create an inbox for this agent and tell me its address." β’ "Read the new messages in this thread and draft a reply." β’ "Send this message with the attachment and wait for the response." β’ "Search this inbox for everything from that domain." β’ "Show delivery metrics and the events on this inbox." **How to use it** Point any MCP client at https://mcp.aisa.one/mail/mcp and sign in with OAuth β there is no key to create or paste. 49 tools: create and delete inboxes, list and read messages, raw message bodies, attachments, threads, drafts and draft attachments, send and reply, message search, inbox events, metrics, and list entries β reads and writes. **Why this rather than the source** A real inbox an agent owns, rather than an SMTP credential it borrows from a human. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Find the contact elsewhere in the catalogue, then write to them from here β without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/sales/mcp finds the person to write to.
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive Gmail integration with LLM processing capabilities, allowing users to read, search, filter emails and handle attachments through the Model Context Protocol.9 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables full management of Gmail accounts, including messages, threads, labels, and drafts. It leverages the Gmail API to allow searching, sending, and organizing emails via secure OAuth2 authentication.MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to Gmail functionality through the Model Context Protocol, allowing LLMs like Claude to interact with your email.2-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Gmail through natural language, including search, read, send, label, and draft operations via the Model Context Protocol.-