A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
MCP server for Gmail API implemented in Python. Enables AI Agents to send, receive, search emails and manage labels in G
Gmail API for AI assistants using Model Context Protocol
English | Español | 日本語
Pull requests to this repository are welcome.
Gmail MCP is a server implementation that enables AI assistants to interact with Gmail through the MCP (Model Context Protocol). It provides tools for sending emails, managing drafts, reading emails, searching through your inbox, and managing Gmail labels.
git clone https://github.com/ykuchiki/gmail-mcp.git
cd gmail-mcp
uv init
uv pip install -r requirements.txt
Set up OAuth credentials
http://localhost:8080/
credentials/client_secret_gmail_oauth.jsonAdd MCP server Please refer to your MCP client's official documentation for specific instructions. Make sure to adjust the path according to your environment.
{
"mcpServers": {
"gmail-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/gmail-mcp/src",
"run",
"main.py"
]
}
}
}
uv run main.py
The server can be used with any MCP-compatible client. On first run, it will prompt you to authenticate with your Gmail account.
This project is licensed under the MIT License - see the LICENSE file for details.
本リポジトリはpullリクエスト大歓迎です。
Gmail MCPは、AIアシスタントがMCP(Model Context Protocol)を通じてGmailを使用できるようにするサーバー実装です。メールの送信、下書きの管理、メールの読み取り、受信トレイの検索、Gmailラベルの管理などのツールを提供します。
git clone https://github.com/ykuchiki/gmail-mcp.git
cd gmail-mcp
uv init
uv pip install -r requirements.txt
OAuth認証情報の設定
http://localhost:8080/
credentials/client_secret_gmail_oauth.jsonとして保存MCPサーバーを追加 追加方法はご使用のMCPクライアントの公式ドキュメントをご確認ください。 また、パスは環境に合わせて修正してください。
{
"mcpServers": {
"gmail-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/gmail-mcp/src",
"run",
"main.py"
]
}
}
}
uv run main.py
このサーバーは、MCP互換のクライアントと共に使用できます。初回実行時には、Gmailアカウントで認証するよう促されます。
attachments 引数でローカルファイルのパスを指定します(複数可・絶対パス推奨)。
例: 送信
{
"to": ["someone@example.com"],
"subject": "レポート送付の件",
"body": "ご確認ください。",
"attachments": [
"/Users/you/Documents/report.pdf",
"/Users/you/Pictures/logo.png"
]
}
例: 下書き作成
{
"to": ["someone@example.com"],
"subject": "資料",
"body": "添付しています。",
"attachments": ["/absolute/path/to/file.txt"]
}
注意事項:
application/octet-streamとして送信します。このプロジェクトはMITライセンスの下で提供されています - 詳細はLICENSEファイルをご覧ください。
Las pull requests a este repositorio son bienvenidas.
Gmail MCP es una implementación de servidor que permite a los asistentes de IA interactuar con Gmail a través del MCP (Model Context Protocol). Proporciona herramientas para enviar correos electrónicos, gestionar borradores, leer correos, buscar en tu bandeja de entrada y administrar etiquetas de Gmail.
git clone https://github.com/ykuchiki/gmail-mcp.git
cd gmail-mcp
uv init
uv pip install -r requirements.txt
Configurar credenciales OAuth
http://localhost:8080/
credentials/client_secret_gmail_oauth.jsonAgregar servidor MCP Por favor, consulta la documentación oficial de tu cliente MCP para instrucciones específicas. Asegúrate de ajustar la ruta según tu entorno.
{
"mcpServers": {
"gmail-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/gmail-mcp/src",
"run",
"main.py"
]
}
}
}
uv run main.py
El servidor puede ser utilizado con cualquier cliente compatible con MCP. En la primera ejecución, te pedirá que te autentiques con tu cuenta de Gmail.
Este proyecto está licenciado bajo la Licencia MIT - consulta el archivo LICENSE para más detalles.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
MCP server integration for DaVinci Resolve Studio
A Jetbrains IDE IntelliJ plugin aimed to provide coding agents the ability to leverage intelliJ's indexing of the codeba