sales
Shopify MCP Integration for OpenAI Agents SDK
Connect Shopify to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Shopify to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Shopify MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-shopify": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=shopify",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=shopify --write=deny Why Use KosmoKrator Here
Expose only Shopify instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Shopify Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Shopify integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__shopify__shopify_list_products | shopify.shopify_list_products | Read | List products from the Shopify store. Supports filtering by status, product type, vendor, and pagination. |
integration__shopify__shopify_get_product | shopify.shopify_get_product | Read | Get a single product from the Shopify store by its ID. Returns full product details. |
integration__shopify__shopify_create_product | shopify.shopify_create_product | Write | Create a new product in the Shopify store. Requires a title. Supports description, vendor, product type, tags, and status. |
integration__shopify__shopify_list_orders | shopify.shopify_list_orders | Read | List orders from the Shopify store. Supports filtering by status, financial status, fulfillment status, and pagination. |
integration__shopify__shopify_get_order | shopify.shopify_get_order | Read | Get a single order from the Shopify store by its ID. Returns full order details including line items and totals. |
integration__shopify__shopify_list_customers | shopify.shopify_list_customers | Read | List customers from the Shopify store. Supports filtering by email or tag and pagination. |
integration__shopify__shopify_get_current_user | shopify.shopify_get_current_user | Read | Get the current shop info from Shopify. Use this to verify the API connection is working. |