inxmail-mcp
MCP server for the Inxmail Commerce Transactional API. Manage events, sendings, bounces, blocklist, blacklist, reactions, and delivery tracking — directly from Claude.
Quick Start
1. Install
npm install -g inxmail-mcp
# or use npx (no install needed)2. Get API Credentials
In your Inxmail Commerce admin panel, create an API key under API Login Data. You'll get:
API Key ID (username)
API Secret (password)
Your instance name is the subdomain from your Inxmail Commerce API URL:
https://your-instance.api.inxmail-commerce.com/-> instance =your-instance
3. Configure for Claude Code
claude mcp add inxmail-mcp -e INXMAIL_INSTANCE=your-instance -e INXMAIL_API_KEY_ID=your-key-id -e INXMAIL_API_SECRET=your-secret -- npx -y inxmail-mcpOr from source:
claude mcp add inxmail-mcp -e INXMAIL_INSTANCE=your-instance -e INXMAIL_API_KEY_ID=your-key-id -e INXMAIL_API_SECRET=your-secret -- node /path/to/inxmail-mcp/build/index.js4. Configure for Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"inxmail": {
"command": "npx",
"args": ["-y", "inxmail-mcp"],
"env": {
"INXMAIL_INSTANCE": "your-instance",
"INXMAIL_API_KEY_ID": "your-key-id",
"INXMAIL_API_SECRET": "your-secret"
}
}
}
}Available Tools
Core Use Cases
Tool | Description |
| Check delivery status for an email — sendings, bounces, reactions, and block status |
| Check if an email is blocked (blocklist hard bounces + blacklist explicit blocks) |
| Get API entry point with links to all available resources |
Events
Tool | Description |
| Trigger a transactional email event |
| Get the state/result of a triggered event by transaction ID |
| List all configured event types |
| Get a single event type by ID |
Sendings
Tool | Description |
| List sent transaction emails with filters |
| Get details of a specific sending by ID |
Reactions & Tracking
Tool | Description |
| List recipient reactions (opens and clicks) |
| List delivery status information |
Bounces & Complaints
Tool | Description |
| List bounced transaction emails |
| List feedback loop complaints |
Blocklist (Hard Bounces)
Tool | Description |
| List hard-bounce blocked email addresses |
| Check if a specific email is on the blocklist |
| Remove an email from the blocklist |
Blacklist (Explicit Blocks)
Tool | Description |
| List explicitly blacklisted email addresses |
| Check if a specific email is on the blacklist |
| Add an email address to the blacklist |
| Remove an email from the blacklist |
Mail Relay
Tool | Description |
| List mail relay sendings |
| Get details of a specific mail relay sending |
| List mail relay reactions (opens, clicks) |
| List mail relay bounces |
| List mail relay complaints |
Raw Mail
Tool | Description |
| Send a complete RFC 5322 email (Base64-encoded) |
Error Logs
Tool | Description |
| List error log entries |
| Get a single error log entry by ID |
| Mark an error log entry as read |
Example Prompts
"Is test@example.com blocked or blacklisted?"
"Check the delivery status for user@example.com"
"List all bounces from last week"
"Trigger a welcome email event for new-user@example.com"
"Show me all event types configured in the system"
"List recent complaints from the last 30 days"Development
git clone https://github.com/shahabazdev/inxmail-mcp.git
cd inxmail-mcp
npm install
npm run buildTesting
npm test # run all tests
npx vitest # run in watch modeRuns unit tests with Vitest covering:
API client (auth, request methods, query params, pagination, error handling)
Tool registration (all 29 tools registered, no duplicates)
Environment Variables
Variable | Required | Description |
| Yes | Instance subdomain (e.g. |
| Yes | API Key ID |
| Yes | API Secret |
License
MIT