mxHERO Multi-Account Email Search is an MCP server that provides AI assistants with access to mxHERO's Mail2Cloud Advanced vector search infrastructure. The server connects Large Language Models to an enterprise email data service that captures, filters, and indexes emails and attachments from multiple corporate mail accounts into an isolated tenant vector database. Knowledge workers, developers, and enterprise teams use this integration to query extensive correspondence archives directly from tools like Claude Desktop without hitting model context limits. By executing semantic searches across indexed mail, the server retrieves relevant messages, attachments, and metadata, providing permanent links to original records that remain protected from accidental deletion. Implemented as a native Go binary communicating over standard input and output (stdio), it operates without external runtime dependencies on macOS, Windows, and Linux machines. The tool exposes a specialized email search interface requiring an API access token, enabling assistants to extract historical decisions, locate critical communications, and synthesize correspondence scattered across disparate internal inboxes.
Category: AI Memory & Context
Tags: email, mxhero, search, vector-search
Visit mxHERO Multi-Account Email Search
bash git clone https://github.com/mxaiorg/mxmcp cd mxmcp go mod tidy 2. Compile the binary for your operating system and processor using the Makefile, such as make mac-arm, make mac-intel, make windows-intel, or make linux-intel. Alternatively, retrieve a binary from the prebuilt folder. 3. Make sure the binary has executable permissions (for example, run chmod 755 mxmcp on Mac and Linux). 4. Open your claude_desktop_config.json file and register the server under mcpServers: json { "mcpServers": { "mxhero-mcp-server": { "command": "<full path to mxmcp>", "args": [ "-t", "<token>" ] } } } 5. Replace <full path to mxmcp> with your binary location and <token> with your mxHERO access token, then restart Claude Desktop.Part of MCP Servers
You can compile the server directly from source using Go 1.22 or higher and the provided Makefile commands for your architecture, such as make mac-arm or make linux-intel. Alternatively, you can use prebuilt binaries available in the repository. Once compiled, grant execute permissions and point your MCP client to the resulting executable path.
The server implements a single dedicated tool called email_search. It accepts a query string parameter containing the user search prompt, queries the Mail2Cloud Advanced vector database across indexed email accounts, and returns formatted JSON containing the matching messages, metadata, and links.
The server operates over standard input and output (stdio), making it compatible with any client supporting the Model Context Protocol, including Claude Desktop. The project also provides streamable HTTP endpoints for environments that interact over network connections rather than local processes.
To run queries against the vector search service, you must supply an mxHERO vector search personal access token using the -t command line flag. Accounts and authentication tokens can be generated through the mxHERO token portal, and demo accounts are available for initial testing.