Final POS Flows (direct)

com.finalpos.build由 build.finalpos.com 發布v1.1.0更新於 Oct 24, 2026

Flow's direct endpoint for sk_ keys. For all of Final in one server, use com.finalpos/final.

發布方自己的服務:Final POS – Custom POS Builder

已驗證Streamable HTTP可網頁執行開發者工具商業與電商

概覽

AI 產生的概覽

Final 的舊版 Flow 直連端點,讓助理以 Flow sk_ 金鑰建置並部署自訂 POS 應用程式。

可以做什麼
  • 建置並部署自訂 POS 應用程式:依審核過的藍圖建立流程、寫入應用程式檔案、驗證並啟動預覽
  • 依 Final 版本鎖定的 POS API 與指令框架為應用程式碼提供依據
  • 管理自訂資料表、密鑰保險庫與 Flow 擴充功能
  • 要求密鑰時由使用者在建置器中輸入,而非經由模型傳遞
適用情境
僅適用於已持有 Flow sk_ 金鑰、且在 Final 閘道之前完成設定的既有環境。新連線應改用合併後的 Final 伺服器,它同時包含 Flow 與 Hub 後台。
執行需求
位於 flow.finalpos.com 的遠端 Streamable HTTP 端點,無需本機安裝。必須透過 Authorization 標頭攜帶 Flow 組織金鑰(sk_ 前綴)進行驗證。隱含需要 Final 帳號及已開通 Flow 的組織。
安裝前請注意
Authorization 標頭攜帶 Flow 組織金鑰,應視為機密。助理可寫入應用程式檔案、驗證並部署,會改動線上 POS 應用程式;部署與刪除被標示為破壞性操作,應先確認。受 Flow 速率限制(每小時 30 次預覽啟動、12 次建置與部署、300 次檔案寫入)。此端點已被取代,較新的合併伺服器不接受 sk_ 金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Final POS Flows (direct),將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.finalpos.build%2Ffinal-flows/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "final-pos-flows-direct": {
      "type": "http",
      "url": "https://flow.finalpos.com/api/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 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

2
  1. v1.1.0最新Oct 17, 2026
  2. v1.0.1Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Finalpos 整合