Skip to main content
Glama
OfirOhan

EmailOctopus MCP Server

by OfirOhan

EmailOctopus MCP Server

CI MCP License: MIT

A Model Context Protocol server for EmailOctopus. It lets Claude, Cursor, ChatGPT and other AI agents manage your lists and contacts, read campaign results, and start automations.

Unofficial. This is a community project and is not affiliated with EmailOctopus. It was built from the public API v2 docs.

What you can ask your agent

  • "How did last Tuesday's newsletter do compared to the one before? Which links got clicked?"

  • "Tag everyone who clicked the pricing link in campaign X as hot-lead."

  • "Add these 12 webinar attendees to the Newsletter list with their first names and tag them webinar-oct."

  • "Who signed up this week? Summarize by source field."

  • "Unsubscribe jane@acme.com from all lists."

Related MCP server: Sequenzy MCP Server

Tools

Tool

What it does

Writes?

list_lists / get_list

Lists with counts, fields and tags

No

create_list

Create a mailing list

Yes

list_contacts

Segment by tag, status, created/updated date range; paginated

No

get_contact

Look up by email address or ID

No

upsert_contact

Add or update by email, with fields, tags to add/remove, and status

Yes

update_contact

Change email, fields, tags or status (for example, unsubscribe)

Yes

delete_contact

Permanently delete a contact

Destructive

list_campaigns / get_campaign

Campaign list and details

No

campaign_report

Summary stats plus per-link clicks in one call

No

campaign_recipients

Who opened / clicked / bounced / did not open, etc.

No

trigger_automation

Queue a contact into an API-triggered automation

Yes

Notes for agents and humans:

  • Contacts can be referenced by email address. The server converts emails to the MD5 form EmailOctopus expects.

  • Tags are sent as simple add_tags / remove_tags arrays. The server builds EmailOctopus' {tag: true/false} patch format for you.

  • Destructive tools carry MCP destructiveHint annotations, so clients can ask before running them.

Setup

  1. Create an API key at EmailOctopus → Settings → API keys.

  2. Build it:

git clone https://github.com/OfirOhan/emailoctopus-mcp.git
cd emailoctopus-mcp && npm install && npm run build

Claude Desktop

{
  "mcpServers": {
    "emailoctopus": {
      "command": "node",
      "args": ["/absolute/path/to/emailoctopus-mcp/dist/index.js"],
      "env": { "EMAILOCTOPUS_API_KEY": "your_api_key" }
    }
  }
}

Claude Code / Cursor / other MCP clients

claude mcp add emailoctopus -e EMAILOCTOPUS_API_KEY=your_api_key -- node /path/to/emailoctopus-mcp/dist/index.js

Development

npm install
npm test   # builds, runs unit tests and an end-to-end MCP stdio test against a fake EmailOctopus API

The tests run on Node 20, 22 and 24 in CI.

Author

Built by Ofir Ohana, an AI agents engineer. Issues and PRs are welcome.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to manage email newsletters and contacts via Resend, including sending broadcasts to segments, managing subscribers in bulk, scheduling campaigns, and tracking delivery status using human-friendly identifiers.
    24,877 npm
    5
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables 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.
    100
    3,040 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with the Mailchimp API for managing campaigns, lists, templates, reports, and automations through natural language.
    3
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to interact with Mailjet's contact, campaign, segmentation, statistics, and workflow APIs for managing email marketing operations through natural language.
    220 npm
    11
    Apache 2.0