Skip to main content
Glama
Panagiotis1226

Cin7 Omni MCP Server

Cin7 Omni MCP Server

MCPサーバーで、Claude に Cin7 Omni API への完全なアクセスを提供します — API がサポートするすべてのリソースとすべての操作:

Contacts · Branches · Product Categories · Products · Product Options · Product Images · Size Ranges · Stock · Serial Numbers · Branch Transfers · Adjustments · Vouchers · Sales Orders (カートンを含む) · Payments · Payment Fees & Payouts · Purchase Orders · Quotes · Credit Notes · BOM Masters (v1 & v2) · Production Jobs · Users · Cartons

動詞マトリックス(どのリソースを一覧表示、取得、作成、更新、削除できるか)は、Cin7 の公式 swagger 仕様から取得され、サーバー側で強制されます。そのため、Claude が API がサポートしていない操作を試みることは決してありません。

ツール

ツール

説明

cin7_list

where フィルター、フィールド選択、並び順、ページネーションを使用して任意のリソースを一覧表示/検索

cin7_get

ID で単一レコードを取得(Stock はバーコード、Vouchers はバウチャーコード)

cin7_describe

任意のリソースのフィールドリファレンス(Cin7 の swagger から取得)— API 呼び出しなし。書き込みの前に使用

cin7_create

レコードを作成(POST、配列ペイロード)

cin7_update

レコードを更新(PUT; null = 変更しない、"" = クリア)

cin7_delete

レコードを削除(Cin7 が許可しているのは Contacts と Payments のみ)

cin7_upload_product_image

商品に画像ファイルをアップロード(multipart)

読み取りと書き込みは、適切な MCP アノテーション(readOnlyHintdestructiveHint)を備えた別々のツールです。そのため Claude では、各書き込みツールを読み取りツールとは独立に、常に許可毎回確認拒否 のいずれかに設定できます。

Related MCP server: GHL MCP Server

Claude Desktop へのインストール(3 ステップ、設定ファイルの編集は不要)

  1. Cin7 API の認証情報を取得 — Cin7 Omni で:設定 (⚙) → 統合 → API v1 → API 接続を追加。これで API UsernameAPI Key が発行されます(Basic 認証の認証情報であり、Cin7 のログイン情報ではありません)。Claude にアクセスさせたいモジュールへの権限をこの接続に付与してください — 権限のないモジュールは 403 を返します。

  2. ダウンロード dist/cin7-omni.mcpb — 1 つのファイル、約 150 KB。

  3. 開く — ファイルをダブルクリックするか(または Claude Desktop で:設定 → 拡張機能 → ファイルをドラッグ&ドロップ)、インストール をクリックします。プロンプトが表示されたら API Username と API Key を貼り付けます。キーはお使いのコンピュータのキーチェーンに保存され、ファイルに保存されることは決してありません。Claude を参照のみに制限したい場合は、読み取り専用モード のトグルもあります。

その後、Claude に 「Cin7 SalesOrders リソースを説明してください」 のような依頼をして、動作することを確認してください。

後で削除するには:Claude Desktop → 設定 → 拡張機能 → Cin7 Omni → アンインストール。

その他の実行方法

プリビルド済みの自己完結型サーバーもリポジトリに同梱されています(dist/index.js — すべての依存関係がバンドルされています)。クローンするだけで実行できるため、npm install もビルド手順も不要です。git pull で常に最新のテスト可能なビルドを入手できます。

git clone https://github.com/panagiotis1226/cin7-omni-mcp.git

ソースを自分で編集する場合のみ:npm install(自動ビルドされます)または npm run build で再ビルドしてください。

Claude Code:

claude mcp add cin7-omni \
  -e CIN7_API_USERNAME=YourApiUsername \
  -e CIN7_API_KEY=your-api-key \
  -- node /absolute/path/to/cin7-omni-mcp/dist/index.js

Claude Desktop (手動設定)claude_desktop_config.json に追加します(設定 → 開発者 → 設定を編集):

{
  "mcpServers": {
    "cin7-omni": {
      "command": "node",
      "args": ["/absolute/path/to/cin7-omni-mcp/dist/index.js"],
      "env": {
        "CIN7_API_USERNAME": "YourApiUsername",
        "CIN7_API_KEY": "your-api-key"
      }
    }
  }
}

環境変数

変数

必須

説明

CIN7_API_USERNAME

はい

API 接続のユーザー名

CIN7_API_KEY

はい

API 接続のキー

CIN7_READ_ONLY

いいえ

true = 読み取りツールのみを登録(cin7_list/cin7_get/cin7_describe)

CIN7_BASE_URL

いいえ

API ベース URL を上書き(デフォルトは https://api.cin7.com/api)

書き込みアクセスの制御

2 つのレイヤー:

  1. Claude のツールごとの権限 — Claude が初めて cin7_createcin7_updatecin7_deletecin7_upload_product_image のいずれかを呼び出すと、プロンプトが表示され、ツールごとに 1 回だけ許可常に許可拒否 を選択できます(Claude Code では /permissions で管理します)。

  2. サーバー側のハードロックCIN7_READ_ONLY=true を設定すると、書き込みツールは一切登録されません。

レート制限

Cin7 は 3 コール/秒、60 コール/分、5,000 コール/日 を強制します。サーバーは毎秒/毎分の制限内に収まるようリクエストをクライアント側でキューに入れ、429/5xx ではバックオフ付きで自動リトライします。そのため、複数ページにわたる大規模なスキャンは設計上遅くなります。呼び出しを最小限に抑えるには、where フィルター(例: modifiedDate>='...')と fields パラメータを使用してください。

プロンプトの例

  • 「CTS001 の在庫はブランチ全体でどれくらいありますか?」 → Stock に対して where: "code='CTS001'" を指定して cin7_list

  • 「今週出荷された $500 を超える受注を表示して」 → SalesOrders に対して where フィルターを指定して cin7_list

  • 「サプライヤー X 向けにこれらの明細で発注書を作成して…」 → PurchaseOrders を cin7_describe で確認してから cin7_create

  • 「Contact にはどのようなフィールドがありますか?」 → Contacts を cin7_describe

開発

npm test           # builds, then runs the stdio smoke test against a mock Cin7 API
npm run build:mcpb # rebuild + validate manifest + repack dist/cin7-omni.mcpb
npm run dev        # run from source with tsx

ビルドは同じソースから 2 つのバンドルを生成します:dist/index.js(ESM、クローンして実行する場合 / Claude Code 用)と server/index.cjs(CJS、.mcpb 拡張機能にパッケージ化されます)。

src/fieldReference.ts は、scripts/gen_fields.py によって Cin7 の公式 swagger 仕様から生成されます(作業ディレクトリに https://api.cin7.com/api/swagger/v1/swagger.json から取得した swagger.json が必要です)— Cin7 が API を更新した場合は再生成してください。

対象外

  • Cin7 Omni の webhook(プッシュ通知)— このサーバーはリクエスト/レスポンスのみです。

  • Cin7 が v1/v2 API で公開していないもの。

  • リモート/HTTP デプロイ — これはローカルの stdio サーバーです。streamable-HTTP エントリーポイントは後で追加できる可能性があります。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to manage the UnoPim Product Information Management system through natural language, supporting product creation, attribute management, and media uploads. It features full API integration, including support for configurable products and automatic OAuth2 token management.
    2
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to manage GoHighLevel CRM contacts, pipelines, and workflows through natural language commands.
    37
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to interact with FileMaker databases through the FileMaker Data API, supporting multi-database connections, CRUD operations, script execution, and metadata discovery.
    11
    MIT
  • F
    license
    Not graded
    quality
    F
    maintenance
    Enables Claude to interact with 1C:Enterprise via OData REST API, allowing natural language queries for inventory, orders, prices, and order creation.

View all related MCP servers

Related MCP Connectors

  • Drive your real WhatsApp inbox from Claude — send, reply, label, assign, and triage via TimelinesAI.

  • Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.

  • Connect Claude to Fathom meeting recordings, transcripts, and summaries

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Panagiotis1226/Cin7-Omni-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server