Skip to main content
Glama
Omnisend MCP Server

Omnisend MCP Server

Omnisend MCP Server

A Model Context Protocol (MCP) server that integrates with Omnisend API V5, written in TypeScript.

Version: 2.3.0

Features

  • Contact management (list, create, get, update)

  • Product management (list, create, get, replace, delete)

  • Event tracking

  • Product categories management

  • Brand information access

  • Cursor-based pagination support with next/previous URLs and limit/offset information

  • MCP Inspector integration for debugging and testing

  • Human-readable resource names with proper JSON schema responses

Related MCP server: ActiveCampaign MCP Server

Changes in Version 2.3.0

  • Added brand information support with /v5/brands/current endpoint integration

  • Implemented getCurrentBrand tool for retrieving current brand data

  • Added Brand information resource for live brand data access

  • Added Brand schema resource with proper JSON schema definition

  • Updated all schema resources to return serialized JSON instead of dummy text

  • Improved resource naming with human-readable names and "schema" suffix

  • Added MCP Inspector integration with npm run inspect and npm run inspect:env scripts

  • Enhanced debugging capabilities with visual testing interface

  • Updated documentation with comprehensive debugging and testing guide

Changes in Version 2.2.0

  • Refactored codebase to a more modular structure

  • Implemented domain-specific modules (contacts, products, categories, events)

  • Organized code into logical directories (/types, /filters, /api-resources, /resources, /tools)

  • Made server version dynamic in the ping tool

  • Added better error handling in API requests

  • Improved code maintainability with barrel exports

  • Removed redundant and duplicate code

Changes in Version 2.1.0

  • Updated to @modelcontextprotocol/sdk v1.11.0

  • Improved error handling throughout the application

  • Enhanced API stability with better error messages

  • Added request timeout configuration to prevent hanging connections

  • Fixed SSE connection issues with MCP Inspector

  • Optimized console output to be compatible with MCP clients

  • Added cursor-based pagination context in MCP responses (next/previous URLs, limit/offset)

Changes in Version 2.0.0

  • Migrated entire codebase to TypeScript

  • Updated MCP resource structure according to latest specification

  • Added proper type declarations for all API responses and requests

  • Improved error handling with typed exceptions

  • Enhanced code organization and maintainability

Installation

npm install

Building

To compile TypeScript code:

npm run build

Running in Development Mode

For development with auto-reloading:

npm run dev

Debugging and Testing

MCP Inspector

The project includes scripts to run the MCP Inspector for testing and debugging:

# Basic inspector (requires .env file or environment variables)
npm run inspect

# Inspector with explicit environment variables
OMNISEND_API_KEY=your_api_key npm run inspect:env

The MCP Inspector provides:

  • Interactive testing of all tools and resources

  • Real-time debugging of MCP communication

  • Visual interface for exploring server capabilities

  • Request/response logging and error analysis

The inspector will open in your browser (typically at http://localhost:6274) and allow you to:

  • Test all available tools (ping, contacts, products, categories, events, brands)

  • Browse resources (schemas and live data)

  • Monitor server logs and notifications

  • Export configuration for use with other MCP clients

Configuration

Create a .env file in the root directory with your Omnisend API key:

OMNISEND_API_KEY=your_api_key_here
OMNISEND_API_URL=https://api.omnisend.com/v5

Usage

To start the MCP server:

npm start

Interacting with the MCP Server

The MCP server is designed to be used with clients that understand the Model Context Protocol. Here are ways to interact with it:

VS Code Integration

For use with VS Code, a configuration file is provided in .vscode/mcp.json. VS Code with the appropriate MCP extension can communicate with this server.

AI Assistants

AI assistants like Claude that support MCP can communicate with this server to access Omnisend data and perform operations.

Using with Claude Desktop

To use this MCP server with Claude Desktop:

  1. Download and install Claude Desktop from the official website.

  2. Make sure you have Node.js installed on your system. You can verify by running:

    node --version

    If Node.js is not installed, download it from nodejs.org.

  3. Open the Claude menu on your computer and select "Settings..."

  4. Click on "Developer" in the left-hand bar of the Settings pane, and then click on "Edit Config"

  5. This will open your Claude Desktop configuration file. Replace the file contents with or add the following configuration:

    {
      "mcpServers": {
        "omnisend": {
          "command": "node",
          "args": [
            "/path/to/dist/index.js"
          ],
          "env": {
            "OMNISEND_API_KEY": "your_api_key_here"
          }
        }
      }
    }

    Make sure to replace your_api_key_here with your actual Omnisend API key.

  6. Save the configuration file and restart Claude Desktop.

  7. After restarting, you should see a hammer icon in the bottom right corner of the input box.

  8. Click on the hammer icon to see the available Omnisend tools.

  9. You can now ask Claude to perform operations such as:

    • "List my recent contacts in Omnisend"

    • "Create a new product in my Omnisend catalog"

    • "Send a customer event to Omnisend"

Custom MCP Clients

You can develop custom clients using the @modelcontextprotocol/sdk library:

import { McpClient } from '@modelcontextprotocol/sdk/client/mcp';
import { ProcessClientTransport } from '@modelcontextprotocol/sdk/client/process';

const transport = new ProcessClientTransport(serverProcess);
const client = new McpClient(transport);

// Connect to the server
await client.connect();

// Execute tools
const result = await client.executeTool("listContacts", { limit: 10 });

API Documentation

For more information about the Omnisend API, see the official documentation.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Available Tools

17 tools
createCategoryB

Create a new product category in the Omnisend catalog. Category data can include title, description, image, and URL.

Inputs: no named parameters.

createContactB

Create or update a contact in Omnisend. Contact data can include identifiers (email, phone), personal information, subscription status, and custom properties.

Inputs: no named parameters.

createProductB

Create a new product in the Omnisend catalog. Product data can include details like title, description, variants, images, price, and more.

Inputs: no named parameters.

deleteCategoryB

Remove a product category from the Omnisend catalog by its unique identifier.

Inputs: no named parameters.

deleteProductB

Remove a product from the Omnisend catalog by its unique identifier.

Inputs: no named parameters.

getCategoryB

Retrieve detailed information about a specific product category by its unique identifier.

Inputs: no named parameters.

getContactB

Retrieve detailed information about a specific contact by their unique identifier.

Inputs: no named parameters.

getCurrentBrandB

Retrieve information about the current brand from Omnisend. This includes brand ID, website, platform, version, currency, and other brand-related details.

Inputs: no named parameters.

getProductB

Retrieve detailed information about a specific product by its unique identifier.

Inputs: no named parameters.

listCategoriesA

Retrieve a list of product categories from the Omnisend catalog with pagination support. The response includes pagination information (next/previous cursor, limit, offset).

Inputs: no named parameters.

listContactsA

Retrieve a list of contacts from Omnisend. Each contact can be identified by multiple identifiers (email, phone) with corresponding channels. The response includes pagination information (next/previous cursor, limit, offset).

Inputs: no named parameters.

listProductsB

Retrieve a list of products from the Omnisend catalog with pagination support. The response includes pagination information (next/previous cursor, limit, offset).

Inputs: no named parameters.

pingA

Simple tool to check if the MCP server is running correctly.

Inputs: no named parameters.

replaceProductA

Replace an existing product with new data. IMPORTANT: You must first get the product using getProduct and preserve the returned structure when replacing. The replace request requires the same structure as returned by the GET method, with only your desired changes applied.

Inputs: no named parameters.

sendEventB

Send a customer event to Omnisend. Events are used to track customer behavior and can trigger automations. Can be custom events or predefined system events.

Inputs: no named parameters.

updateCategoryA

Update an existing product category. IMPORTANT: You must first get the category using getCategory and preserve the returned structure when updating.

Inputs: no named parameters.

updateContactA

Update an existing contact's information. IMPORTANT: You must first get the contact using getContact and preserve the returned structure when updating. The update request requires the same structure as returned by the GET method, with only your desired changes applied.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific resources and actions (e.g., createCategory vs. updateCategory, getContact vs. sendEvent). There is no overlap or ambiguity between tools, making it easy for an agent to select the correct one.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern throughout (e.g., createCategory, listContacts, updateProduct). All tools use camelCase consistently, with no deviations or mixed conventions, ensuring predictability and readability.

    Tool Count5/5

    With 17 tools, the server is well-scoped for managing Omnisend's e-commerce and marketing automation domain. Each tool earns its place by covering essential CRUD operations for categories, products, and contacts, along with utility functions like ping and sendEvent.

    Completeness5/5

    The tool set provides complete CRUD/lifecycle coverage for categories, products, and contacts, including list, get, create, update, and delete operations. Additional tools like sendEvent and getCurrentBrand fill out the domain, leaving no obvious gaps for agent workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A server implementation that enables AI assistants to interact with HubSpot CRM data, allowing for seamless creation and management of contacts and companies, retrieval of activity history, and access to engagement data through natural language commands.
      8
      12
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A comprehensive MCP server for Shopify Admin API integration, enabling AI assistants to manage products, orders, customers, inventory, analytics, and more through natural language.
      19 npm
      20
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      MCP server for Brevo email marketing platform enabling campaign management, analytics, and automation through natural language.
      15
      227 npm
      MIT