Search across multiple email accounts using mxHERO's vector search service.
This MCP (model context protocol) server is a Go project that provides access to mxHERO's multi-account email search service.
The Model Context Protocol (MCP) is a framework designed to standardize the way models interact with various data sources and services. In this project, MCP is used to facilitate seamless integration to mxHERO Mail2Cloud Advanced. Mail2Cloud Advanced is a high performance data service for a company's email data. Mail2Cloud Advanced connects to company email services and optimizes the content for fast, scalable and secure access by AI solutions.
Mail2Cloud is designed to selectively capture emails from one or more accounts. The selection of emails can be finely controlled by powerful filters examining any aspect of messages and their attachments. Captured emails are then optimized and stored into an isolated tenant in a vector database designed for email related searches. This MCP accesses the stored emails in the tenant through authenticated access credentials.
Solutions built with Mail2Cloud Advanced MCP outperforms other AI solutions with regards to email data search & knowledge recovery (study)
To facilitate exploration of this MCP, mxHERO provides demo accounts that are pre-loaded with thousands of emails. More about the demo emails can be found here.
For more information see: mxHERO Mail2Cloud Advanced multi-email account service, including architecture, and optimizations.
Unlike Python or Javascript MCPs, Go compiles to native static binary. Once compiled for a target architecture (e.g., Mac ARM, Windows Intel) and installed, no additional dependencies (software) are required on the user's device.
A Python version can be found here.
This MCP repo is the 'stdio' variant. HTTP options exist at the following addresses:
email_search
Search stored emails
Parameters
query
(str): Email search queryReturns JSON of search results
git clone https://github.com/mxaiorg/mxmcp cd mxmcp go mod tidy
Be sure to compile for the architecture of the user's computer. You will need to match the operating system and processor architecture. The included Makefile provides for a few of the most common.
OS | Architecture | Make command |
---|---|---|
Windows | Intel | make windows-intel |
Mac | Arm (Mac silicon - M1...) | make mac-arm |
Mac | Intel | make mac-intel |
Linux | Intel | make linux-intel |
For more operating systems and architectures see Go compilation documentation.
Example build
make mac-arm
After make
is run it will place the program (binary) in the bin
folder. Copy this binary to the user's computer and see the configuration instructions below.
For example: cp bin/mxmcp-mac-arm ~user
Note
For convenience the prebuilt
folder contains prebuilt binaries and signed installation packages. See the "readme" file in that folder for more information.
If NOT installing with an installation package, do the following:
chmod 755 mxmcp
The following is an example configuration JSON for common clients (e.g., Claude). For details of installing MCPs in Claude see https://modelcontextprotocol.io/quickstart/user
claude_desktop_config
.json
/Users/bob/mxmcp-mac-arm
{ "mcpServers": { "mxhero-mcp-server": { "command": "", "args": [ "-t", "", "-d", "" ] } } }
Interacting with Perplexity
Perform conversational searches with the Perplexica AI-powered answer engine.
Performs web searches using the Gemini Web Search Tool via the local gemini-cli.
An MCP server for expert discovery, registration, and context injection, utilizing vector and graph databases.
An MCP server for advanced research assistance, configurable via environment variables.
Provides comprehensive enterprise risk analysis, including violation records, mortgage information, business anomalies, and judicial cases.
Search for South Korean tourism information, including festivals, temples, and restaurants, using the official Korea Tourism Organization API.
Provides comprehensive patent search and statistical analysis for intelligence analysis, technological innovation, and intellectual property management.
An MCP server for Google Search provided by CData, which requires an external CData JDBC Driver.
Access GeoRanker's SEO and keyword research tools for advanced search engine optimization analysis.