跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Flour,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
德国云收银与商品管理系统 Flour(只读):按仓库查看商品价格和库存、库存变动、小票、发票及其他单据、按时段和收银台统计的已售商品、业务伙伴、收银日志、盘点、门店和销售点。
试试这样问
Flour 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Flour、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Flour + ChatGPT
德国云收银与商品管理系统 Flour(只读):按仓库查看商品价格和库存、库存变动、小票、发票及其他单据、按时段和收银台统计的已售商品、业务伙伴、收银日志、盘点、门店和销售点。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
FLOUR_API_TOKEN
步骤 1 — 获取凭证
拿到令牌后,设置大约需要 2 分钟。你需要一个 Flour 账号,以及 Flour 按申请发放的 REST API v3 令牌。
- 用账号所有者的邮箱给 [email protected] 写信,为你的 Flour 账号申请一个 REST API v3 令牌。
- 只把令牌本身粘贴到
FLOUR_API_TOKEN,不要加 Bearer 一词、空格或引号。连接器会通过Authorization请求头发送它。 - 安装连接器并运行
flour_list_stocks:它会列出你的库存点(仓库、卖场、线上库存)及其 ID,并确认令牌可用。
可读取的内容:你的库存点、门店和销售点(收银台);商品的货号、EAN、制造商、各价目表的售价、进价、再订货点、变体和组合件;每个商品在各库存点的库存,包括实物库存(已清点)和计算库存(扣除未完成订单后),以及它的库存变动(到货、销售、更正、调拨);销售和采购单据(小票和发票、报价单、订单、送货单、贷记单、采购发票、采购订单),含明细行、增值税明细和付款状态;某时段内售出的商品及数量和不含税收入,也可按收银台查看;客户和供应商;收银日志,含开班和交班现金及取款;盘点及其清点明细;以及账号中保存的统计。
先读主数据:筛选条件使用 ID。AI 会先读取库存点和收银台,再查询某个收银台的小票或某个仓库的库存。查畅销品时它使用 flour_get_sold_articles,该工具已扣除贷记单;查单张小票和发票时使用 flour_list_documents 和 flour_get_document。flour_find_article 可按货号或条码上的 EAN 查找商品。
日期和金额:Flour 使用 UTC 时间。德国的一个营业日在 UTC 中从前一天晚上开始(夏季 22:00,冬季 23:00),AI 会替你换算。金额以单据币种表示,通常为欧元:totalExVat 为不含税金额,totalIncVat 为含税金额。
繁忙收银台请用短时段:列表按页返回,不带总数。一年的小票可能多达数万张,超过 400 KB 的响应会被截断,所以 AI 每次只查询一天或一周。
只读:全部 17 个工具都只读取数据。你的 Flour 账号不会有任何改动,因此无需确认,安装时也没有被关闭的工具。
凭据留在 Flour:Flour 中保存的支付终端设置、TSE 税控数据和银行账户信息会从响应中移除,绝不会传给 AI。
限制:Flour 每个令牌每分钟约允许 60 次请求。收到 429 后,AI 会等待一分钟再重试。
常见错误:401 表示令牌错误或已被撤销:请向 [email protected] 申请新令牌。429 表示一分钟内请求超过约 60 次。响应被截断说明时段太长:请缩小范围。
该连接器不会登记销售,不会创建或修改商品、单据或业务伙伴,不会记账库存,也不会为收银台交班结账:它只读取数据。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。
- 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
- 填写名称,例如 Name:
Flour。 - 在 Connection 下的 Server URL 中填入
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。 - 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
- 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。
可用工具
| Tool | What it does |
|---|---|
flour_list_stocks | List the stocks (warehouses, shop floors, online stock) with id, name and address |
flour_list_branches | List the branches (shops or locations) with id, name, address and opening hours for pickup |
flour_list_points_of_sale | List the points of sale (cash registers) with id, name, branch, default stock and mode |
flour_search_articles | Search articles (products): id, article number, title, EAN, manufacturer, sales prices per price list, purchase prices, stock per stock… |
flour_find_article | Find articles by article number or EAN in one call (the barcode scanned at the till or printed on a label) |
flour_get_article | Get one article with every field: prices per price list, purchase data, stock settings and availability, variants, bundle parts, allergens… |
flour_get_article_stock | Get the total stock of one article, physical (counted) and calculated (after open orders), across all stocks or in one stock |
flour_get_article_stock_availability | Get the stock availability of one article per stock, physical and calculated, optionally for a period |
flour_list_article_stock_movements | List the stock movements (stock item entries) of one article in a period: goods received, sales, corrections, transfers, with amount and… |
flour_list_documents | List sales and purchase documents (receipts and invoices, quotes, orders, delivery notes, credit notes, purchase orders) in a date range… |
flour_get_document | Get one document with every field: items with prices, discounts and VAT, payments, billing and shipping address, point of sale and cash… |
flour_get_sold_articles | Get the articles sold in a period (invoices and receipts minus credit notes), one row per article with quantity sold and revenue without… |
flour_list_business_partners | List business partners (customers and suppliers): id, name, debtor and creditor number, addresses, contacts, discount, credit limit and tags |
flour_list_pos_journals | List the cash register journals (one per opening and closing of a till): number, point of sale, opening and closing cash, withdrawals, when… |
flour_list_inventories | List the stocktakes (Inventuren) with id, name, creation date and closing date (null while still open) |
flour_get_inventory | Get one stocktake with its counted items (article number, title, EAN, counted amount, purchase price) and the totals |
flour_list_statistics | List the saved statistics of the account (each a key, e.g. a top-seller list, with its rows of article, amount and revenue) |
示例提示
- “上周所有收银台卖得最好的商品有哪些?请分别按数量和不含税收入排序。”
- “哪些商品库存只剩 5 件或更少?它们最近一次到货是什么时候?”
- “给我看看我们汉堡门店收银台昨天开出的小票,带上含税合计。”
- “查找 EAN 为 4006381333931 的商品,告诉我它的价格和各仓库的库存。”
- “周六交班时收银台里有多少现金?有没有取款?”
FAQ
ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。
下一步
这份指南对你有帮助吗?