Connector guide8-minute read30 MCP tools7 languages

Connect Cin7 Core to Gemini CLI via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Cin7 Core

Cin7 Core

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

tools

30

Region

INTL

Category

ERP

Authentication

API Key

Required env vars

CIN7_CORE_ACCOUNT_IDCIN7_CORE_APPLICATION_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Guided setup

Connect Cin7 Core to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Cin7 Core in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Cin7 Core

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Cin7 Core · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Cin7 Core, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Cin7 Core + Gemini

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

CIN7_CORE_ACCOUNT_ID, CIN7_CORE_APPLICATION_KEY

Step 1 — Get credentials

Setting up takes about 2 minutes. You need a Cin7 Core account (formerly DEAR Inventory; you sign in at inventory.dearsystems.com) with access to Integrations → API. The connector needs the Account ID and an Application Key.

Core or Omni? Cin7 sells two different products. Cin7 Core (this connector, formerly DEAR Systems) uses an Account ID and an Application Key. Cin7 Omni (the original Cin7, go.cin7.com) has a separate API v1 with an API username and key: use the Cin7 Omni connector for it. The credentials of one do not work on the other.

  1. In Cin7 Core open the API setup page, Integrations → API (inventory.dearsystems.com/ExternalAPI).
  2. Click + to add an API application and give it a name.
  3. Copy the Account ID (a GUID) into CIN7_CORE_ACCOUNT_ID and the Application Key into CIN7_CORE_APPLICATION_KEY.
  4. Install the connector. Run cin7_core_get_me to check the connection: it returns the company name, base currency and time zone of the account.

Cloud and self-hosted work the same way: the credentials are the same, and there is no redirect URL to set. The connector sends them in the api-auth-accountid and api-auth-applicationkey headers. Deleting the API application in Cin7 Core revokes the key.

Where to start: cin7_core_get_me for the base currency, cin7_core_list_locations for location names, then cin7_core_list_sales and cin7_core_get_product_availability, which answer most questions.

What it reads: products with price tiers, stock availability per product and location (on hand, allocated, available, on order); sales with their quote, order, fulfilments (pick, pack and ship, with carrier and tracking), invoices and payments; purchases with their order; customers, suppliers, tax rules and payment terms; stock adjustments and stock transfers.

Creating a sale takes two calls: cin7_core_create_sale makes the header (customer, location) and returns its ID, then cin7_core_create_sale_order adds the lines. Lines need Name, Quantity, Price, Tax and TaxRule plus SKU or ProductID. The AI keeps the order DRAFT unless you want it authorised: AUTHORISED allocates stock, backorders a shortfall without warning and locks the order against further API edits. Purchases work the same way, with cin7_core_create_purchase and cin7_core_create_purchase_order.

Other writes: cin7_core_create_customer, cin7_core_update_customer and cin7_core_create_supplier (they need payment term and tax rule names and account codes, which cin7_core_list_payment_terms and cin7_core_list_tax_rules list), and cin7_core_create_stock_transfer (DRAFT by default). All of these are switched on.

Switched off at install: cin7_core_create_stock_adjustment (create a stock adjustment). A COMPLETED adjustment posts stock movements and accounting entries at once, and its quantities are the new on-hand values, not differences. Switch it on on the connector page if the AI should use it; the AI asks you to confirm every change.

No money and no deletes: the connector never records, changes or deletes payments, invoices or credit notes, and it has no delete or void tools.

Identifiers: records use GUIDs (ID, SaleID, TaskID). Locations, tax rules, payment terms and price tiers are referenced by name.

Paging: lists take page (from 1) and limit (default 100, at most 1,000); the answer carries Total. updated_since or modified_since return only what changed. Dates are UTC, yyyy-MM-ddTHH:mm:ss.

Rate limit: 60 calls a minute per API application; beyond that Cin7 Core answers 429 (older accounts 503). Large pages and filters use the budget better than many small calls.

Common errors: a refused call answers 400 with [{"ErrorCode": 400, "Exception": "..."}] naming the problem, such as an unknown customer, location or tax rule, or a document that is already authorised. 403 means a wrong Account ID or Application Key.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Cin7 Core tools.

Available tools

ToolWhat it does
cin7_core_get_meRead the Cin7 Core account the keys belong to: company name, base currency, time zone, lock date, tax calculation method, default tax rules
cin7_core_list_locationsList warehouses and stock locations: ID, Name, address, IsDefault, bins and whether deprecated
cin7_core_list_productsList products (or read one by id): ID, SKU, Name, Category, Brand, Type (Stock or Service), CostingMethod, UOM, Status, Barcode, price…
cin7_core_get_product_availabilityStock availability per product and location (and bin or batch): SKU, Name, Location, Bin, Batch, OnHand, Allocated, Available, OnOrder…
cin7_core_list_salesList sales (quotes, orders and invoices share one sale record): SaleID, OrderNumber, Status, OrderDate, Customer, CustomerID…
cin7_core_get_saleRead one sale with its header (customer, contact, addresses, location, tax rule, terms, price tier, ship-by date, status) and the quote…
cin7_core_get_sale_orderRead the order part of a sale: SaleOrderNumber, Status (DRAFT, AUTHORISED...), Memo, Lines (ProductID, SKU, Name, Quantity, Price…
cin7_core_get_sale_fulfilmentsRead the fulfilments of a sale: pick, pack and ship stages with their status, lines, boxes, carrier and tracking numbers
cin7_core_get_sale_invoicesRead the invoices of a sale: TaskID, InvoiceNumber, Status, InvoiceDate, InvoiceDueDate, lines, totals and amounts paid
cin7_core_get_sale_paymentsRead the payments, prepayments and refunds recorded on a sale: Type, Amount, DatePaid, Account, Reference, currency rate
cin7_core_list_purchasesList purchases: ID, OrderNumber, Status, OrderDate, Supplier, SupplierID, InvoiceNumber, totals, currency, OrderStatus…
cin7_core_get_purchaseRead one purchase (simple, advanced or service) with supplier, location, approach, tax rule, terms, order, stock received, invoices and…
cin7_core_get_purchase_orderRead the order part of a purchase: Status, Memo, Lines (ProductID, SKU, SupplierSKU, Name, Quantity, Price, Discount, Tax, TaxRule, Total)…
cin7_core_list_customersList customers (or read one by id): ID, Name, Status, Currency, PaymentTerm, TaxRule, PriceTier, Discount, CreditLimit, IsOnCreditHold…
cin7_core_list_suppliersList suppliers (or read one by id): ID, Name, Status, Currency, PaymentTerm, AccountPayable, TaxRule, Discount, TaxNumber, addresses and…
cin7_core_list_tax_rulesList tax rules: ID, Name, Code, TaxPercent, IsTaxForSale, IsTaxForPurchase, IsActive, Account
cin7_core_list_payment_termsList payment terms: ID, Name, Duration, Method, IsActive, IsDefault
cin7_core_list_stock_adjustmentsList stock adjustments: TaskID, StocktakeNumber, EffectiveDate, Status (DRAFT, COMPLETED, VOIDED), Reference, Account
cin7_core_get_stock_adjustmentRead one stock adjustment with its lines (ExistingStockLines, NewStockLines: SKU, location, quantity on hand, adjustment, unit cost, batch)…
cin7_core_list_stock_transfersList stock transfers between locations: TaskID, Number, Status (DRAFT, IN TRANSIT, COMPLETED, VOIDED), From and To locations…
cin7_core_get_stock_transferRead one stock transfer with its lines (SKU, TransferQuantity, batch) and status
cin7_core_create_saleCreate a sale header (customer, location, terms, tax rule, addresses)
cin7_core_create_sale_orderAdd the order lines to a sale created with cin7_core_create_sale
cin7_core_create_purchaseCreate a purchase header for a supplier (advanced purchase endpoint, which serves simple and advanced purchases)
cin7_core_create_purchase_orderAdd the order lines to a purchase created with cin7_core_create_purchase
cin7_core_create_customerCreate a customer
cin7_core_update_customerUpdate a customer by ID; only the fields given change
cin7_core_create_supplierCreate a supplier
cin7_core_create_stock_adjustmentCreate a stock adjustment
cin7_core_create_stock_transferCreate a stock transfer between two locations

Example prompts

  • "How many units of SKU MUG-WHT-350 are available in each location?"
  • "List this month's sales that are authorised but not fully fulfilled yet."
  • "Show the fulfilment of order SO-1042 with its carrier and tracking number."
  • "Which purchases are still waiting for stock to be received?"
  • "Create a draft sale for customer Coffee Corner at the Main Warehouse with 24 units of MUG-WHT-350 at 6.50."

FAQ

I use Cin7 Omni (go.cin7.com). Is this the right connector? No. Cin7 Omni has a separate API v1 with an API username and key: use the Cin7 Omni connector. Credentials of one product do not work on the other.

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Cin7 Core to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Cin7 Core in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides

Connectors

Cin7 Core MCP Server: Inventory, Sales and Purchases

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Connectors

Connect Cin7 Core to ChatGPT via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Connectors

Connect Cin7 Core to Claude via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Connectors

Connect Cin7 Core to Microsoft Copilot via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Connectors

Connect Cin7 Core to Cursor via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.

Connectors

Connect Cin7 Core to Meta Muse via MCP

Cin7 Core (formerly DEAR Inventory) through External API v2: products and stock availability per location, sales with orders, fulfilments, invoices and payments (read only), purchases, customers, suppliers, stock adjustments and transfers. Create sales, purchases, customers, suppliers and transfers. Account ID and Application Key.