ZeroAi MCP
Read-only MCP for the ZeroAi store: browse AI membership and CDK products, stock, buy links.
Documentation
ZeroAi MCP
MCP 已迁到 zeroai-mcp 仓库。
在 Cursor、Claude、Cline 里查询 ZeroAi 商城的 AI 会员与 CDK 商品、库存和购买链接。只读,不下单,也不付款。
质保订阅,不保封号。
ZeroAi 是独立的第三方商店。本服务只查询公开商品信息,并给出 https://zeroai.si/product/{id},由你自己在网站完成购买。价格字段来自商店接口,本说明不标价。
名称包含「成品号」的商品不会返回,验证码接收类商品也不会返回。
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.
Products whose names contain 「成品号」 are left out, as are verification-code products.
工具 / 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。
发布到 npm 之后,可以用包名启动:
{
"mcpServers": {
"zeroai": {
"command": "npx",
"args": ["-y", "zeroai-mcp"]
}
}
}
在本仓库里,包位于 mcp/。克隆后在本地构建,再用 node 启动:
git clone https://github.com/shaodianzuo-code/zeroai-ai-membership.git
cd zeroai-ai-membership/mcp
npm install
npm run build
{
"mcpServers": {
"zeroai": {
"command": "node",
"args": ["/ABSOLUTE/PATH/zeroai-ai-membership/mcp/dist/index.js"]
}
}
}
把 /ABSOLUTE/PATH 换成你机器上的实际路径。
可选环境变量:
| 变量 | 默认值 |
|---|---|
ZEROAI_API_BASE | https://zeroai.si/api/v1/storefront |
ZEROAI_SITE_ORIGIN | https://zeroai.si |
请求使用 User-Agent: ZeroAi-MCP/0.1.0,超时 15 秒,失败再试一次,并把成功响应缓存约 45 秒。
下面每个客户端都给了两份配置。npx -y zeroai-mcp 要等这个包发布到 npm 之后才能用。现在请用本地 node 那一份。
Each client below has two configs. npx -y zeroai-mcp works after the package is published to npm. Until then, use the local node config.
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
npx:
{
"mcpServers": {
"zeroai": {
"command": "npx",
"args": ["-y", "zeroai-mcp"]
}
}
}
本地 node:
{
"mcpServers": {
"zeroai": {
"command": "node",
"args": ["/ABSOLUTE/PATH/zeroai-ai-membership/mcp/dist/index.js"]
}
}
}
Cursor
项目或用户配置:.cursor/mcp.json,或 Cursor Settings → MCP。
npx:
{
"mcpServers": {
"zeroai": {
"command": "npx",
"args": ["-y", "zeroai-mcp"]
}
}
}
本地 node:
{
"mcpServers": {
"zeroai": {
"command": "node",
"args": ["/ABSOLUTE/PATH/zeroai-ai-membership/mcp/dist/index.js"]
}
}
}
Cline
VS Code 里的 Cline MCP 设置,通常写入 cline_mcp_settings.json。JSON 形状与上面相同。
npx:
{
"mcpServers": {
"zeroai": {
"command": "npx",
"args": ["-y", "zeroai-mcp"]
}
}
}
本地 node:
{
"mcpServers": {
"zeroai": {
"command": "node",
"args": ["/ABSOLUTE/PATH/zeroai-ai-membership/mcp/dist/index.js"]
}
}
}
示例提示 / 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 服务,并对线上商店调用每个工具。
收录 / Registry
server.json 按官方 MCP Registry 的 2025-12-11 schema 编写。
- 名称:
io.github.shaodianzuo-code/zeroai - npm 包名:
zeroai-mcp(package.json的mcpName与server.json的name一致) - 传输:stdio
仓库还在 zeroai-ai-membership 的 mcp/ 目录时,manifest 的 repository.subfolder 指向这里。包发布到 npm 之后,再用 mcp-publisher 登记。
建议的 GitHub Topics:e-commerce、catalog、storefront、chatgpt、claude、grok。
许可 / License
MIT。见 LICENSE。