zhanggui
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zhangguihow many iPhone 16 Pro screen protectors in stock?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🛡️ 膜掌柜 (zhanggui)
手机钢化膜门店智能 CLI — 库存、订单、报价、AI 对话 仿照瑞幸咖啡 AI 开放平台架构,专为社区门店打造
curl -fsSL https://你的服务器/install | bash架构(三层设计,跟瑞幸一样)
┌─────────────────────────────────────┐
│ CLI 层 → 终端交互 │
│ zhanggui login / invent / order 等 │
│ AI 对话模式: 输入"还有iPhone膜吗" │
├─────────────────────────────────────┤
│ MCP 层 → 标准 AI 接口 │
│ zhanggui mcp → 启动服务 │
│ 任意 AI Agent 能调用门店业务 │
├─────────────────────────────────────┤
│ Skill层 → 可导入 AI 助手的知识包 │
│ SKILL.md → 导入 WorkBuddy/Cursor │
└─────────────────────────────────────┘Related MCP server: E-commerce MCP Server with Chatwoot Integration
快速开始
# 1. 配置门店
zhanggui login
# 2. 添加库存
zhanggui invent add -b 闪魔 -m "iPhone 16 Pro" -t 钢化膜 -c 20
# 3. 查看库存
zhanggui invent ls
# 4. 创建订单
zhanggui order new
# 5. 生成报表
zhanggui report --today
# 6. AI 对话模式(需配置 LLM)
zhanggui chat
# 7. 启动 MCP 服务
zhanggui mcp配置 AI 模型(自备 API Key,跟瑞幸一样)
zhanggui models add --name deepseek --api-key sk-xxxxxxxx支持任意兼容 OpenAI API 的模型:
DeepSeek (deepseek.com)
Kimi (moonshot.cn)
Qwen (qwen.aliyun.com)
GPT (openai.com)
硅基流动 / 本地 ollama 等
MCP 服务(让 AI Agent 操作你的店)
zhanggui mcp -p 3456提供 7 个标准工具:
query_inventory- 查询库存add_inventory- 入库登记create_order- 创建订单query_orders- 查询订单query_report- 生成报表query_price- 查报价get_shop_info- 门店信息
数据存储
全部数据存在 ~/.zhanggui/ 目录,JSON 文件格式,零数据库依赖。
📜 开源信息
协议: MIT - 你可以随意使用、修改、商用
变更记录: CHANGELOG.md
贡献代码: 欢迎 PR !参见 CONTRIBUTING.md
报告问题: Issues
🗺️ 路线图
微信小程序 (扫码查库存)
抖音本地生活数据接入
语音录入 (CosyVoice 集成)
多门店支持
数据可视化 Dashboard (Web)
跟瑞幸 CLI 对比
特性 | 瑞幸 CLI | 膜掌柜 |
安装 | curl | bash | curl | bash |
AI 模型 | 自备 API Key | 自备 API Key |
交互模式 | AI 对话点咖啡 | AI 对话管门店 |
MCP 服务 | ✅ | ✅ |
Skill 包 | ✅ | ✅ |
业务逻辑 | 选店→选品→下单 | 库存→订单→报表 |
部署到服务器
# 把整个目录传到服务器
scp -r 膜掌柜/ root@你的服务器:/opt/膜掌柜/
# 然后修改 install.sh 里的远程下载地址
# 用户只需一行命令安装License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP for e-commerce: live product catalog, stock, and pricing for AI agents.
Agent Commerce MCP — agent-native A2A storefront. Discovery, Stripe checkout, affiliate program.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Let AI agents query data and act across all your business apps via MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA production-grade MCP server and CLI tool that enables AI agents to manage Shopify stores through 49 built-in tools across products, orders, inventory, and analytics. It supports natural language workflows for tasks like inventory tracking, customer support, and sales reporting.139 npm18MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage e-commerce operations (products, carts, clients) through WhatsApp via Chatwoot, using MCP tools for inventory, cart, and customer management.1-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage products, shopping carts, and orders in an online store through a well-defined MCP API.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Shopify stores via natural language, with tools for products, orders, inventory, customers, and analytics.5 npmMIT