Gmail Sorter
FreeNot checkedEnables sorting and managing Gmail messages using multi-agent Claude Code. Provides MCP tools for Gmail operations like listing unread emails and creating label
About
Enables sorting and managing Gmail messages using multi-agent Claude Code. Provides MCP tools for Gmail operations like listing unread emails and creating labels.
README
Система сортировки личного Gmail на мультиагентах Claude Code. Полная архитектура — в architecture.md. Этот репозиторий реализует её по фазам.
Статус: Фазы 0–4. Продакшн-запуск на VPS по расписанию — см. docs/runbook.md.
Требования
- Python 3.11+
- (для живых Gmail-вызовов) OAuth-клиент из Google Cloud Console с включённым Gmail API
Установка
python -m venv .venv
# Windows PowerShell:
.venv\Scripts\Activate.ps1
# Linux/macOS:
# source .venv/bin/activate
pip install -e ".[dev]"
Тесты (работают офлайн, без Gmail-кредов)
python -m pytest
Инициализация state.db
БД создаётся автоматически при старте MCP-сервера. Вручную:
python -c "import sys; sys.path.insert(0,'mcp'); import db; db.init_db('data/state.db'); print('ok')"
OAuth (разово, требует client_secret из Google Cloud)
# Положи скачанный client_secret в .gmail-credentials.json (см. .env.example)
python mcp/google_auth.py # откроет браузер, сохранит .gmail-token.json
Создание меток Gmail (разово, после OAuth)
python scripts/setup_labels.py
Запуск MCP-сервера через Claude Code
Скопируй .claude/settings.local.json.example → .claude/settings.local.json. ВАЖНО: значение command должно указывать на python из venv (Claude Code запускает MCP-сервер отдельным процессом и НЕ наследует активированный venv): на Windows — .venv\Scripts\python.exe, на Linux VPS — .venv/bin/python. Затем в Claude Code вызови инструменты mcp__gmail__list_unread_batch и т.д.
Installing Gmail Sorter
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/staschatwork/gmail-sorterFAQ
Is Gmail Sorter MCP free?
Yes, Gmail Sorter MCP is free — one-click install via Unyly at no cost.
Does Gmail Sorter need an API key?
No, Gmail Sorter runs without API keys or environment variables.
Is Gmail Sorter hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Gmail Sorter in Claude Desktop, Claude Code or Cursor?
Open Gmail Sorter on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by 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)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server, with ready-made public servers for GitHub, Stripe, Slack, OpenAI, Notion and more.
by Work90210arikusi/deepseek-mcp-server
DeepSeek AI chat and reasoning with multi-turn sessions, function calling, thinking mode and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
Discover, register and chat with AI agents on the Hashgraph network via the Registry Broker.
by hashgraph-onlineprofullstack/mcp-server
Developer utilities: SEO optimization, document conversion, domain lookup, email validation, QR codes, weather data, social media posting and security scanning.
by profullstackWayStation-ai/mcp
Connect MCP hosts to apps such as Notion, Slack, Monday and Airtable.
by waystation-aiCompare Gmail Sorter with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
