摘要
将 ready2order 收银系统(POS)连接到你的 AI:商品、价格和库存、商品分组、小票和每日销售额、未结订单、客户、付款方式和税率,对商品、库存和客户的更改都会先经你确认。
引导式设置
2 分钟将 ready2order 连接到 Microsoft Copilot
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 ready2order,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
ready2order 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → ready2order、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
ready2order + Microsoft Copilot
将 ready2order 收银系统(POS)连接到你的 AI:商品、价格和库存、商品分组、小票和每日销售额、未结订单、客户、付款方式和税率,对商品、库存和客户的更改都会先经你确认。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
READY2ORDER_ACCOUNT_TOKEN
步骤 1 — 获取凭证
ready2order 通过一个简短的授权流程,为每个收银账户签发一个 Account Token。每个账户只需操作一次,大约 10 分钟,需要账户所有者的登录信息和一个免费的开发者注册。
- 在
https://api.ready2order.com注册为开发者。ready2order 会通过电子邮件发给你一个 Developer Token。 - 用它申请访问权限:
返回结果中包含curl -X POST https://api.ready2order.com/v1/developerToken/grantAccessToken \ -H "Authorization: Bearer <DEVELOPER_TOKEN>" -H "Content-Type: application/json" -d "{}"grantAccessToken和grantAccessUri。 - 在 10 分钟内打开
grantAccessUri,用 ready2order 账户所有者登录并点击 Approve。 - 读取 Account Token:
curl https://api.ready2order.com/v1/developerToken/grantAccessToken/<grantAccessToken> \ -H "Authorization: Bearer <DEVELOPER_TOKEN>" - 将返回结果中的
accountToken粘贴到READY2ORDER_ACCOUNT_TOKEN,然后安装连接器。令牌只会发送给 ready2order,在你于 ready2order 后台 Settings → API access 中撤销之前一直有效。
单独使用 Developer Token 会被拒绝并返回 403:连接器需要的是 Account Token。
覆盖范围:带价格、税率、商品编号、条码和库存的商品,含再订货点和安全库存的库存数量,商品分组,含明细、付款和税额拆分的小票(Belege),每张小票的 PDF 链接,按餐桌的未结订单,客户和客户分组,付款方式,税率,收银系统的用户,以及当前是否有未结束的日结(Tagesabschluss)。
先确认:写入会立即作用于正在使用的收银系统,新商品会马上出现在 POS 中。AI 会说明涉及的商品或客户和新的数值,并等待你确认。它可以创建和编辑商品,登记库存(盘点后的绝对数量,或到货、破损等增减数量),创建商品分组,以及创建和编辑客户。ready2order_delete_product 安装时默认关闭;要让商品停售,AI 会把它设为停用,而不是删除。
销售数据:ready2order_list_bills 可按时间段查询。默认按小票所属的日结(营业日)计算日期,也可以按你的要求改用小票自身的时间戳。包含已售明细时,可以得到按商品统计的销售额。小票属于税务记录:连接器无法修改或作废它们。
速率限制:每个 Account Token 每分钟 60 次请求;收到 429 后请等待一分钟。
常见错误:401 Sorry, but your token is invalid.:令牌错误或已被撤销;请重新走一遍授权流程。403:粘贴的是 Developer Token 而不是 Account Token。429:一分钟内请求超过 60 次。400 或 422:某个字段无效,错误信息会指出字段,例如商品没有税率。
该连接器不支持创建或作废小票(Storno)、打印,也不处理优惠券、折扣、餐桌修改、支付终端、Webhook 或会计导出。
步骤 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 — 在 Microsoft Copilot 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。
- 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
- 填写 Server name(例如
AnythingMCP)、说明连接器用途的 Server description,以及 Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。 - 身份验证选择 API key,把 Type 设为 Header,请求头名称填
X-API-Key,然后选择 Create。 - 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
- 在智能体的 Test 窗格中试一试:提出需要用到
ready2order的工具的请求。 - 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。
希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
ready2order_list_products | List the products (Artikel) of the ready2order register with price, VAT, item number, barcode, stock level and product group |
ready2order_get_product | Get one product by id with all its settings (price, VAT, stock, unit, flags), optionally with its group, variations and price levels |
ready2order_create_product | Create a product in the register, with name and price, VAT (product_vat or product_vat_id), product group and optional item number… |
ready2order_update_product | Change fields of an existing product: name, price, VAT, product group, item number, barcode, description, active or sold-out flag, unit and… |
ready2order_get_product_stock | Get the current stock, reorder level (Meldebestand), safety stock and unit of one product by its id |
ready2order_get_stock_by_item_number | Get the current stock, reorder level and safety stock of a product looked up by its item number (Artikelnummer) instead of its id |
ready2order_update_product_stock | Change a product's stock: set an absolute count after an inventory (product_stock) or add and subtract a quantity (product_stockDelta, e.g.… |
ready2order_delete_product | Delete a product from the register |
ready2order_list_product_groups | List the product groups (Produktgruppen, the categories of the POS), with id, name, parent group and type |
ready2order_list_group_products | List all products that belong to one product group (category), with their prices and settings |
ready2order_create_product_group | Create a product group (category) in the register, optionally below a parent group |
ready2order_list_bills | List the bills (Belege, receipts and invoices) of a period with number, date, total, net, VAT, tip, customer and payment state; the main… |
ready2order_get_bill | Get one bill by id with its lines, payments, totals, VAT breakdown and customer |
ready2order_get_bill_pdf | Get a temporary download link for the PDF of a bill, e.g. to send a copy to a customer |
ready2order_list_open_orders | List the open orders of the register (items ordered but not yet billed, e.g. on a restaurant table), optionally per table or product and… |
ready2order_list_customers | List the customers stored in the register with number, name, company, VAT id, group, notes and addresses |
ready2order_get_customer | Get one customer by id with contact data, VAT id, group and addresses |
ready2order_create_customer | Create a customer in the register, e.g. for invoices to a company |
ready2order_update_customer | Change an existing customer's contact data, VAT id, group or notes |
ready2order_list_customer_groups | List the customer groups (Kundengruppen) with their ids, needed to create a customer |
ready2order_list_payment_methods | List the payment methods configured in the register (cash, card, voucher and so on) with their ids and types |
ready2order_list_vat_rates | List the VAT rates configured for the account with id, rate and code, for creating products with product_vat_id |
ready2order_get_daily_report_status | Tell whether a daily report (Tagesabschluss period) is currently open in the register |
ready2order_list_users | List the register's users (cashiers and admins) with their ids and names |
ready2order_list_tables | List the tables of the register (gastronomy floor plan), with id, name or number, description, sort order, table area and whether the table… |
ready2order_list_table_areas | List the table areas (rooms or zones such as inside, terrace or bar) with id, name, short name, sort order and whether they are active |
示例提示
- “昨天的总销售额是多少?卖得最好的 10 个商品是哪些?”
- “饮料分组中哪些商品低于再订货点?”
- “商品编号 1002 到货 24 瓶:把它们加到库存里。”
- “把卡布奇诺的价格调到 4.20,保存前先给我看一下改动。”
- “帮我取 Müller GmbH 最近一张小票的 PDF。”
FAQ
这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。
我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。
智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。
下一步
这份指南对你有帮助吗?