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 startMCPサーバーとのやり取り
MCPサーバーは、モデルコンテキストプロトコル(MCP)を理解するクライアントで使用するように設計されています。MCPサーバーとのやり取りは以下のとおりです。
VSコード統合
VS Code で使用するために、 .vscode/mcp.jsonに構成ファイルが提供されています。適切な MCP 拡張機能を持つ VS Code は、このサーバーと通信できます。
AIアシスタント
MCP をサポートする Claude などの AI アシスタントは、このサーバーと通信して Omnisend データにアクセスし、操作を実行できます。
Claude Desktopでの使用
この MCP サーバーを Claude Desktop で使用するには:
公式サイトからClaude Desktopをダウンロードしてインストールします。
システムにNode.jsがインストールされていることを確認してください。以下のコマンドを実行して確認できます。
node --versionNode.js がインストールされていない場合は、 nodejs.orgからダウンロードしてください。
コンピューターの Claude メニューを開き、「設定...」を選択します。
設定パネルの左側のバーにある「開発者」をクリックし、「設定の編集」をクリックします。
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 キーに置き換えてください。設定ファイルを保存し、Claude Desktop を再起動します。
再起動後、入力ボックスの右下隅にハンマーのアイコンが表示されます。
利用可能な Omnisend ツールを表示するには、ハンマー アイコンをクリックします。
これで、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 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