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
工具 / 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"]
}
}
}
Glama
Browse the tools and quality score on , or try the server online with .
Docker
docker run -i --rm ghcr.io/shaodianzuo-code/zeroai-mcp:0.1.0
镜像由 GitHub Actions 发布到 GHCR,走 stdio。 / Published to GHCR by GitHub Actions, stdio transport.
远程 HTTP / Remote HTTP
远程 HTTP 版本即将推出(coming soon)。目前请用上面的 npx 或 Docker 方式。
Remote HTTP is coming soon. For now use the npx or Docker install above.
示例提示 / 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-mcp package.json的mcpName与server.json的name一致- 仓库:https://github.com/shaodianzuo-code/zeroai-mcp
- 传输:stdio
- OCI 镜像:
ghcr.io/shaodianzuo-code/zeroai-mcp:0.1.0
建议的 GitHub Topics:e-commerce、catalog、storefront、chatgpt、claude、grok。
许可 / License
MIT。见 LICENSE。