Cogny CLI · E-commerce

    Shopify from your shell.

    List products, orders, customers and collections, read shop info, and push catalog or discount changes to your Shopify store — straight from Bash over the Shopify Admin API MCP. No GraphQL client, no app to install.

    # 1. sign up (free for 15 calls) — uses your git email
    $ npx @cogny/cli init --agent claude-code
    
    # 2. see every Shopify tool
    $ cogny tools list
    
    # 3. call any tool from Bash — no MCP wiring
    $ cogny tools call mcp__Shopify__tool_list_orders --input '{…}'
    ❯ start Cogny Solo — $9/mo@cogny/cli on npm →

    cogny --who

    TWO PATHS
    You're a human

    Today you log into Shopify admin, click into Orders or Products, filter, and export CSV. The CLI returns the exact rows as JSON in one call you can sort, diff, or pipe into an agent. Connect Shopify once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.

    ❯ start Solo
    You're an agent

    Self-onboard with one command. The CLI issues a key, wires nothing, and exposes every Shopify tool over JSON-RPC. First 15 calls are free.

    $ npx @cogny/cli init --agent claude-code

    cogny tools call

    3 EXAMPLES

    Real tool names from the Shopify MCP. Send --input JSON, get JSON back.

    mcp__Shopify__tool_list_ordersList orders with Shopify search-syntax filtering.
    $ cogny tools call mcp__Shopify__tool_list_orders \
      --input '{"first":3,"query_filter":"financial_status:paid"}'
    example response
    {
      "items": [
        {
          "id": "gid://shopify/Order/5001",
          "name": "#1042",
          "totalPriceSet": {
            "shopMoney": {
              "amount": "249.00",
              "currencyCode": "USD"
            }
          },
          "displayFinancialStatus": "PAID"
        },
        {
          "id": "gid://shopify/Order/5000",
          "name": "#1041",
          "totalPriceSet": {
            "shopMoney": {
              "amount": "89.50",
              "currencyCode": "USD"
            }
          },
          "displayFinancialStatus": "PAID"
        }
      ],
      "page_info": {
        "has_next_page": true,
        "end_cursor": "eyJsYXN0X2lkIjo1MDAwfQ=="
      }
    }
    mcp__Shopify__tool_list_productsList products, optionally filtered by status or search.
    $ cogny tools call mcp__Shopify__tool_list_products \
      --input '{"first":2,"status":"ACTIVE","query_filter":"vendor:Acme"}'
    example response
    {
      "items": [
        {
          "id": "gid://shopify/Product/8801",
          "title": "Trail Runner GTX",
          "status": "ACTIVE",
          "totalInventory": 142
        },
        {
          "id": "gid://shopify/Product/8802",
          "title": "City Sneaker",
          "status": "ACTIVE",
          "totalInventory": 58
        }
      ],
      "page_info": {
        "has_next_page": false,
        "end_cursor": null
      }
    }
    mcp__Shopify__tool_get_shop_infoRead shop name, currency, plan, and primary domain.
    $ cogny tools call mcp__Shopify__tool_get_shop_info \
      --input '{}'
    example response
    {
      "name": "Acme Store",
      "email": "ops@acme.com",
      "currencyCode": "USD",
      "plan": {
        "displayName": "Shopify"
      },
      "primaryDomain": {
        "host": "acme.com"
      }
    }

    cogny tools list

    MORE

    A sample of the rest of the Shopify surface. Run cogny tools list --json for every tool and its input schema.

    mcp__Shopify__tool_get_productmcp__Shopify__tool_get_ordermcp__Shopify__tool_list_customersmcp__Shopify__tool_list_collectionsmcp__Shopify__tool_list_abandoned_checkoutsmcp__Shopify__tool_list_discount_codesmcp__Shopify__tool_create_discount_codemcp__Shopify__tool_adjust_inventorymcp__Shopify__tool_create_product

    cogny --faq

    Is this an official Shopify CLI?

    No — the official Shopify CLI is for theme and app development. This is the Cogny CLI calling the Shopify Admin API MCP over the cogny-mcp-proxy. You connect your store once in Cogny and then read orders/products and push catalog or discount changes from Bash.

    Does it use the GraphQL Admin API?

    Yes. The proxy wraps the Shopify GraphQL Admin API, so `tool_list_orders` and `tool_list_products` return clean JSON with cursor pagination — you never write GraphQL or manage an access token in your shell.

    Can my coding agent use this without MCP setup?

    Yes. `npx @cogny/cli init --agent claude-code` issues a key, then `cogny tools call mcp__Shopify__tool_list_orders --input ...` works from any shell — no /mcp wiring or agent restart.

    related CLIs

    /cli/woocommerce/cli/klaviyo/cli/fortnox/cli/ga4

    Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt