Mimecast MCP Server
A Model Context Protocol (MCP) server for Mimecast email security. Enables AI assistants to track messages, investigate threats, manage email queues, and access threat intelligence data.
This is a Model Context Protocol (MCP) server that connects Claude (or any MCP-compatible AI) to your Mimecast environment.
Part of the MSP Claude Plugins ecosystem — a growing suite of AI integrations for the MSP stack. Built by MSPs, for MSPs.
Installation
npm install @wyre-technology/mimecast-mcp
Configuration
Set the following environment variables:
| Variable | Required | Description |
|---|---|---|
MIMECAST_CLIENT_ID | Yes | Your Mimecast API client ID |
MIMECAST_CLIENT_SECRET | Yes | Your Mimecast API client secret |
MIMECAST_REGION | Yes | Your Mimecast region: us, eu, de, au, za, ca |
MCP_TRANSPORT | No | Transport mode: stdio (default) or http |
Usage
Running with Claude Desktop
Add to your Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"mimecast-mcp": {
"command": "npx",
"args": ["@wyre-technology/mimecast-mcp"],
"env": {
"MIMECAST_CLIENT_ID": "your-mimecast-client-id"
"MIMECAST_CLIENT_SECRET": "your-mimecast-client-secret"
"MIMECAST_REGION": "your-mimecast-region"
}
}
}
}
Running with Claude Code (CLI)
claude mcp add mimecast-mcp \
-e MIMECAST_CLIENT_ID=your-value \
-e MIMECAST_CLIENT_SECRET=your-value \
-e MIMECAST_REGION=your-value \
-- npx -y @wyre-technology/mimecast-mcp
Docker
docker build -t mimecast-mcp .
docker run \
-e MIMECAST_CLIENT_ID=your-value \
-e MIMECAST_CLIENT_SECRET=your-value \
-e MIMECAST_REGION=your-value \
-p 8080:8080 mimecast-mcp
Available Domains
Messages
Message tracking and investigation
Queue
Email queue management
Threats
Threat intelligence and detection data
Development
# Clone the repository
git clone https://github.com/wyre-technology/mimecast-mcp.git
cd mimecast-mcp
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
Contributing
Contributions are welcome! Please see CONTRIBUTING.md if present, or open an issue to discuss changes.
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.