Mailspring Server
БесплатноНе проверенEnables AI agents to read email data (threads, messages, contacts, folders, labels) via the Model Context Protocol using Mailspring's DatabaseStore API.
Описание
Enables AI agents to read email data (threads, messages, contacts, folders, labels) via the Model Context Protocol using Mailspring's DatabaseStore API.
README
A Mailspring plugin that runs an MCP (Model Context Protocol) server, giving AI agents read-only access to your email data — threads, messages, contacts, folders, and labels.
The plugin uses Mailspring's own DatabaseStore API, making setup easy and seamless.
Installation
Use this if you want to install the plugin into Mailspring and run it normally.
- Install dependencies and build the plugin:
npm install
npm run build
Install the built plugin into Mailspring through Mailspring's plugin install flow, or place the built plugin directory in Mailspring's
packagesdirectory.Restart Mailspring. The MCP server starts automatically on
http://127.0.0.1:2525/mcp.
MCP Configuration
Import the configuration using the following JSON snippet, example vscode snippet included in repo:
{
"mcpServers": {
"mailspring": {
"url": "http://127.0.0.1:2525/mcp"
}
}
}
Development
Use this if you are actively working on the plugin code.
Install dependencies and build:
npm install npm run buildLink the repo into Mailspring's
packagesdirectory so Mailspring loads your working copy:
./install.sh
- Restart Mailspring.
Available Tools
| Tool | Description |
|---|---|
search_emails |
Full-text search with structured filters (from, to, subject, date range, folder, label, unread, starred, attachments). Supports FTS5 syntax: OR, NOT, quoted phrases, prefix matching. |
read_email |
Read a specific email with full plain-text body content and attachment list |
batch_read_emails |
Read multiple emails at once by ID — full body + attachments for each |
list_threads |
List threads with filters (folder, label, unread, starred, date range, attachments). Returns enriched metadata: message count, last sender, reply status. |
read_thread |
Read a full thread with all messages, reply status, attachment details, sanitized bodyHtml, and stripped plain-text body |
list_contacts |
List or search contacts by name/email |
list_folders |
List all mailbox folders |
list_labels |
List all email labels |
get_recent_emails |
Get recent emails with date range filtering and pagination |
list_drafts |
List draft emails with pagination |
email_stats |
Get mailbox statistics |
Установка Mailspring Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/RyamosThomas/Mailspring-MCPFAQ
Mailspring Server MCP бесплатный?
Да, Mailspring Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mailspring Server?
Нет, Mailspring Server работает без API-ключей и переменных окружения.
Mailspring Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Mailspring Server в Claude Desktop, Claude Code или Cursor?
Открой Mailspring 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 Mailspring Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
