Omnisend MCP Server
The Omnisend MCP Server integrates with Omnisend API V5 via the Model Context Protocol (MCP), allowing you to programmatically manage Omnisend data in several ways:
Contact Management: List contacts with filtering (by subscription status), create or update contacts with detailed information, retrieve specific contact details by ID, and modify existing contact information.
Product Management: List products with pagination, create new products with detailed data, retrieve specific product details, replace product data entirely, and delete products by ID.
Event Tracking: Send and track customer events (both custom and predefined) to trigger automations and track behavior.
Product Categories: Manage product categories (listing and management capabilities).
Additional Features: Cursor-based pagination for APIs, error handling for requests, and integration with MCP-compatible clients like VS Code and AI assistants.
Used for configuration to store sensitive API keys and URLs needed for Omnisend API integration
Required runtime environment for the MCP server that enables integration with Omnisend's API
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Omnisend MCP Server show me the last 10 contacts added to our list"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/currentendpoint integrationImplemented
getCurrentBrandtool for retrieving current brand dataAdded
Brand informationresource for live brand data accessAdded
Brand schemaresource with proper JSON schema definitionUpdated 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 inspectandnpm run inspect:envscriptsEnhanced 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 installBuilding
To compile TypeScript code:
npm run buildRunning in Development Mode
For development with auto-reloading:
npm run devDebugging 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:envThe 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/v5Usage
To start the MCP server:
npm startInteracting 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:
Download and install Claude Desktop from the official website.
Make sure you have Node.js installed on your system. You can verify by running:
node --versionIf Node.js is not installed, download it from nodejs.org.
Open the Claude menu on your computer and select "Settings..."
Click on "Developer" in the left-hand bar of the Settings pane, and then click on "Edit Config"
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_herewith your actual Omnisend API key.Save the configuration file and restart Claude Desktop.
After restarting, you should see a hammer icon in the bottom right corner of the input box.
Click on the hammer icon to see the available Omnisend tools.
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 toolscreateCategoryB
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
Scored across 17 tools
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.
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.
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.
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
Hosted Klaviyo MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
AI-controlled email ops for campaigns, contacts, segments, analytics, and sending.
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.812MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables AI tools to interact with ActiveCampaign API, allowing contact management and tracking event analysis through natural language queries.51MIT
- AlicenseNot gradedqualityCmaintenanceA comprehensive MCP server for Shopify Admin API integration, enabling AI assistants to manage products, orders, customers, inventory, analytics, and more through natural language.19 npm20MIT
- AlicenseBqualityBmaintenanceMCP server for Brevo email marketing platform enabling campaign management, analytics, and automation through natural language.15227 npmMIT