Repository avatar
AI Tools
v0.1.0
active

zeroai-mcp

io.github.shaodianzuo-code/zeroai-mcp

Read-only ZeroAi membership and CDK catalog. 质保订阅,不保封号。

Documentation

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_BASEhttps://zeroai.si/api/v1/storefront
ZEROAI_SITE_ORIGINhttps://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"]
    }
  }
}

添加到 Cursor / Add to Cursor

Glama

shaodianzuo-code/zeroai-mcp MCP server

Browse the tools and quality score on Glama, or try the server online with MCP Inspector.

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。

OCI
ghcr.io/shaodianzuo-code/zeroai-mcp:0.1.0
Install Command
docker pull ghcr.io/shaodianzuo-code/zeroai-mcp:0.1.0:undefined