Mailjet MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP server: Campaign Monitor MCP
Quick Start
Execution through NPX
The project is available on NPM and can be executed through NPX.
In order to start the server locally, simply run the following command:
MAILJET_API_KEY="YOUR_api_key:YOUR_secret_key" npx mailjet-mcp-serverMost of the time, you can choose to take advantage your AI desktop app and link Mailjet MCP directly to it. In this case please add the following MCP config:
"mcpServers": {
"mailjet": {
"command": "npx",
"args": [
"-y",
"@mailjet/mailjet-mcp-server"
],
"env": {
"MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
}
}
}Manual Installation
Clone the repository:
git clone https://github.com/mailgun/mailjet-mcp-server.git cd mailjet-mcp-serverInstall dependencies and build:
pnpm installConfigure Claude Desktop:
Create or modify the config file:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Then start the MCP server:
node src/mailjet-mcp.jsAdd 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 desiredTesting
Run the local test suite with:
NODE_ENV=test pnpm testInspecting the server with MCP Inspector
MCP Inspector lets you list the tools, call them and read the raw protocol messages.
The server communicates over stdio, so the Inspector starts it for you. Run:
MAILJET_API_KEY="YOUR_api_key:YOUR_secret_key" pnpm inspectThe script forwards MAILJET_API_KEY from your shell to the server with the Inspector's -e flag. The Inspector does not pass your shell environment to the server it starts, so without it the server exits with Please provide a valid MAILJET_API_KEY. You can also set the variable in the Environment Variables field of the server settings in the Inspector UI.
Then open the URL printed in the terminal, click Connect, and use the Tools tab to list and call tools.
The Inspector runs a local proxy protected by a session token. Only run it on your own machine and do not expose its port.
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.
Publishing
This package is published on the Mailjet NPM registry. The Mailjet team is responsible for publishing new package updates. Feel free to create an issue if you noticed any divergence between the Github version and the NPM package available.
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
- UnitpostOAuthcom.unitpost
Email and SMS infrastructure, run by your agent: send, campaigns, contacts, domains, webhooks.
AI-native email marketing. Campaigns, automations, transactional, contacts, and analytics.
- SendinelOAuthai.sendinel
AI-controlled email ops for campaigns, contacts, segments, analytics, and sending.
Email, WhatsApp and Telegram for AI agents: send, campaigns, automations, contacts, agent inboxes.
Related MCP Servers
AlicenseBqualityCmaintenanceEnables management of AI-powered email marketing automation, including subscriber segments, campaigns, and templates. It allows users to generate email sequences with AI and track detailed analytics through natural language commands.1003,183 npm2MIT- FlicenseBqualityDmaintenanceEnables management of email campaigns, subscribers, lists, segments, journeys, templates, transactional email, and client/account settings through the Campaign Monitor API via natural language.1001-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with the Mailchimp API for managing campaigns, lists, templates, reports, and automations through natural language.3-

sendcraft-mcpofficial
AlicenseAqualityDmaintenanceEnables AI agents to send emails, manage campaigns, subscribers, templates, and domains via the SendCraft email API.263 npmMIT