bluemind-mcp
Read-only MCP server to search and read emails and calendar events from a BlueMind account via the BlueMind REST API.
README
bluemind-mcp
MCP (Model Context Protocol) server to read and search emails and calendar events from a BlueMind account (built against the BlueMind 5.x REST API).
Read-only: no tool modifies, sends or deletes anything.
Configuration
Three required environment variables:
| Variable | Description |
|---|---|
BLUEMIND_URL |
Server URL, e.g. https://mail.example.com |
BLUEMIND_EMAIL |
User login (email address) |
BLUEMIND_PASSWORD |
Password |
BLUEMIND_ALLOW_INSECURE_TLS |
(optional) 1 to accept self-signed certificates |
Authentication goes through POST /api/auth/login; the session authKey is then sent as the X-BM-ApiKey header on every call. The session is renewed automatically when it expires.
Usage
Add this to your MCP client configuration (mcp_config.json, claude_desktop_config.json, etc.):
{
"mcpServers": {
"bluemind": {
"command": "npx",
"args": ["-y", "github:AlexMili/bluemind-mcp"],
"env": {
"BLUEMIND_URL": "https://mail.example.com",
"BLUEMIND_EMAIL": "john.doe@example.com",
"BLUEMIND_PASSWORD": "..."
}
}
}
}
Or from a local checkout:
npm install
npm run build
{
"mcpServers": {
"bluemind": {
"command": "node",
"args": ["/path/to/bluemind-mcp/dist/index.js"],
"env": {
"BLUEMIND_URL": "https://mail.example.com",
"BLUEMIND_EMAIL": "john.doe@example.com",
"BLUEMIND_PASSWORD": "..."
}
}
}
}
Tools
list_mail_folders— list mail folders (INBOX, Sent, …) with theirfolder_uid.search_emails— full-text search (Elasticsearchquery_stringsyntax):invoice,subject:meeting AND from:peter,has:attachments… Searches the whole mailbox by default, or a single folder. Parameters:query,folder_uid?,folder_name?,limit,offset.list_recent_emails— latest messages of a folder (default INBOX), with anunread_onlyoption.read_email— full message content (folder_uid+item_idas returned by the two tools above): headers, text body (HTML converted to text), attachment list. Optionprefer_html.
Calendar
list_calendars— calendars accessible to the user, with theircalendar_uid. The default calendar iscalendar:Default:<USERID>.search_events— text search over events (POST /api/calendars/{uid}/_search), with an optional date range. Parameters:query,calendar_uid?,date_min?,date_max?,limit,offset.list_events— agenda view over a date range (date_min/date_max,YYYY-MM-DDor ISO format). Recurring events are returned as series with their recurrence rule.
Development
npm run dev # tsc --watch
Quick protocol check without an MCP client:
printf '%s\n%s\n%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
| BLUEMIND_URL=... BLUEMIND_EMAIL=... BLUEMIND_PASSWORD=... node dist/index.js
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.