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. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
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
