Mailspring MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mailspring MCP Servershow me recent emails from Alice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceEnables AI agents to query databases via natural language using the Model Context Protocol, with automatic schema discovery, SQL query execution, and read-only safety checks.Last updated
- Flicense-qualityDmaintenanceProvides access to Gmail functionality through the Model Context Protocol, allowing LLMs like Claude to interact with your email.Last updated2
- Flicense-qualityDmaintenanceEnables AI agents to access Thunderbird email, contacts, and calendars through the Model Context Protocol, with tools for searching, reading, composing, and managing messages.Last updated3
- Flicense-qualityDmaintenanceEnables AI agents to manage Gmail through natural language, including search, read, send, label, and draft operations via the Model Context Protocol.Last updated
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RyamosThomas/Mailspring-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server