Skip to main content
Glama

ZeroAi MCP

在 Cursor、Claude、Cline 里查询 ZeroAi 商城的 AI 会员与 CDK 商品、库存和购买链接。只读,不下单,也不付款。

质保订阅,不保封号。

ZeroAi 是独立的第三方商店。本服务只查询公开商品信息,并给出 https://zeroai.si/product/{id},由你自己在网站完成购买。价格字段来自商店接口,本说明不标价。目录只包含会员与 CDK 商品。

仓库:https://github.com/shaodianzuo-code/zeroai-mcp

English

Read-only MCP for the ZeroAi storefront. Browse AI membership and CDK products, check stock, and get a purchase link. It does not place orders or take payment.

质保订阅,不保封号。 Subscription warranty applies; account bans are not covered.

ZeroAi is an independent third-party store. The server only reads the public catalog and returns https://zeroai.si/product/{id} so you can buy on the site yourself. Price fields are passed through from the store API. This document does not quote them. The catalog is limited to membership and CDK products.

Repository: https://github.com/shaodianzuo-code/zeroai-mcp

Related MCP server: Medusa UCP

工具 / Tools

工具

作用

list_categories

列出可浏览的商品分类。无参数。

search_products

按关键词、分类、排序分页搜索会员与 CDK 商品。

get_product

按正整数商品 ID 读取说明、规格、库存和购买链接。不返回评价。

check_stock

按商品 ID 查询库存,可再指定 sku_id。库存待确认时会直接写明。

get_purchase_guide

说明如何在网站自行下单。可选 product_id,用于附上该商品链接。

get_announcement

读取站点公告的公开文本。

搜索结果里的库存来自商品列表。核对某一件时用 check_stock,它读取商品详情。

Search results use the list endpoint's stock. check_stock reads the product detail.

search_products 参数:

字段

必填

说明

keyword

否

关键词,例如 ChatGPT Plus、Grok

category_id

否

分类 ID,来自 list_categories

sort

否

default、newest、sales、price_asc、price_desc

page

否

页码,从 1 开始,默认 1

page_size

否

默认 10,最大 20

商品 ID 必须是数字。购买链接只用 https://zeroai.si/product/{id}。

成功结果都带有 disclaimer:质保订阅,不保封号。

安装 / Install

需要 Node.js 20 或更新版本。不需要 API Key。dist/ 已提交,从 GitHub 安装时不用再构建。

Node.js 20 or newer. No API key. dist/ is committed, so a GitHub install does not need a build step.

可选环境变量:

变量

默认值

ZEROAI_API_BASE

https://zeroai.si/api/v1/storefront

ZEROAI_SITE_ORIGIN

https://zeroai.si

请求使用 User-Agent: ZeroAi-MCP/0.1.0 (+https://github.com/shaodianzuo-code/zeroai-mcp),超时 15 秒,失败再试一次,并把成功响应缓存约 45 秒。

从 GitHub 运行 / Run from GitHub

{
  "mcpServers": {
    "zeroai": {
      "command": "npx",
      "args": ["-y", "github:shaodianzuo-code/zeroai-mcp"]
    }
  }
}

本地 node / Local node

git clone https://github.com/shaodianzuo-code/zeroai-mcp.git
cd zeroai-mcp
npm install --omit=dev
{
  "mcpServers": {
    "zeroai": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/zeroai-mcp/dist/index.js"]
    }
  }
}

把 /ABSOLUTE/PATH 换成你机器上的实际路径。

Claude Desktop

配置文件:

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows:%APPDATA%\Claude\claude_desktop_config.json

  • Linux:~/.config/Claude/claude_desktop_config.json

从 GitHub 运行:

{
  "mcpServers": {
    "zeroai": {
      "command": "npx",
      "args": ["-y", "github:shaodianzuo-code/zeroai-mcp"]
    }
  }
}

本地 node:

{
  "mcpServers": {
    "zeroai": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/zeroai-mcp/dist/index.js"]
    }
  }
}

Cursor

项目或用户配置:.cursor/mcp.json,或 Cursor Settings → MCP。

从 GitHub 运行:

{
  "mcpServers": {
    "zeroai": {
      "command": "npx",
      "args": ["-y", "github:shaodianzuo-code/zeroai-mcp"]
    }
  }
}

本地 node:

{
  "mcpServers": {
    "zeroai": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/zeroai-mcp/dist/index.js"]
    }
  }
}

Cline

VS Code 里的 Cline MCP 设置,通常写入 cline_mcp_settings.json。

从 GitHub 运行:

{
  "mcpServers": {
    "zeroai": {
      "command": "npx",
      "args": ["-y", "github:shaodianzuo-code/zeroai-mcp"]
    }
  }
}

本地 node:

{
  "mcpServers": {
    "zeroai": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/zeroai-mcp/dist/index.js"]
    }
  }
}

远程 HTTP / Remote HTTP

同一套 6 个只读工具也可以走 Streamable HTTP,地址是 https://zeroai-mcp.zeroai-store.workers.dev/mcp。不需要 API Key。

The same six read-only tools are available over Streamable HTTP at https://zeroai-mcp.zeroai-store.workers.dev/mcp. No API key.

Cursor

{
  "mcpServers": {
    "zeroai": {
      "url": "https://zeroai-mcp.zeroai-store.workers.dev/mcp"
    }
  }
}

Claude

{
  "mcpServers": {
    "zeroai": {
      "url": "https://zeroai-mcp.zeroai-store.workers.dev/mcp"
    }
  }
}

部署时:

  1. 准备 Cloudflare 账号,以及带 Workers Scripts 编辑权限的 API 令牌。也可以用交互登录代替令牌。

  2. 在仓库根目录执行:

npx wrangler login
# 或者导出 CLOUDFLARE_API_TOKEN 和 CLOUDFLARE_ACCOUNT_ID
npx wrangler deploy
  1. 部署完成后,客户端地址是 https://zeroai-mcp.<你的子域>.workers.dev/mcp。当前地址是 https://zeroai-mcp.zeroai-store.workers.dev/mcp。

  2. 不需要 API Key。只有在你想改默认商店地址时,才在 wrangler.toml 里取消 ZEROAI_API_BASE 和 ZEROAI_SITE_ORIGIN 的注释。

  3. server.json 的 remotes 已经写上这个地址。

部署前可以先检查打包,这一步不需要令牌:

npx wrangler deploy --dry-run --outdir dist-worker

示例提示 / Example prompts

  • 列出 ZeroAi 的商品分类

  • 搜索 Grok 的 CDK

  • 查看商品 27 的说明和购买链接

  • 商品 27 的库存是什么状态

  • 我想自己在网站上买商品 27,步骤是什么

  • ZeroAi 现在的公告是什么

English:

  • List the ZeroAi categories

  • Search CDK products for Grok

  • Show product 27 and its purchase link

  • What is the stock status for product 27

  • How do I buy product 27 on the website myself

  • What is the current ZeroAi announcement

开发 / Develop

npm install
npm test
npm run smoke

npm test 覆盖过滤、库存文案和公告清理。npm run smoke 会启动 stdio 服务,并对线上商店调用每个工具。

根目录的 Dockerfile 用已提交的 dist/ 启动 stdio 服务,供收录站做自动检查。

The root Dockerfile starts the committed dist/ over stdio for directory health checks.

收录 / Registry

server.json 按官方 MCP Registry 的 2025-12-11 schema 编写。

  • 名称:io.github.shaodianzuo-code/zeroai

  • npm 包名:zeroai-mcp(package.json 的 mcpName 与 server.json 的 name 一致)

  • 仓库:https://github.com/shaodianzuo-code/zeroai-mcp

  • 传输:stdio,以及 Streamable HTTP https://zeroai-mcp.zeroai-store.workers.dev/mcp。

建议的 GitHub Topics:e-commerce、catalog、storefront、chatgpt、claude、grok。

许可 / License

MIT。见 LICENSE。

Available Tools

6 tools
check_stock查询库存A
Read-onlyIdempotent

按正整数商品 ID 查询库存,并可指定 SKU。结果转述店面接口,不一定等于实时可购数量。质保订阅,不保封号。

Inputs: id (required), sku_id.

get_announcement站点公告B
Read-onlyIdempotent

读取 ZeroAi 站点公告的公开文本。质保订阅,不保封号。

Inputs: no named parameters.

get_product商品详情A
Read-onlyIdempotent

按正整数商品 ID 读取说明、规格、库存和购买链接。不能使用别名。不返回评价。质保订阅,不保封号。

Inputs: id (required).

get_purchase_guide购买说明A
Read-onlyIdempotent

说明如何在 ZeroAi 网站自行查看商品并下单。可附带某个商品的购买链接。不能代下单,也不能代付款。质保订阅,不保封号。

Inputs: product_id.

list_categories商品分类A
Read-onlyIdempotent

列出 ZeroAi 可浏览的商品分类。只读,不下单。质保订阅,不保封号。

Inputs: no named parameters.

search_products搜索商品A
Read-onlyIdempotent

搜索或浏览 ZeroAi 的 AI 会员与 CDK 商品。可按关键词、分类和排序分页。返回价格、库存说明、购买链接和简短说明。不返回评价。质保订阅,不保封号。

Inputs: page, sort, keyword, page_size, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool has a distinct primary target (categories, search, product detail, stock, guide, announcements), but check_stock overlaps with get_product since the latter also returns stock, and list_categories vs search_products both serve browsing. Descriptions do clarify the boundaries (e.g. stock is per-SKU and may not match real-time availability), so misselection is unlikely but possible.

    Naming Consistency5/5

    All six names follow a clean verb_noun snake_case pattern: check_stock, list_categories, search_products, get_product, get_purchase_guide, get_announcement. The only variation is check_ vs get_, which is a deliberate and readable semantic distinction rather than an inconsistency.

    Tool Count5/5

    Six read-only tools is well-scoped for a storefront browsing/inspection server, with no redundant or filler entries. Each tool maps to a distinct aspect of the catalog surface.

    Completeness4/5

    The surface covers the full read-only browse lifecycle: categories, search, product detail, stock check, purchase guidance, and announcements. Purchase, payment, and reviews are explicitly excluded by design, so the only real gap is SKU-level enumeration for a product beyond the optional SKU parameter on check_stock.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search enterprise Auto-ID products and exact SKUs, read live stock and current pricing, and explore variants, accessories, consumables and support relationships through a public read-only endpoint. It also surfaces manuals, firmware, drivers and other verified technical resources from the vendor's support center.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only catalogue discovery through standard MCP tools for searching, batch lookup, and retrieving product/variant details with prices and availability.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables read-only product catalog search and detail retrieval, inventory checks, quotes, catalog audits, and JSON-LD export from validated local Japanese shop catalogs over MCP stdio. It does not support checkout, payments, reservations, or orders.
      Apache 2.0