Skip to main content
Glama
Omnisend MCP Server

Omnisend MCP Server

Omnisend MCPサーバー

TypeScript で記述された、Omnisend API V5 と統合する Model Context Protocol (MCP) サーバー。

バージョン: 2.2.0

特徴

  • 連絡先管理(リスト、作成、取得、更新)

  • 製品管理(リスト、作成、取得、置換、削除)

  • イベントトラッキング

  • 製品カテゴリー管理

  • 次の/前の URL と制限/オフセット情報を使用したカーソルベースのページネーションのサポート

Related MCP server: ActiveCampaign MCP Server

バージョン2.2.0の変更点

  • コードベースをよりモジュール化された構造にリファクタリングしました

  • ドメイン固有のモジュール(連絡先、製品、カテゴリ、イベント)を実装しました

  • コードを論理ディレクトリ(/types、/filters、/api-resources、/resources、/tools)に整理しました

  • pingツールでサーバーのバージョンを動的にしました

  • APIリクエストのエラー処理を改善しました

  • バレルエクスポートによるコード保守性の向上

  • 冗長なコードと重複コードを削除しました

バージョン2.1.0の変更点

  • @modelcontextprotocol/sdk v1.11.0 に更新されました

  • アプリケーション全体のエラー処理の改善

  • エラーメッセージの改善による API の安定性の向上

  • 接続のハングを防ぐためにリクエストタイムアウト設定を追加しました

  • MCP Inspector の SSE 接続の問題を修正しました

  • MCPクライアントと互換性があるようにコンソール出力を最適化しました

  • MCP レスポンスにカーソルベースのページネーション コンテキストを追加しました (次/前の URL、制限/オフセット)

バージョン2.0.0の変更点

  • コードベース全体をTypeScriptに移行しました

  • 最新の仕様に従って更新されたMCPリソース構造

  • すべてのAPIレスポンスとリクエストに適切な型宣言を追加しました

  • 型付き例外によるエラー処理の改善

  • 強化されたコード構成と保守性

インストール

npm install

建物

TypeScript コードをコンパイルするには:

npm run build

開発モードで実行

自動リロードを使用した開発の場合:

npm run dev

構成

Omnisend API キーを使用してルート ディレクトリに.envファイルを作成します。

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

使用法

MCP サーバーを起動するには:

npm start

MCPサーバーとのやり取り

MCPサーバーは、モデルコンテキストプロトコル(MCP)を理解するクライアントで使用するように設計されています。MCPサーバーとのやり取りは以下のとおりです。

VSコード統合

VS Code で使用するために、 .vscode/mcp.jsonに構成ファイルが提供されています。適切な MCP 拡張機能を持つ VS Code は、このサーバーと通信できます。

AIアシスタント

MCP をサポートする Claude などの AI アシスタントは、このサーバーと通信して Omnisend データにアクセスし、操作を実行できます。

Claude Desktopでの使用

この MCP サーバーを Claude Desktop で使用するには:

  1. 公式サイトからClaude Desktopをダウンロードしてインストールします。

  2. システムにNode.jsがインストールされていることを確認してください。以下のコマンドを実行して確認できます。

    node --version

    Node.js がインストールされていない場合は、 nodejs.orgからダウンロードしてください。

  3. コンピューターの Claude メニューを開き、「設定...」を選択します。

  4. 設定パネルの左側のバーにある「開発者」をクリックし、「設定の編集」をクリックします。

  5. Claude Desktopの設定ファイルが開きます。ファイルの内容を以下の設定に置き換えるか、追加してください。

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

    your_api_key_here実際の Omnisend API キーに置き換えてください。

  6. 設定ファイルを保存し、Claude Desktop を再起動します。

  7. 再起動後、入力ボックスの右下隅にハンマーのアイコンが表示されます。

  8. 利用可能な Omnisend ツールを表示するには、ハンマー アイコンをクリックします。

  9. これで、Claude に次のような操作の実行を依頼できるようになりました。

    • 「Omnisendで最近の連絡先を一覧表示する」

    • 「Omnisendカタログに新しい商品を作成する」

    • 「顧客イベントをOmnisendに送信する」

カスタム MCP クライアント

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

APIドキュメント

Omnisend API の詳細については、公式ドキュメントを参照してください。

ライセンス

このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。詳細については、 LICENSEファイルを参照してください。

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