Final POS Docs

io.github.Final-Commerce由 GitHub 账号 Final-Commerce 发布v1.0.0更新于 Oct 28, 2026

Search the Final POS REST API documentation.

发布方自己的服务:Final POS – Custom POS Builder

已验证Streamable HTTP可网页运行开发者工具数据与分析商业与电商

概览

AI 生成的概览

Final POS 官方远程 MCP 服务器,让助手读取并管理商家的后台数据,并构建自定义销售点应用。

可以做什么
  • 构建与部署 POS 应用:基于蓝图创建流程、对照 Final API 校验、预览并部署
  • 管理商品目录:商品、规格、分类、选项、加料与媒体库
  • 管理库存:库存水平、调拨、供应商、采购订单与补货规则
  • 处理订单、客户、预约、团队角色、门店与税费
  • 查看销售与财务报告,并可按名称查找或调用任意已授权工具
适用场景
适合在 Final POS 上经营门店、希望用对话助手构建或更新收银、自助结账、点餐应用,或管理商品、库存、订单、客户与报表的场景。
运行要求
远程 Streamable HTTP 端点,无需本地安装。需要 Final 账号,通过 OAuth 2.1(PKCE)登录;不支持 OAuth 的客户端可使用 fai_ 连接密钥,以 Authorization Bearer 头传递。连接时需选择一家公司和允许的工具包。
安装前请注意
助手以连接者身份在单一公司内操作,在允许的工具包内可写入、部署和删除数据;部署、删除和批量修改应先确认。MCP 不提供收款、退款和作废操作。连接密钥只显示一次,需妥善保管。Final 会记录每次工具调用及脱敏后的参数预览。使用量按你的 Final 套餐计费。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Final POS Docs,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Final-Commerce%2Ffinal-docs/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "final-pos-docs": {
      "type": "http",
      "url": "https://docs.finalpos.com/mcp"
    }
  }
}

README

[Final]

Final MCP server: build custom POS apps with AI

Connect Claude, ChatGPT, Gemini, Cursor, Codex or any MCP client to Final:
build custom POS apps with Flow (checkout flows, self-checkout kiosks, payment terminals)
and run the store behind them from Hub, through one server.

https://ai.finalpos.com/mcp

[MCP Registry: com.finalpos/final] [Add to Cursor] [Install in VS Code] [License: Apache-2.0]

Connect · What it can do · Tool reference · FAQ · finalpos.com


The Final MCP server is the official Model Context Protocol server for Final, the commerce platform for custom point of sale. One remote endpoint, https://ai.finalpos.com/mcp, gives an AI agent access to every Final product the merchant allows:

  • Flow, the custom POS app builder: describe a checkout and the agent builds it from vetted screen blueprints, grounded in Final's version-locked POS APIs, then validates it, returns a live preview link and deploys it to payment terminals, tablets and kiosks. Counter POS, self-checkout, restaurant ordering, kitchen displays and in-person payment apps.
  • Hub, the back office behind those apps: products and catalog, stock and purchase orders, orders, customers, sales reports, team and roles, outlets, taxes, bookings.

You sign in with your Final account (OAuth 2.1) and choose the company and what the agent may do. There is nothing to install or run locally.

Endpointhttps://ai.finalpos.com/mcp
TransportStreamable HTTP
AuthOAuth 2.1 with PKCE (sign in with Final), or a fai_ connection key as Authorization: Bearer
Registry namecom.finalpos/final
Acts asThe person who connected it, on one company, within the packs they allowed
CostFree to connect; what the agent does follows your Final plan, as if you did it in Final

Connect

Most clients only need the URL. They open a Final sign-in page where you pick the company and the packs, then they're connected.

Claude (claude.ai, Claude Desktop)

Settings → Connectors → Add custom connector, URL https://ai.finalpos.com/mcp.

ChatGPT

Settings → Apps & Connectors → Advanced settings → Developer mode, then Create with the URL https://ai.finalpos.com/mcp.

Claude Code

bash
claude mcp add --transport http final https://ai.finalpos.com/mcp

Run /mcp in Claude Code and choose Authenticate. Or install the plugin, which adds the server together with the Final playbook skill. Inside Claude Code:

/plugin marketplace add Final-Commerce/final-pos-mcp/plugin install final@final

Gemini CLI

bash
gemini extensions install https://github.com/Final-Commerce/final-pos-mcp

The extension adds the server, the Final playbook and commands: /final-pos:stock, /final-pos:sales, /final-pos:new, /final-pos:preview, /final-pos:validate and /final-pos:deploy. Sign in once with /mcp auth final inside Gemini CLI. To add only the server:

bash
gemini mcp add --transport http final https://ai.finalpos.com/mcp

Cursor

[Add to Cursor]

Or in ~/.cursor/mcp.json:

json
{  "mcpServers": {    "final": { "url": "https://ai.finalpos.com/mcp" }  }}

VS Code (GitHub Copilot)

Install in VS Code, or:

bash
code --add-mcp '{"name":"final","type":"http","url":"https://ai.finalpos.com/mcp"}'

Codex, scripts and clients without OAuth

Create a connection key at ai.finalpos.com/connections. It is shown once, and the page prints the exact snippet for each client. For Codex, add this to ~/.codex/config.toml:

toml
[mcp_servers.final]url = "https://ai.finalpos.com/mcp"http_headers = { "Authorization" = "Bearer fai_YOUR_KEY" }

Any other client: POST https://ai.finalpos.com/mcp with Authorization: Bearer fai_YOUR_KEY.

Keys that start with sk_ (Flow) or fpm_ (Hub) belong to those products' own servers and are not accepted here. Create a fai_ key instead, or use OAuth.

Check that it works

Ask your agent: "Use Final to tell me which company you're connected to and which packs you can use." It calls get_connection and list_packs.

What your agent can do

Tools are grouped in packs. When you connect you choose which packs the agent may use, and those are also the OAuth scopes. To keep the model's context small, a connection lists only a few packs at a time. The core tools reach the rest: find_tools searches every allowed pack, and call_tool calls any allowed tool by name.

PackProductWhat it coversListed by default
catalogHubProducts, variants, categories, options, modifiers, product photos and the media library✓
inventoryHubStock levels and history, transfers, suppliers, purchase orders, reorder rules, stock CSV import/export
ordersHubOrders, refunds and e-commerce order sync (read-only: the till takes payments)
customersHubCustomer records, notes, order history and customer import
reportsHubFinancial summary, sales and payment breakdowns, employee sales, sessions, transactions, record export
teamHubTeam members, roles and permissions
storeHubOutlets, stations, taxes and Hub extensions
bookingsHubBookable services: rules, resources, availability, holds and confirmations
buildFlowBuild and deploy Final POS apps: API grounding, blueprints, flow files, preview sandboxes, validation, deploy✓
build_dataFlowCustom tables (the app database), the secrets vault and Flow extensions

Tool names carry their product: hub_get_products, hub_find_low_stock, flow_create_flow, flow_deploy_flow. TOOLS.md lists every tool, with its pack, whether it changes data, and its arguments.

Core tools (always listed): get_connection, list_packs, find_tools, call_tool, enable_packs, disable_packs, switch_company.

Things to ask

Building custom POS apps (Flow)

  • "Build a coffee-shop kiosk with a product grid, modifiers, a cart and card payments, then give me a preview link."
  • "Add a tip screen to my counter app and validate it."
  • "Create a self-checkout flow for a small grocery store with barcode scanning and a receipt screen."
  • "Ship the latest version of my self-checkout flow."

An app build usually runs flow_get_scaffold → flow_create_flow → flow_lookup_command_frame (grounding) → flow_get_blueprint → flow_write_flow_files → flow_validate_flow → flow_start_preview, and returns a live preview URL. Everything the agent builds also appears in the Final builder, where every file write is a restorable checkpoint.

Running the store (Hub)

  • "Which products are below their reorder point at the Main Street outlet? Draft a purchase order for the usual supplier."
  • "Compare last week's sales by category with the week before."
  • "Add these 40 products from the attached spreadsheet, with photos."
  • "Who were my top ten customers this month, and what did they buy?"
  • "Set up a 45-minute massage as a bookable service with two therapists."

Safety and permissions

  • Your role still applies. Every Hub call runs as the person who connected, and Hub checks their live role on each call. Owner-only actions stay owner-only.
  • Packs are the permission. The agent can only call tools in the packs you allowed. You can change packs or disconnect at any time at ai.finalpos.com/connections, and disconnecting revokes every token at once.
  • Writes are labelled. Read tools carry readOnlyHint, and deploys and deletes carry destructiveHint, so clients can ask before acting. The server tells agents to confirm deploys, deletes and bulk changes with you.
  • Money stays on the till. Taking payments, refunding and voiding orders are not available over MCP.
  • Secrets never pass through the model. flow_request_secret asks you to enter an API key in the builder.
  • Everything is logged. The Connections page shows each connected client and every call it made, live.
  • Flow limits: Flow allows 30 preview boots, 12 builds and deploys, and 300 file writes per hour.

Privacy and support

  • What Final keeps. The connection (who made it, the company and the packs), the token it uses to reach Hub and Flow (encrypted), and a log of each tool call: the tool, the outcome, how long it took, and redacted previews of the arguments and result. You see that log on the Connections page.
  • What Final doesn't see. Your conversation. MCP clients send tool calls, not the chat around them.
  • Disconnecting deletes the stored token and revokes every token issued to that connection.
  • Privacy policy · Terms
  • Support: [email protected]. For problems with this guide or the plugin, open an issue.

Flow's direct endpoint

Setups made before the gateway may still use https://flow.finalpos.com/api/mcp with a Flow sk_ key (registry name com.finalpos.build/final-flows). It keeps working, but new setups should use https://ai.finalpos.com/mcp, which includes Flow.

FAQ

What is the Final MCP server?

It is the official MCP server for Final POS. One remote URL, https://ai.finalpos.com/mcp, lets an AI assistant read and manage a merchant's Final back office (Hub) and build point-of-sale apps (Flow).

Can ChatGPT or Claude manage my Final POS inventory?

Yes. Allow the inventory pack when you connect. The agent can check stock levels, find low stock, suggest reorders, raise purchase orders and record received goods.

Can an AI agent build a POS app on Final?

Yes. With the build pack the agent creates a flow, writes the app against Final's version-locked APIs and vetted screen blueprints, validates it, and returns a live preview URL. You launch it from the Final builder.

Do I need an API key?

No, if your client supports OAuth (Claude, ChatGPT, Claude Code, Cursor, Gemini CLI, VS Code): just sign in with Final. Codex and scripts use a fai_ key from ai.finalpos.com/connections.

Which company does it act on?

The one you pick when you connect. If your account has several, the agent can call switch_company.

Can the agent take payments or issue refunds?

No. Payments, refunds and voids happen on the till. Orders are read-only over MCP.

Why does my agent only see a few tools?

Clients put every listed tool into the model's context, and quality drops with long lists. The agent finds the rest with find_tools, calls them with call_tool, or lists a whole pack with enable_packs.

Is there a cost?

Connecting is free. What the agent does is billed like the same work done in Final yourself, under your Final plan.

Where are the Final POS API docs?

At finalpos.com/docs. An agent building an app doesn't need them separately: the build pack grounds every call against Final's version-locked APIs (flow_lookup_pos_api, flow_lookup_command_frame).

About this repository

This repo holds the public setup guide, the MCP Registry entries (server.json, legacy/), the Gemini CLI extension (gemini-extension.json, GEMINI.md, commands/), the Claude Code and Cursor plugin marketplaces (.claude-plugin/, .cursor-plugin/, and plugins/final/, which both share) and the generated tool reference with its machine-readable twin catalog.json, which the server card at https://ai.finalpos.com/.well-known/mcp/server-card.json also reads. GEMINI.md and the Claude skill are the same playbook, and CI checks that they match. The server itself is hosted by Final; no code from this repo runs on your machine.

License

Apache-2.0 © Final Commerce

来源:README.md,提交 240bdf0

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Finalpos 集成