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 🙏

© 2026 – Pkg Stats / Ryan Hefner

send16-mcp

v0.4.0

Published

MCP server for Send16 email platform — full coverage including inbox, automations, actions, topics, audiences, segments, brand, suppressions, and webhooks. Stdio + HTTP transports.

Downloads

423

Readme

@send16/mcp

Model Context Protocol (MCP) server for the Send16 email platform. This lets AI tools like Claude Desktop, Cursor, Windsurf, and others interact with Send16 directly — sending emails, managing contacts, checking deliverability, and more.

Installation

npm install -g @send16/mcp

Or run directly with npx:

npx @send16/mcp

Prerequisites

You need a Send16 API key. Generate one from your Send16 dashboard under Settings > API Keys.

API keys use the format sk_live_xxxxx.

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "send16": {
      "command": "send16-mcp",
      "env": {
        "SEND16_API_KEY": "sk_live_xxxxx"
      }
    }
  }
}

If you installed with npx or want to point to a local build:

{
  "mcpServers": {
    "send16": {
      "command": "npx",
      "args": ["@send16/mcp"],
      "env": {
        "SEND16_API_KEY": "sk_live_xxxxx"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):

{
  "mcpServers": {
    "send16": {
      "command": "send16-mcp",
      "env": {
        "SEND16_API_KEY": "sk_live_xxxxx"
      }
    }
  }
}

Windsurf / Other MCP Clients

Any MCP-compatible client that supports stdio transport can use this server. Point it to the send16-mcp binary with the SEND16_API_KEY environment variable set.

Environment Variables

| Variable | Required | Description | |---|---|---| | SEND16_API_KEY | Yes | Your Send16 API key (sk_live_xxxxx) | | SEND16_API_URL | No | API base URL (default: https://api.send16.com) |

Available Tools

Email Tools

send_email

Send a transactional email.

Parameters:
  to          - Recipient email(s) (string or array, max 50)
  subject     - Email subject line
  html        - HTML body (optional if using template)
  text        - Plain text body (optional)
  from_name   - Sender display name (optional)
  from_email  - Sender email address (optional, must be verified domain)
  reply_to    - Reply-to address (optional)
  template    - Transactional template slug (optional)
  variables   - Template merge variables (optional)

Example prompt: "Send a welcome email to [email protected] with subject 'Welcome to Acme' and a short HTML body"

send_campaign_test

Send a test email for an existing campaign.

Parameters:
  campaignId  - Campaign ID
  testEmail   - Email address to receive the test

create_campaign

Create a new draft campaign.

Parameters:
  name        - Internal campaign name
  subject     - Email subject line
  fromName    - Sender display name
  fromEmail   - Sender email (verified domain)
  replyTo     - Reply-to address (optional)
  previewText - Inbox preview text (optional)

design_email_template

Use AI to generate an email HTML template.

Parameters:
  type         - marketing | transactional | newsletter | announcement | welcome | promotional
  style        - minimal | modern | bold | elegant | playful | corporate
  description  - What the email should contain and its purpose
  brandColor   - Hex color code (optional)
  companyName  - Brand name (optional)

Example prompt: "Design a modern welcome email template for my SaaS product called 'Launchpad' with brand color #4F46E5"

list_campaigns

List campaigns with optional filtering.

Parameters:
  status    - draft | scheduled | sending | sent | paused (optional)
  page      - Page number (default: 1)
  pageSize  - Results per page (default: 20, max: 100)

Contact Tools

create_contact

Add a new contact to your audience.

Parameters:
  email        - Contact email address
  firstName    - First name (optional)
  lastName     - Last name (optional)
  tags         - Array of tag names (optional)
  customFields - Key-value custom fields (optional)

search_contacts

Search contacts by email or name.

Parameters:
  query     - Search string
  page      - Page number (default: 1)
  pageSize  - Results per page (default: 20, max: 100)

list_contacts

List all contacts with optional filters.

Parameters:
  page       - Page number (default: 1)
  pageSize   - Results per page (default: 20, max: 100)
  subscribed - Filter: "true" or "false" (optional)
  tagId      - Filter by tag ID (optional)

import_contacts

Bulk import contacts from CSV data.

Parameters:
  csvData        - CSV string with headers (required column: "email")
  tags           - Tags to apply to all imports (optional)
  updateExisting - Update existing contacts (default: false)

Example prompt: "Import these contacts: email,firstName,lastName\[email protected],John,Doe\[email protected],Jane,Smith"

Domain Tools

list_domains

List all configured sending domains with verification status.

Parameters: (none required)

check_domain_health

Verify DNS records (DKIM, SPF, DMARC) for a domain.

Parameters:
  domainId - Domain ID to check

Analytics Tools

get_campaign_stats

Get performance stats for a specific campaign.

Parameters:
  campaignId - Campaign ID

Returns: send count, delivery rate, open rate, click rate, bounce rate, complaints, unsubscribes.

get_deliverability_status

Get IP warming progress and sending capacity.

Parameters: (none required)

Returns: per-IP warming progress, daily capacity, reputation scores, and aggregate summary.

Development

# Install dependencies
npm install

# Run in development mode
SEND16_API_KEY=sk_live_xxxxx npm run dev

# Build for production
npm run build

How It Works

This server uses the Model Context Protocol stdio transport. When an MCP client (like Claude Desktop) starts the server, it communicates over stdin/stdout using JSON-RPC messages. The server translates MCP tool calls into Send16 API requests and returns structured results.

All tools accept an optional apiKey parameter that overrides the SEND16_API_KEY environment variable, letting you switch between workspaces in a single session.

License

MIT