Blog

MCP Solution: Sales & Account Management – Seamless Handoff

How To build a powerful AI solution with the mxHERO and Box MCPs

Box, mxHERO, and other MCPs transform AI models into novel solutions for use cases across organizations of all sizes and missions

The following How-To shows you how to build a very cool and useful AI solution leveraging mxHERO’s MCP (model context protocol) to tap into the vast institutional knowledge hidden in your organization’s emails. We combine mxHERO’s MCP with Box’s MCP to show how immense capability can be unleashed with only a handful of MCPs. You’ll get all the source code and learn a few tips and tricks when building MCP solutions.

To see the types of use cases this build can solve, watch the following video. The video describes the use case of how a new employee can immediately tap into institutional knowledge and rapidly become productive on day one. Just a couple of years ago, a solution like this was basically science fiction!

The Story

Our scenario is a new sales rep, Ralph, tasked with taking on the customer account of a former rep who has left the company. Ralph uses the organization’s AI tools to access the latest emails between the company and the customer. The AI finds the latest correspondences and “notices” that the customer is waiting to increase an order. Ralph asks the AI if there are any volume discounts and then asks the AI to compose an email and generate a quote. Finally, he asks the AI to send the email and quote to the customer. Amazingly, the AI precisely orchestrates its MCP tools, and the entire scenario results from a natural language conversation — truly amazing!

Video demonstration of mxHERO & Box MCP orchestration by Claude for Desktop

To pull off the above scenario, we need to provide our LLM with a few tools. Below is a table of the tools and which MCP provides them:

MCPs and the tools they provide

Step 1: Grab your MCP client

First, you’ll need an MCP chat client. Here is one of many lists of clients (300+ MCP Clients: AI-powered apps for MCP). For this demo, the type you’ll need is the “Chat” variety; think ChatGPT’s web app. Here are a few options (no recommendation or preference):

Example MCP clients

Step 2: Install MCPs

Now, let’s install our first MCP — mxMCP. mxMCP is the tool your LLM will use when you request information from your organization’s emails. Developed by mxHERO, mxMCP is a high-performance connector custom-designed for email content, enabling your AI model to work with massive email repositories (hundreds of thousands+ messages & attachments) and securely access emails across multiple email accounts, whether archival or emails sent and received in realtime. mxMCP connects to mxHERO Mail2Cloud Advanced to access email data. For this demo, you can use a preconfigured demo account.

Installation Options

There are two types of MCP installation: local and remote. In a local installation, the MCP server is run locally on your computer. Conversely, a remote installation targets an MCP server on the Internet. Because no software needs to be installed, remote MCPs are simpler to integrate. However, as of this writing, the specification for remote MCPs is still relatively new, and not all MCPs offer a remote alternative.

mxMCP offers both local and remote options. If you are interested in using the local mxMCP, you can find installation instructions here:

To use the remote mxMCP server, no software needs to be installed, only configured in your AI client. Continue installing the other MCPs in this guide, namely, mxDemo and the Box MCP, and then we’ll cover the mxMCP configuration.

Install mxDemo

mxDemo adds mock tools to help us tell the above story. It provides several tools:

Tools provided by the mxDemo tool

To install mxDemo access the repository and follow the readme instructions:

Several tools in mxDemo showcase MCP development tricks and tips:

wait_pause

wait_pause is needed to provide a timed delay for tools that require more time to execute. In our case, Box DocGen (called to fill out an invoice template) is a process that takes a little time to complete. Simply instructing the LLM to wait X seconds often does not work. The LLM needs a timer function to wait a set amount of time. This tool provides that timer.

quote_file

Take a look at the code for quote_file. It shows an interesting technique when building MCPs. Instead of calling external resources, it provides a set of instructions informing the LLM how to orchestrate sets of tools (even from other MCPs). Essentially, it is a tool that provides a prompt. It also takes arguments, making the prompt logic programmable and dynamic — very interesting.

Install Box MCP

Install the Box MCP following the instructions in the git repository readme box-community/mcp-server-box: An MCP server capable of interacting with the Box API

Note that as of this writing, Box offers a remote MCP option. More about this can be found https://developer.box.com/guides/box-mcp/remote/.

Install an Emailer MCP

To send email, you will need to install an Emailer MCP. You can find emailer MCPs in any MCP listing, like, https://www.pulsemcp.com/.

Step 3: Configure your MCP Client

Each MCP needs to be added to the configuration of your MCP client. Here, we’ll show Claude for Desktop (https://claude.ai/download). If you are not using Claude for Desktop, consult the instructions of your particular client.

Adding mxMCP remote

To use mxMCP, you will need a Mail2Cloud Advanced account. The instructions here provide a demo account preloaded with demo email content. To learn more about using the mxHERO Demo account and its preloaded data, see this article.

The following video shows how to install a remote client in Claude. For this step, be sure to use Claude in a browser rather than the desktop client, or at least have an authenticated Claude session in your default browser. This facilitates the web based authentication process and also installs on the desktop client.

Configuring Claude (web app) with mxMCP (remote MCP)

There are two URL paths for remote mxMCP configuration. Depending on your MCP client, you may need to use the legacy SSE url:

Alternatively — adding mxMCP local (stdio)

If your client does not support remote MCPs, local (stdio) MCPs of mxMCP are available here:

Instructions for installing and configuring the local MCPs can be found in their respective readme files.

Configuring mxDemo (local)

After installing mxDemo, include the configuration JSON in Claude’s configuration file.

{
"mxhero-demo-mcp-server": {
"args": [],
"command": "/usr/local/bin/mxdemo"
}
}

Remember to put your full path to the compiled mxDemo (in the example above this is “/usr/local/bin/mxdemo”). More setup details for mxmcp at https://github.com/mxaiorg/mxdemo-mcp.

Configure Box MCP

Configure the Box MCP following the instructions in the git repository readme (or here for the remote version).

Configure the Emailer MCP

If you plan on emailing out of your AI solution, be sure to configure your emailer according to its instructions.

Final Configuration

With each of the above installed, your claude_desktop_config.json file should look something like the one below. Here, we have Box and mxDemo installed as local servers.

{
"mcpServers": {
"box": {
"args": [
"--directory",
"/your/path/to/mcp-server-box",
"run",
"src/mcp_server_box.py"
],
"command": "uv"
},
"mxhero-demo-mcp-server": {
"args": [],
"command": "/your/path/to/bin/mxdemo"
}
}
}

Where is mxMCP? That’s a good question. It isn’t configured here because it is a remote MCP, which in Claude is configured in a different place — under Integrations (see video above). That said, if you opted for the local version of mxMCP, you need an entry for that here. Consult its readme for details.

Note that the installation and use of the local MCPs only work from Claude for Desktop (or other desktop MCP clients), not the web app.

If all MCPs are installed, Claude for Desktop should look a little something like the picture below…

Claude showing mxMCP, mxDemo and Box MCP installed.

Testing

Now that you have everything installed, you should be able to replicate the above video. For further test ideas specific to mxMCP, see this page.

Closing

The ability to extend AI with tools via a standardized interface (MCP) is truly foundational to AI’s transformation of the future of work. In this article, we took a handful of tools and demonstrated a workflow that might normally have taken days to perform and resolved it in minutes.

Two aspects of MCPs are particularly impressive: 1) how intelligently models orchestrate the tools they have available to them and 2) how truly complex workflows can be resolved with humanity’s most natural UI … a conversation.

Have fun building incredible solutions!

See mxHERO on your own email and cloud storage.

A 30-minute walkthrough with our team, tailored to your mail system, storage platform and AI tools.