Skip to main content
Glama
Omnisend MCP Server

Omnisend MCP Server

Servidor MCP de Omnisend

Un servidor de Protocolo de Contexto de Modelo (MCP) que se integra con Omnisend API V5, escrito en TypeScript.

Versión: 2.2.0

Características

  • Gestión de contactos (listar, crear, obtener, actualizar)

  • Gestión de productos (enumerar, crear, obtener, reemplazar, eliminar)

  • Seguimiento de eventos

  • Gestión de categorías de productos

  • Compatibilidad con paginación basada en cursor con URL siguientes/anteriores e información de límite/desplazamiento

Related MCP server: ActiveCampaign MCP Server

Cambios en la versión 2.2.0

  • Base de código refactorizada a una estructura más modular

  • Se implementaron módulos específicos del dominio (contactos, productos, categorías, eventos)

  • Código organizado en directorios lógicos (/tipos, /filtros, /api-resources, /recursos, /herramientas)

  • Se hizo dinámica la versión del servidor en la herramienta ping

  • Se agregó un mejor manejo de errores en las solicitudes de API

  • Mantenibilidad de código mejorada con exportaciones de barril

  • Se eliminó el código redundante y duplicado.

Cambios en la versión 2.1.0

  • Actualizado a @modelcontextprotocol/sdk v1.11.0

  • Manejo de errores mejorado en toda la aplicación

  • Estabilidad de API mejorada con mejores mensajes de error

  • Se agregó configuración de tiempo de espera de solicitud para evitar conexiones colgadas

  • Se solucionaron los problemas de conexión SSE con MCP Inspector

  • Salida de consola optimizada para que sea compatible con los clientes MCP

  • Se agregó contexto de paginación basado en cursor en las respuestas de MCP (URL siguientes/anteriores, límite/desplazamiento)

Cambios en la versión 2.0.0

  • Se migró toda la base de código a TypeScript

  • Estructura de recursos MCP actualizada según la última especificación

  • Se agregaron declaraciones de tipo adecuadas para todas las respuestas y solicitudes de API

  • Manejo de errores mejorado con excepciones tipificadas

  • Organización y mantenibilidad de código mejoradas

Instalación

npm install

Edificio

Para compilar código TypeScript:

npm run build

Ejecutando en modo de desarrollo

Para desarrollo con recarga automática:

npm run dev

Configuración

Cree un archivo .env en el directorio raíz con su clave API de Omnisend:

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

Uso

Para iniciar el servidor MCP:

npm start

Interactuar con el servidor MCP

El servidor MCP está diseñado para usarse con clientes que comprenden el Protocolo de Contexto de Modelo. Aquí se muestran algunas maneras de interactuar con él:

Integración de VS Code

Para usar con VS Code, se proporciona un archivo de configuración en .vscode/mcp.json . VS Code con la extensión MCP adecuada puede comunicarse con este servidor.

Asistentes de IA

Los asistentes de IA como Claude que admiten MCP pueden comunicarse con este servidor para acceder a los datos de Omnisend y realizar operaciones.

Uso con Claude Desktop

Para utilizar este servidor MCP con Claude Desktop:

  1. Descargue e instale Claude Desktop desde el sitio web oficial .

  2. Asegúrate de tener Node.js instalado en tu sistema. Puedes comprobarlo ejecutando:

    node --version

    Si Node.js no está instalado, descárguelo desde nodejs.org .

  3. Abra el menú Claude en su computadora y seleccione "Configuración..."

  4. Haga clic en "Desarrollador" en la barra izquierda del panel de Configuración y luego haga clic en "Editar configuración".

  5. Esto abrirá el archivo de configuración de Claude Desktop. Reemplace el contenido del archivo con la siguiente configuración o agréguela:

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

    Asegúrese de reemplazar your_api_key_here con su clave API de Omnisend real.

  6. Guarde el archivo de configuración y reinicie Claude Desktop.

  7. Después de reiniciar, debería ver un ícono de martillo en la esquina inferior derecha del cuadro de entrada.

  8. Haga clic en el icono del martillo para ver las herramientas Omnisend disponibles.

  9. Ahora puedes pedirle a Claude que realice operaciones como:

    • "Enumere mis contactos recientes en Omnisend"

    • "Crear un nuevo producto en mi catálogo Omnisend"

    • Enviar un evento de cliente a Omnisend

Clientes MCP personalizados

Puede desarrollar clientes personalizados utilizando la biblioteca @modelcontextprotocol/sdk :

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 });

Documentación de la API

Para obtener más información sobre la API de Omnisend, consulte la documentación oficial .

Licencia

Este proyecto está licenciado bajo la Licencia Apache 2.0: consulte el archivo de LICENCIA para obtener más detalles.

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