npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

inboxassure-mcp-server

v5.0.0

Published

Comprehensive MCP server for InboxAssure email marketing platform with full API coverage including campaigns, replies, and email account management.

Readme

InboxAssure MCP Server

Comprehensive Model Context Protocol (MCP) server for the InboxAssure email marketing platform. This server provides full API coverage with 23 tools for managing campaigns, replies, and email accounts through AI assistants like Claude and Cursor.

Features

  • 23 comprehensive tools covering the entire InboxAssure API
  • Campaigns Management: Create, manage, and analyze email campaigns
  • Replies Management: Handle incoming emails and compose responses
  • Email Accounts: Manage sender accounts and configurations
  • Multi-transport support: STDIO, HTTP, and SSE protocols
  • Client compatibility: Works with Claude Desktop, Cursor, and other MCP clients
  • Secure API key handling: Client-provided keys, no server-side storage

Prerequisites

  • Node.js (version 18.x or later)
  • npm (usually comes with Node.js)
  • InboxAssure API key (starting with iak_)

Installation

  1. Clone this repository:

    git clone https://github.com/your-org/inboxassure-mcp-server
    cd inboxassure-mcp-server
  2. Install dependencies:

    npm install

Usage

STDIO Mode (Recommended for AI Assistants)

# Using npm script
npm run start:stdio -- --api-key YOUR_INBOXASSURE_API_KEY

# Or directly using node
node src/cli.js --stdio --api-key YOUR_INBOXASSURE_API_KEY

HTTP Server Mode

# Default port 3000
npm start -- --api-key YOUR_INBOXASSURE_API_KEY

# Custom port
npm start -- --api-key YOUR_INBOXASSURE_API_KEY --port 3001

The HTTP server provides:

  • MCP Endpoint: http://localhost:PORT/mcp (POST requests)
  • Health Check: http://localhost:PORT/health (GET requests)

Available Tools

Original Tools

  • get_bison_hello - Test endpoint to verify API connectivity

📧 Campaigns API (11 tools)

  1. list_campaigns - List all campaigns with filtering and pagination

    • Parameters: workspace_id, optional params (search, status, page, per_page)
  2. create_campaign - Create a new email marketing campaign

    • Parameters: workspace_id, name, optional type
  3. get_campaign_details - Get detailed campaign information

    • Parameters: workspace_id, campaign_id
  4. pause_campaign - Temporarily pause a running campaign

    • Parameters: workspace_id, campaign_id
  5. resume_campaign - Resume a paused campaign

    • Parameters: workspace_id, campaign_id
  6. get_campaign_stats - Get performance metrics for date range

    • Parameters: workspace_id, campaign_id, start_date, end_date
  7. get_campaign_leads - View leads in campaign with status

    • Parameters: workspace_id, campaign_id, optional params
  8. create_campaign_schedule - Set up campaign sending schedule (days, times, timezone)

    • Parameters: workspace_id, campaign_id, start_time, end_time, timezone, day booleans
  9. get_schedule_templates - Get predefined schedule templates for quick setup

    • Parameters: workspace_id
  10. create_sequence_steps - Define email sequence steps for drip campaigns

    • Parameters: workspace_id, campaign_id, title, sequence_steps array
  11. attach_lead_list - Import entire lead lists into campaigns

    • Parameters: workspace_id, campaign_id, lead_list_id

💬 Replies API (5 tools)

  1. list_replies - Retrieve email replies with filtering

    • Parameters: workspace_id, optional params (search, status, folder, etc.)
  2. get_reply_details - Get complete reply details and content

    • Parameters: workspace_id, reply_id
  3. compose_new_email - Send standalone emails outside campaigns

    • Parameters: workspace_id, sender_email_id, to_emails, message, optional content_type, cc_emails, bcc_emails
  4. reply_to_email - Respond to emails maintaining thread

    • Parameters: workspace_id, reply_id, sender_email_id, to_emails, message, optional content_type
  5. get_conversation_thread - Get complete conversation history

    • Parameters: workspace_id, reply_id

👤 Email Accounts API (6 tools)

  1. list_email_accounts - List configured email accounts

    • Parameters: workspace_id, optional params (search, page, per_page)
  2. get_email_account_details - Get account configuration and stats

    • Parameters: workspace_id, email_id
  3. update_email_account - Modify account settings

    • Parameters: workspace_id, email_id, optional daily_limit, name, email_signature
  4. get_account_campaigns - See which campaigns use this email account

    • Parameters: workspace_id, email_id
  5. get_account_replies - View replies received by this email account

    • Parameters: workspace_id, email_id
  6. bulk_update_email_signatures - Update signatures across multiple accounts

    • Parameters: workspace_id, sender_email_ids array, email_signature

Total: 23 tools (1 original + 11 campaigns + 5 replies + 6 email accounts)

Client Configuration

For Claude Desktop

Add to your Claude MCP configuration:

{
  "mcpServers": {
    "InboxAssure": {
      "command": "node",
      "args": [
        "/path/to/inboxassure-mcp-server/src/cli.js",
        "--api-key=YOUR_INBOXASSURE_API_KEY",
        "--stdio"
      ]
    }
  }
}

For Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "InboxAssure Email Marketing": {
      "command": "node",
      "args": [
        "/full/path/to/src/cli.js",
        "--api-key=YOUR_INBOXASSURE_API_KEY",
        "--stdio"
      ]
    }
  }
}

Global NPM Installation (Coming Soon)

Once published to NPM:

{
  "mcpServers": {
    "InboxAssure": {
      "command": "npx",
      "args": [
        "-y",
        "inboxassure-mcp-server",
        "--api-key=YOUR_INBOXASSURE_API_KEY",
        "--stdio"
      ]
    }
  }
}

API Key Management

This server follows security best practices:

  • Client-provided: API keys are provided via --api-key argument
  • No server storage: Keys are never stored on the server
  • Header extraction: Supports multiple header formats for compatibility
  • Per-request authentication: Each API call uses the client's key

Development

Development Scripts

# Start with placeholder API key (update in package.json)
npm run dev
npm run dev:stdio

# Linting (placeholder)
npm run lint

Testing Locally

  1. Start the server:

    node src/cli.js --api-key=YOUR_KEY --stdio
  2. Send test JSON-RPC messages:

    {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}

Deployment

Production Deployment (PM2)

The project includes PM2 ecosystem configuration:

# Deploy to production server
ssh -i ~/.ssh/mcpx [email protected] "cd /root/mcpx && git pull && pm2 restart all"

Docker Deployment

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY src/ ./src/
EXPOSE 3000
CMD ["node", "src/cli.js"]

API Documentation

The server integrates with the complete InboxAssure API:

  • Base URL: https://bison.imnodev.com/api/
  • Authentication: X-API-Key header with InboxAssure API key
  • Endpoints: Campaigns, Replies, Email Accounts APIs

Common Parameters

  • workspace_id: Your InboxAssure workspace identifier
  • Pagination: page (default: 1), per_page (default: 15, max: 100)
  • Filtering: search, status, folder parameters
  • Date Format: ISO 8601 (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)

Troubleshooting

Common Issues

  1. "API key is required": Ensure --api-key is provided in client configuration
  2. Connection errors: Verify API key format starts with iak_
  3. Tools not appearing: Check client MCP configuration and restart client
  4. Permission errors: Verify API key has appropriate workspace permissions

Debug Logging

The server provides extensive debug logging:

# Check server logs
tail -f /var/log/your-app/mcp-server.log

# Enable verbose debugging
DEBUG=* node src/cli.js --api-key=YOUR_KEY

Client Logs

  • Windows: %APPDATA%\Claude\logs\mcp*.log
  • macOS: ~/Library/Logs/Claude/mcp*.log

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Support

For issues and questions:

  • Create an issue on GitHub
  • Check the InboxAssure API documentation
  • Review the MCP specification