create_cart
ActiveTool of Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator
Create a Shopify-owned cart for selected variant line items through the configured Shopify Cart/Storefront MCP endpoint. Commonlands MCP is a stateless proxy: cart state is stored and mutated by Shopify, not in the Worker.
Parameters schema
{
"type": "object",
"required": [
"cart"
],
"properties": {
"cart": {
"type": "object",
"required": [
"line_items"
],
"properties": {
"context": {
"type": "object"
},
"signals": {
"type": "object"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity",
"item"
],
"properties": {
"item": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
},
"additionalProperties": false
},
"quantity": {
"type": "integer",
"maximum": 999,
"minimum": 1
}
},
"additionalProperties": false
},
"maxItems": 25,
"minItems": 1
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"description": "Optional UCP metadata. ucp-agent.profile is filled from server config when omitted."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator
https://github.com/CommonlandsAbbe/commonlands-mcp
1/7 registries