CloudCart MCP by usefulapi

Read products, orders, customers and discounts; update product text and publish flags in CloudCart.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
89%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,305token 数(工具定义)
~1.5 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.80%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "cloudcart": {
      "url": "https://cloudcart.usefulapi.io/mcp"
    }
  }
}

远程端点

https://cloudcart.usefulapi.io/mcpstreamable-http

它能做什么

工具清单

工具(12)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢cloudcart_list_products(name, active, sku, include, sort, ...)

List store products with their name, flags (active, draft, digital, sale, new) and computed price range. Filter by name or by a variant SKU. CloudCart: GET /api/v2/products.

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by product name.",
      "type": "string"
    },
    "active": {
      "description": "Filter by whether the product is published.",
      "type": "string",
      "enum": [
        "yes",
        "no"
      ]
    },
    "sku": {
      "description": "Find products whose variant has this SKU. Use with include=variants to see the variant.",
      "type": "string"
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_get_product(id, include)

Get one product by id, optionally with its variants (SKU, price, stock). CloudCart: GET /api/v2/products/{id}.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "The record id."
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_get_variant(id, include)

Get one purchasable variant by id: its SKU, barcode, stock quantity, weight and options. To find a variant by SKU, use cloudcart_list_products with sku and include=variants. CloudCart: GET /api/v2/variants/{id}.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "The record id."
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_categories(name, sort, page_number, page_size)

List product categories with their names, slugs and sort order. CloudCart: GET /api/v2/categories.

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by category name.",
      "type": "string"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_vendors(name, sort, page_number, page_size)

List vendors (brands) that products are assigned to. CloudCart: GET /api/v2/vendors.

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by vendor name.",
      "type": "string"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_orders(start_date, end_date, status, include, sort, ...)

List orders, newest first by default. Filter by order date range or by status id (see cloudcart_list_order_statuses). Customer fields are read-only snapshots from checkout. CloudCart: GET /api/v2/orders.

输入模式

{
  "type": "object",
  "properties": {
    "start_date": {
      "description": "Orders placed on or after this date (yyyy-mm-dd).",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "end_date": {
      "description": "Orders placed on or before this date (yyyy-mm-dd).",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "status": {
      "description": "Filter by order status id.",
      "type": "string",
      "pattern": "^\\d+$"
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_get_order(id, include)

Get one order by its id (not the order number people see). Include products, totals, payment or shipping for detail. CloudCart: GET /api/v2/orders/{id}.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "The record id."
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_order_statuses

List the order status ids of this store. Use the id with cloudcart_list_orders. CloudCart: GET /api/v2/order-status.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_customers(email, sort, page_number, page_size)

List customers with name, email, company and marketing opt-in. CloudCart: GET /api/v2/customers.

输入模式

{
  "type": "object",
  "properties": {
    "email": {
      "description": "Filter by exact email address.",
      "type": "string"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_get_customer(id, include)

Get one customer by id. CloudCart: GET /api/v2/customers/{id}.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "The record id."
    },
    "include": {
      "description": "Related records to include, for example variants or products.options (comma-separated).",
      "type": "string",
      "pattern": "^[a-z0-9_.,-]+$"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudcart_list_discounts(name, sort, page_number, page_size)

List discounts and their type, value, and start and end dates. CloudCart: GET /api/v2/discounts.

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by discount name.",
      "type": "string"
    },
    "sort": {
      "description": "Sort field. Prefix with - for descending, for example -date_added.",
      "type": "string",
      "pattern": "^-?[a-z_]+$"
    },
    "page_number": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Records per page (default 20, max 100).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴cloudcart_update_product(id, name, description, active, sort_order)

Change a product's name, description, sort order, or publish flags (active yes/no) on the live store. Only the fields you pass change. CloudCart: PATCH /api/v2/products/{id}.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "The record id."
    },
    "name": {
      "description": "New product name (min 2 characters).",
      "type": "string",
      "minLength": 2
    },
    "description": {
      "description": "New HTML description.",
      "type": "string"
    },
    "active": {
      "description": "yes publishes the product on the storefront; no hides it.",
      "type": "string",
      "enum": [
        "yes",
        "no"
      ]
    },
    "sort_order": {
      "description": "Position in category listings. Lower comes first.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本12 个工具