Mailspring MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mailspring MCP Server Plugin
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 buildInstall 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.
Related MCP server: Gmail MCP Server
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.shRestart Mailspring.
Available Tools
Tool | Description |
| Full-text search with structured filters (from, to, subject, date range, folder, label, unread, starred, attachments). Supports FTS5 syntax: |
| Read a specific email with full plain-text body content and attachment list |
| Read multiple emails at once by ID — full body + attachments for each |
| List threads with filters (folder, label, unread, starred, date range, attachments). Returns enriched metadata: message count, last sender, reply status. |
| Read a full thread with all messages, reply status, attachment details, sanitized |
| List or search contacts by name/email |
| List all mailbox folders |
| List all email labels |
| Get recent emails with date range filtering and pagination |
| List draft emails with pagination |
| Get mailbox statistics |
This server cannot be deployed
Maintenance
Related MCP Connectors
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Stateful email for AI agents — read inboxes, reply in-thread, draft with approval.
Email, calendar and contacts for AI agents: Gmail, Microsoft 365 and IMAP accounts behind one API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access Thunderbird email, contacts, and calendars through the Model Context Protocol, with tools for searching, reading, composing, and managing messages.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Gmail through natural language, including search, read, send, label, and draft operations via the Model Context Protocol.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to read, filter, send emails, and check unread counts via the Model Context Protocol using Gmail SMTP/IMAP.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search and read a local, provider-independent email archive, reconstruct contacts and interactions, and prepare draft responses without sending anything.1MIT