Gmail AI Agent Server
БесплатноНе проверенEnables AI assistants to connect to Gmail accounts, check connection status, and send emails through a secure OAuth 2.0 interface.
Описание
Enables AI assistants to connect to Gmail accounts, check connection status, and send emails through a secure OAuth 2.0 interface.
README
A Model Context Protocol (MCP) server that provides Gmail integration capabilities for AI models and tools. This server enables AI assistants to connect to Gmail accounts, check connection status, and send emails through a secure interface.
Tools
The server implements the following Gmail-related tools:
connect-gmail
Initiates a connection to a Gmail account. This tool will provide a redirect URL for OAuth authentication.
check-gmail-connection
Checks the current Gmail connection status and displays user profile information including email address, total messages, and total threads.
send-email
Sends an email through the connected Gmail account. Parameters:
to: The email address of the recipientsubject: The subject of the emailbody: The body content of the email
Setup
Prerequisites
Composio API Key: You'll need a Composio API key to use the Gmail integration. You can get one by signing up at Composio.
Gmail Account: A Gmail account that you want to connect to the AI agent.
Installation
You can configure the Gmail AI agent server in your MCP client. Here is an example configuration for Claude Desktop (Settings -> Developer -> Edit Config):
{
"mcpServers": {
"gmail-agent": {
"command": "node",
"args": ["path/to/your/gmail-mcp/dist/index.js"],
"env": {
"COMPOSIO_API_KEY": "<YOUR_COMPOSIO_API_KEY>"
}
}
}
}
Development Setup
If you're running from source:
# Clone the repository
git clone <repository-url>
cd gmail-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start
Then configure your MCP client to point to the built server:
{
"mcpServers": {
"gmail-agent": {
"command": "node",
"args": ["/path/to/gmail-mcp/dist/index.js"],
"env": {
"COMPOSIO_API_KEY": "<YOUR_COMPOSIO_API_KEY>"
}
}
}
}
Usage
- Configure the server in your MCP client (like Claude Desktop)
- Restart your client to load the new configuration
- Connect to Gmail by using the
connect-gmailtool - this will provide an OAuth link - Authorize the connection by clicking the provided link and following the Gmail authorization flow
- Check connection using
check-gmail-connectionto verify everything is working - Send emails using the
send-emailtool with recipient, subject, and body parameters
Security
- The server uses OAuth 2.0 for secure Gmail authentication
- No passwords are stored locally
- All Gmail operations are performed through secure API calls
- The connection is maintained securely through Composio's infrastructure
Example Workflow
- Initial Setup: Use
connect-gmailto start the OAuth flow - Verification: Use
check-gmail-connectionto confirm successful connection - Email Operations: Use
send-emailto compose and send emails through your connected Gmail account
Troubleshooting
- Connection Issues: If you encounter connection problems, try using
connect-gmailagain to re-authenticate - API Key Issues: Ensure your Composio API key is correctly set in the environment variables
- Permission Errors: Make sure you've granted the necessary permissions during the OAuth flow
Установка Gmail AI Agent Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/0x8687/mcp-gmail-v2FAQ
Gmail AI Agent Server MCP бесплатный?
Да, Gmail AI Agent Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gmail AI Agent Server?
Нет, Gmail AI Agent Server работает без API-ключей и переменных окружения.
Gmail AI Agent Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Gmail AI Agent Server в Claude Desktop, Claude Code или Cursor?
Открой Gmail AI Agent Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Gmail AI Agent Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
