Mailjet MCP Server
Overview
This project provides a Model Context Protocol (MCP) server for the Mailjet API, enabling compatible AI agents (e.g. Claude Desktop) to interact with Mailjet's contact, campaign, segmentation, statistics, workflow (and more) APIs through a standardized tool interface.
Quick Start
Manual Installation
-
Clone the repository:
git clone https://github.com/mailgun/mailjet-mcp-server.git cd mailjet-mcp-server -
Install dependencies and build:
pnpm install -
Configure Claude Desktop:
Create or modify the config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
Then start the MCP server:
node src/mailjet-mcp.js
Add the following configuration:
{
"mcpServers": {
"mailjet": {
"command": "node",
"args": ["CHANGE/THIS/PATH/TO/mailjet-mcp-server/src/mailjet-mcp.js"],
"env": {
"MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
}
}
}
}
Supported environment variables
The following environment variables are currently supported by the server:
MAILJET_API_KEY="your_api_key:your_secret_key" # REQUIRED, used for authenticating your account
MAILJET_API_REGION="eu" # OPTIONAL, used to change to the EU servers, if desired
Testing
Run the local test suite with:
NODE_ENV=test pnpm test
Sample Prompts with Claude
Find contacts information
Which of my contacts lists has the most subscribers?
Fetch and Visualize Sending Statistics
Would you be able to make a chart with email delivery statistics for the past week?
Debugging
The MCP server communicates over stdio, please refer to Debugging section of the Model Context Protocol.
License
This project is licensed under the Apache License 2.0. See LICENSE for details.
Contributing
We welcome contributions! Please feel free to submit a Pull Request.
Recommend MCP Servers 💡
@twilio-alpha/mcp
Exposes all of Twilio's APIs as MCP Tools and provides an OpenAPI to MCP Tool generator.
@fluidattacks/mcp
An MCP server that provides tools for interacting with the Fluidattacks API, enabling access to security-related functionalities.
mcp-teams-server
An MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.
@neondatabase/mcp-server-neon
MCP server for interacting with Neon Management API and databases
aws-mcp-server
A lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
putio-mcp-server
An MCP server that enables interaction with put.io, allowing users to list, add, cancel, and retrieve browser links for file transfers.