摘要
Fudo 餐厅收银系统:含明细和付款的销售与小票、付款和支付方式、顾客、产品和菜单类别、支出和供应商、餐桌、厅区、厨房、食材和员工。使用 API 密钥和 secret 的 Fudo API v1alpha1;写入功能已包含,但安装时默认关闭。
引导式设置
2 分钟将 Fudo 连接到 Microsoft Copilot
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Fudo,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
Fudo 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Fudo、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Fudo + Microsoft Copilot
Fudo 餐厅收银系统:含明细和付款的销售与小票、付款和支付方式、顾客、产品和菜单类别、支出和供应商、餐桌、厅区、厨房、食材和员工。使用 API 密钥和 secret 的 Fudo API v1alpha1;写入功能已包含,但安装时默认关闭。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
FUDO_API_KEY, FUDO_API_SECRET
步骤 1 — 获取凭证
该连接器使用 Fudo 支持团队签发的 API 密钥和 secret 读取 Fudo API v1alpha1。
- 发邮件至 [email protected],写明您的 Fudo 账号名称以及需要 API 访问权限的用户。Fudo 建议使用专用用户,例如
api@mirestaurante;API 能执行的操作取决于该用户的角色。 - 将
apiKey填入FUDO_API_KEY,apiSecret填入FUDO_API_SECRET。连接器会在https://auth.fu.do/api将其换成有效期 24 小时的令牌,并在过期前续期。 - 先调用
fudo_list_payment_methods:它会检查凭据并返回支付方式 ID。
注意事项:
- 查询某一天的销售:
fudo_list_sales,设置created_at=and(gte.2026-10-06T00:00:00Z,lte.2026-10-06T23:59:59Z)、sale_state=in.(CLOSED)。时间为带 Z 的 UTC(ISO 8601)。 - 过滤使用 Fudo 的运算符表达式(
eq.、gte.、in.(a,b)、ilike.%text%)。若某列不接受该形式,Fudo 返回 400 或 422。 page_size默认 250(最大 500),且不返回总数:持续请求下一页,直到某页条目少于page_size。- 创建和更新顾客、支出和产品的工具安装时默认关闭,请有意识地开启。触发限流时返回 429。
步骤 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 窗格中试一试:提出需要用到
Fudo的工具的请求。 - 选择 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 |
|---|---|
fudo_list_customers | List the restaurant's customers with name, phone, e-mail, address, sales count, first and last sale date and house account |
fudo_get_customer | Get one customer by id with contact data, fiscal address, discount percentage, house account flag, sales count and first and last sale dates |
fudo_list_products | List products on the menu with name, code, price, cost, stock, stock control, active flag and position |
fudo_get_product | Get one product by id with price, cost, stock, description and flags; embed category, modifiers, recipe proportions or menus with include |
fudo_list_product_categories | List product categories (menu sections) with name, position, parent category and kitchen |
fudo_get_product_category | Get one product category by id with name and position; embed its products, kitchen, parent category or taxes with include |
fudo_list_sales | List sales (tickets) with total, type (eat-in, takeaway, delivery), state, people, customer name and created and closed times |
fudo_get_sale | Get one sale by id with total, type, state, people, comment and times; embed the items with products, payments, discounts, tips, customer… |
fudo_list_payments | List payments received with amount, payment method, paid and created times and canceled flag |
fudo_get_payment | Get one payment by id with amount, received amount, paid time, external reference and canceled flag; embed the payment method with include |
fudo_list_payment_methods | List the payment methods configured in Fudo (cash, cards, transfers, online processors) with id, name and kind |
fudo_list_expenses | List expenses (purchases and costs) with amount, date, due date, description, status and receipt number |
fudo_get_expense | Get one expense by id with amount, dates, description, status and receipt; embed category, provider, items and payments with include |
fudo_list_expense_categories | List expense categories (rent, supplies, salaries...) with id and name |
fudo_list_tables | List the dining tables with number, room and status |
fudo_get_table | Get one table by id with number and room; embed its open sales with items and payments with include |
fudo_list_rooms | List the rooms (dining areas such as salon or terrace) with id and name; embed their tables with include=tables |
fudo_list_kitchens | List the kitchens (preparation stations such as kitchen or bar) with id and name |
fudo_list_providers | List providers (suppliers) with name, e-mail, phone, address, fiscal number and house account balance |
fudo_list_ingredients | List ingredients with cost, unit, stock, minimum stock and stock control |
fudo_list_users | List the Fudo users (staff such as waiters and cashiers) with name, e-mail and active flag; embed their role or cash registers with include |
fudo_create_customer | Create a customer in Fudo with name and optional contact data |
fudo_update_customer | Change a customer's contact data, discount, house account or active flag |
fudo_create_expense | Record an expense (purchase, bill or cost) with amount and date, and link it to a category, provider or payment method |
fudo_update_product | Change a product's price, cost, stock, minimum stock, name, code, description or active flag |
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" 即可使用新版本。
下一步
这份指南对你有帮助吗?