Skip to main content
Glama
Inxmail MCP

Inxmail MCP

by shahabazdev

inxmail-mcp

CI npm version npm downloads License: MIT MCP Node.js Glama Awesome MCP Servers

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-mcp

Or 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.js

4. 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"
      }
    }
  }
}

Related MCP server: Sitecore Send

Available Tools

Core Use Cases

Tool

Description

check_email_delivery

Check delivery status for an email — sendings, bounces, reactions, and block status

check_email_blocked

Check if an email is blocked (blocklist hard bounces + blacklist explicit blocks)

get_server_info

Get API entry point with links to all available resources

Events

Tool

Description

trigger_event

Trigger a transactional email event

get_event_state

Get the state/result of a triggered event by transaction ID

list_event_types

List all configured event types

get_event_type

Get a single event type by ID

Sendings

Tool

Description

list_sendings

List sent transaction emails with filters

get_sending

Get details of a specific sending by ID

Reactions & Tracking

Tool

Description

list_reactions

List recipient reactions (opens and clicks)

list_deliveries

List delivery status information

Bounces & Complaints

Tool

Description

list_bounces

List bounced transaction emails

list_complaints

List feedback loop complaints

Blocklist (Hard Bounces)

Tool

Description

list_blocklist

List hard-bounce blocked email addresses

get_blocklist_entry

Check if a specific email is on the blocklist

remove_from_blocklist

Remove an email from the blocklist

Blacklist (Explicit Blocks)

Tool

Description

list_blacklist

List explicitly blacklisted email addresses

get_blacklist_entry

Check if a specific email is on the blacklist

add_to_blacklist

Add an email address to the blacklist

remove_from_blacklist

Remove an email from the blacklist

Mail Relay

Tool

Description

list_relay_sendings

List mail relay sendings

get_relay_sending

Get details of a specific mail relay sending

list_relay_reactions

List mail relay reactions (opens, clicks)

list_relay_bounces

List mail relay bounces

list_relay_complaints

List mail relay complaints

Raw Mail

Tool

Description

send_raw_mail

Send a complete RFC 5322 email (Base64-encoded)

Error Logs

Tool

Description

list_error_logs

List error log entries

get_error_log

Get a single error log entry by ID

mark_error_log_read

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 build

Testing

npm test          # run all tests
npx vitest        # run in watch mode

Runs 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

INXMAIL_INSTANCE

Yes

Instance subdomain (e.g. your-instance)

INXMAIL_API_KEY_ID

Yes

API Key ID

INXMAIL_API_SECRET

Yes

API Secret

License

MIT

Available Tools

29 tools
add_to_blacklistA

Explicitly blacklist an email address, permanently preventing all future emails to this address. This is a write operation — the recipient will not receive any transactional or relay emails until removed via remove_from_blacklist. Use this for opt-out requests or compliance blocks. Returns the created blacklist entry.

Inputs: email (required).

check_email_blockedA

Comprehensive block check — queries both the blocklist (auto-blocked from hard bounces) and the blacklist (manually blocked) in a single call. Use this as the first step when investigating why an email isn't being delivered. Returns a summary with blocked status, which lists the email appears on, and the full entry details. Prefer this over separate get_blocklist_entry/get_blacklist_entry calls. Read-only.

Inputs: email (required).

check_email_deliveryA

Full delivery diagnostic for a specific email address. Aggregates block status (blocklist + blacklist), sendings, bounces (hard/soft), and reactions (opens/clicks) into a single report. Use this as the primary tool for investigating delivery issues — it replaces the need to call list_sendings, list_bounces, list_reactions, and check_email_blocked separately. Defaults to the last 30 days if no date range is specified. Read-only.

Inputs: email (required), begin, end.

get_blacklist_entryA

Check if a specific email is on the explicit blacklist. Returns the blacklist entry with block date if found, or a 'not blacklisted' response if absent. Use this for a single-email lookup; use list_blacklist to browse all entries; use check_email_blocked to check both blocklist and blacklist at once. Read-only.

Inputs: email (required).

get_blocklist_entryA

Check if a specific email is on the hard-bounce blocklist. Returns the block date and email if found, or a 'not blocked' response if the email is not on the blocklist. Use this for a single-email lookup; use list_blocklist to browse all entries; use check_email_blocked to check both blocklist and blacklist at once. Read-only.

Inputs: email (required).

get_error_logA

Get full details of a specific error log entry by its ID. Returns the error message, timestamp, and context. Use this after finding an entry via list_error_logs. Use mark_error_log_read to acknowledge it after review. Read-only.

Inputs: errorLogId (required).

get_event_stateA

Check the processing state of a previously triggered event. Use after trigger_event to verify whether the email was accepted, sent, bounced, or failed. Returns state details including any error information. Read-only.

Inputs: transactionId (required).

get_event_typeA

Get detailed configuration of a single event type by its ID. Returns the event type name, description, and configuration. Use this when you already have an event type ID and need its details; use list_event_types to discover available IDs. Read-only.

Inputs: eventTypeId (required).

get_relay_sendingA

Get full details of a specific mail relay sending by its ID. Returns recipient, timestamps, correlation IDs, and delivery status. Use this when you have a relay sending ID from list_relay_sendings. For event-triggered sendings, use get_sending instead. Read-only.

Inputs: relaySendingId (required).

get_sendingA

Get full details of a specific transactional email sending by its ID. Returns recipient, event type, timestamps, and delivery status. Use this when you have a specific sending ID from list_sendings or get_event_state. For mail relay sendings, use get_relay_sending instead. Read-only.

Inputs: sendingId (required).

get_server_infoA

Get the Inxmail Commerce API entry point. Returns HAL+JSON with _links to all available resources (sendings, bounces, blocklist, blacklist, events, etc.). Use this to discover available endpoints or verify API connectivity. Read-only, no side effects.

Inputs: no named parameters.

list_blacklistA

List email addresses that have been explicitly (manually) blacklisted. Unlike the blocklist (auto-populated from hard bounces), blacklist entries are added intentionally via add_to_blacklist. Blacklisted addresses cannot receive any emails. Use get_blacklist_entry to check a specific email, or check_email_blocked for a combined blocklist+blacklist check. Returns paginated HAL+JSON with email and block date. Read-only.

Inputs: begin, end, size, page.

list_blocklistA

List email addresses automatically blocked due to hard bounces. The blocklist is managed by Inxmail — addresses are added automatically when a hardbounce occurs. Unlike the blacklist (manually managed), blocklist entries reflect delivery failures. Use get_blocklist_entry to check a specific email, or check_email_blocked for a combined check. Returns paginated HAL+JSON with email and block date. Read-only.

Inputs: begin, end, size, page.

list_bouncesA

List bounced transactional emails. Bounces indicate delivery failures — hardbounces mean the address is permanently invalid (auto-added to blocklist), softbounces are temporary failures (e.g. mailbox full). Use this to investigate delivery issues for event-triggered emails. For mail relay bounces, use list_relay_bounces instead. Returns paginated HAL+JSON with bounce type, email, reason, and timestamps. Read-only.

Inputs: bounceType, event, eventId, sendingId, +6 more.

list_complaintsA

List feedback loop complaints for transactional emails. Complaints occur when recipients mark emails as spam via their email provider. Use this to identify recipients who reported transactional emails as unwanted. For mail relay complaints, use list_relay_complaints instead. Returns paginated HAL+JSON with complaint type, email, and timestamps. Read-only.

Inputs: complaintType, event, eventId, sendingId, +6 more.

list_deliveriesA

List delivery status records showing the final delivery outcome for sent emails. Use this for a high-level overview of delivery success/failure across all emails. For detailed per-recipient diagnostics, use check_email_delivery instead. Returns paginated HAL+JSON with delivery details. Read-only.

Inputs: size, page.

list_error_logsA

List system error log entries from Inxmail. Errors include API failures, rendering issues, and processing problems — not bounce/delivery errors (use list_bounces for those). Use this to diagnose server-side issues. Use get_error_log for full details of a specific entry, and mark_error_log_read to acknowledge it. Returns paginated HAL+JSON. Read-only.

Inputs: size, page.

list_event_typesA

List all configured transactional event types in Inxmail. Event types define the templates and triggers for transactional emails (e.g. order confirmation, password reset). Use this to discover available event type IDs before calling trigger_event. Returns paginated HAL+JSON with event type details. Read-only.

Inputs: name, size, page.

list_reactionsA

List recipient reactions (opens and clicks) for transactional emails. Use this to track engagement — who opened or clicked links in event-triggered emails. Filter by reaction type, recipient, event, sending, or date range. For mail relay reactions, use list_relay_reactions instead. Returns paginated HAL+JSON with reaction type, timestamp, and recipient details. Read-only.

Inputs: reactionType, event, eventId, mailingId, +8 more.

list_relay_bouncesA

List bounced mail relay emails. Hardbounces indicate permanent delivery failures; softbounces are temporary (e.g. mailbox full). Use this for relay-sent emails only; for event-triggered transactional bounces, use list_bounces instead. Filter by bounce type, recipient, relay sending ID, correlation IDs, or date range. Returns paginated HAL+JSON. Read-only.

Inputs: bounceType, email, relaySendingId, correlationId1, +6 more.

list_relay_complaintsA

List feedback loop complaints for mail relay emails. Complaints occur when recipients mark relay-sent emails as spam. Use this for relay emails only; for event-triggered transactional complaints, use list_complaints instead. Filter by complaint type, recipient, relay sending ID, correlation IDs, or date range. Returns paginated HAL+JSON. Read-only.

Inputs: complaintType, email, relaySendingId, correlationId1, +6 more.

list_relay_reactionsA

List recipient reactions (opens and clicks) for mail relay emails sent via SMTP relay. Use this to track engagement on relay-sent emails. For reactions on event-triggered transactional emails, use list_reactions instead. Filter by reaction type, recipient, relay sending ID, correlation IDs, or date range. Returns paginated HAL+JSON. Read-only.

Inputs: reactionType, email, relaySendingId, correlationId1, +7 more.

list_relay_sendingsA

List mail relay sendings — emails sent via Inxmail's SMTP relay (not event-triggered). Mail relay is used when your application sends emails through Inxmail as an SMTP gateway. Use list_sendings for event-triggered transactional emails instead. Filter by recipient, correlation IDs, or date range. Returns paginated HAL+JSON. Read-only.

Inputs: email, correlationId1, correlationId2, correlationId3, +4 more.

list_sendingsA

List transactional email sendings (event-triggered emails only, not mail relay). Use this to audit which transactional emails were sent, to whom, and when. Filter by recipient email, event type, customer ID, or date range. For mail relay sendings, use list_relay_sendings instead. For a comprehensive delivery report including bounces and reactions, use check_email_delivery. Returns paginated HAL+JSON with sending details. Read-only.

Inputs: event, eventId, customerId, email, +4 more.

mark_error_log_readA

Mark an error log entry as read/acknowledged. This is a write operation that updates the entry's read status. Use this after reviewing an error via get_error_log to track which errors have been addressed. Returns empty response on success.

Inputs: errorLogId (required).

remove_from_blacklistA

Remove an email from the explicit blacklist, allowing emails to be sent to this address again. This is a write operation. Only removes from the blacklist (manual blocks) — if the address is also on the blocklist (hard bounces), use remove_from_blocklist as well. Returns empty response on success.

Inputs: email (required).

remove_from_blocklistA

Remove an email from the hard-bounce blocklist, allowing transactional emails to be sent to this address again. This is a write operation — use with caution, as the address previously caused a permanent delivery failure. The address may be re-added automatically if it bounces again. Returns empty response on success.

Inputs: email (required).

send_raw_mailA

Send a fully composed RFC 5322 email via Inxmail's infrastructure. The message must be Base64-encoded and include all headers (From, To, Subject, MIME). This is a write operation — it dispatches a real email. Use this for custom one-off emails that don't fit an event type template. Returns the sending result.

Inputs: message (required).

trigger_eventA

Trigger a transactional email event, causing Inxmail to send an email to the recipient specified in the payload. This is a write operation — it dispatches an actual email. Use get_event_state with the returned transactionId to check delivery outcome. Provide a transactionId for deduplication within a 72-hour window. Returns the transaction ID and acceptance status.

Inputs: event (required), payload (required), transactionId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 29 tools

    Disambiguation4/5

    Tools are clearly distinguished by email pipeline (relay vs. event-triggered) and operation type, with excellent cross-referencing in descriptions (e.g., 'use X instead of Y'). Minor overlap exists between composite checkers (check_email_blocked, check_email_delivery) and granular getters, but descriptions explicitly guide preferred usage.

    Naming Consistency5/5

    Strict adherence to verb_noun snake_case throughout (add_to_blacklist, list_relay_bounces, mark_error_log_read). Vocabulary is consistent across parallel tool sets (relay vs. transactional variants use identical verb patterns), making the 29-tool surface predictable.

    Tool Count3/5

    At 29 tools, the surface exceeds the ideal range and feels dense, though justified by the dual-pipeline domain (event-triggered vs. SMTP relay). The consistent naming patterns help manage the complexity, but the count approaches the threshold where agent selection becomes challenging.

    Completeness4/5

    Excellent lifecycle coverage for blacklists/blocklists and comprehensive monitoring (bounces, complaints, reactions, deliveries, error logs) across both email pipelines. Minor gaps include lack of single-item getters for bounces/complaints and no event type management (create/update), which appear to be admin-only functions.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      B
      maintenance
      An MCP server implementation that allows sending emails over MailPace's fast transactional email API.
      1
      86 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for Mailtarget that exposes tools to discover and call management API endpoints and send transactional emails via the Transmission API.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Remote MCP server for the Transmit email platform, enabling email sending, contact management, template and campaign operations via natural language.
      -