Skip to main content
Documentation menu

Connect an AI assistant

Orderkraft has an MCP server. MCP, the Model Context Protocol, is how AI assistants like Claude and ChatGPT connect to other software. Once Orderkraft is connected, you can ask about your production in plain language and the assistant looks it up:

  • “Which orders are overdue, and what are they waiting on?”
  • “What’s queued at the laser bench?”
  • “How many walnut tables are in production right now?”
  • “Which made-to-order variants don’t have a bill of materials yet?”

Give the assistant write access and it can do the tedious parts of setup too. Ask it to add linseed oil to every table’s bill of materials, or to set a 10 to 14 day production time on every variant of a collection, and it works through them one by one.

This is a different thing from Sidekick, which already reads your manufacturing orders inside the Shopify admin. MCP is for assistants outside Shopify, and it reaches more of Orderkraft: products, materials, lead times and bills of materials as well.

What you need

  • An API key. Create one under Settings → API keys in Orderkraft. See Create an API key. Pick the permissions for what you want the assistant to do: Read to answer questions, Read and Write to make changes too.
  • The MCP URL: https://orderkraft.app/mcp. It’s also on the API keys page in Orderkraft, under Connect an AI assistant, with a copy button.

Make a separate key for the assistant instead of reusing one from another integration. Its page then shows exactly which tools the assistant called, and you can revoke it without breaking anything else.

Add Orderkraft to your assistant

Add Orderkraft as a custom connector, or custom MCP server, depending on what your assistant calls it, and paste the MCP URL. When it asks how to sign in, choose a bearer token or an Authorization header and paste your API key.

The exact steps differ per assistant and change often, so check its own help pages for where custom connectors live. Some only offer custom connectors on certain plans.

Claude Code

claude mcp add --transport http orderkraft https://orderkraft.app/mcp \
  --header "Authorization: Bearer ok_live_..."

Clients with a JSON config

Cursor, and most desktop clients that read an mcpServers config, take this:

{
  "mcpServers": {
    "orderkraft": {
      "url": "https://orderkraft.app/mcp",
      "headers": {
        "Authorization": "Bearer ok_live_..."
      }
    }
  }
}

The server speaks MCP’s streamable HTTP transport and answers every request on its own, without sessions, so it works with any client that supports remote servers.

What the assistant can do

The assistant only sees the tools its API key allows. A key with only Read never gets the tools that change anything, so it can’t change your data even if you ask it to.

With Read

Tool What it does
list_products Lists products, by name, with archived ones on request
get_product One product with its variants
list_product_variants Lists variants, by product, name, SKU or barcode
get_product_variant One variant with its lead time and bill of materials
list_materials Lists raw materials and components, by name or SKU
get_material One material, and for a component its lead time and bill of materials
list_manufacturing_orders Lists manufacturing orders, by status, location, or order number
get_manufacturing_order One manufacturing order with its materials, work orders and holds
list_work_orders Lists work orders, by status, manufacturing order or work station

With Write

Tool What it does
create_material Creates a raw material or component
update_material Changes a material’s name, description, SKU, barcode or unit
update_product Changes how a product is produced, and whether it’s customisable
update_lead_time Sets the production and dock-to-stock time of a variant or component
add_bill_of_material_input Adds a material to a bill of materials
update_bill_of_material_input Changes how much of a material goes in
remove_bill_of_material_input Takes a material out of a bill of materials
update_manufacturing_order Moves a manufacturing order’s ship-by date
release_manufacturing_order Sends a manufacturing order in analysis on to production
hold_manufacturing_order Puts a manufacturing order on hold, with a note
lift_manufacturing_order_hold Lifts one hold, so production resumes once nothing else holds the order

Two of these can remove data: remove_bill_of_material_input, and update_product when it moves a product away from made to order, because that deletes the bills of materials of all its variants. Orderkraft marks both as destructive and tells the assistant to check with you before using them. Most assistants ask for your go-ahead before every tool that changes something anyway. Read what it’s about to do before you click allow.

Every tool call shows up on the key’s page in Orderkraft, with what it touched and whether it worked. See what a key does. Worth a look after you’ve had an assistant do a round of setup work.

An assistant can release an order from analysis, put it on hold and lift a hold, the same as your ERP can over the API. It can’t start, complete or cancel production. That still happens in Orderkraft.

Good to know

  • The assistant gets the same data as the Orderkraft API, and shares its limit of 300 requests per minute per shop. A long question can take a few dozen tool calls, so a busy integration and a chatty assistant on the same shop can run into each other.
  • Everything is limited to your shop. An assistant can’t reach another shop’s data, even with a key that has every permission.
  • What you ask, and what the assistant reads from Orderkraft, goes to the company behind the assistant. Check their data policy if that matters for your business.
  • Assistants make mistakes. For anything that matters, like a lead time your storefront promises customers, check the result in Orderkraft afterwards.