Flintrail

com.soflution由 soflution.com 發布v1.3.0更新於 Oct 29, 2026

Drive a real Chrome live, record a flow once, replay it in milliseconds without an LLM.

概覽

AI 產生的概覽

讓 AI 助理驅動真實的 Chrome,錄製一次瀏覽器流程後不需大型語言模型即可毫秒級重播,或直接重播網站本身的 API 呼叫。

可以做什麼
  • 開啟分頁並在一次呼叫中批次執行點擊、填寫、選取、上傳、下載、對話框、調整視窗等動作,回傳帶元素參照的精簡頁面快照
  • 重新讀取頁面、在頁面中執行 JavaScript、截圖,並檢視主控台錯誤與網站本身的網路請求
  • 錄製帶元素指紋與變數的流程,之後重播、以多組變數平行重播,並列出或檢視已儲存的流程
  • 使用瀏覽器、1Password、Bitwarden 或自訂指令中儲存的密碼登入,且不向助理揭露密碼
  • 管理分頁、接管你自己開啟的分頁,並查看擴充功能連線狀態
適用情境
適合助理需要反覆執行同一瀏覽器任務的情況,首次執行後能更快、更省地完成;也適合你自己操作一次來教它一個流程。需要具登入狀態的真實 Chrome 控制時同樣適用。
執行需求
以本機程序執行,通常透過 npx 或 Claude Desktop 安裝包啟動,需要 Node.js。需要 Chrome for Testing 或 Chromium 瀏覽器,或在 Chromium 125+ 瀏覽器中安裝 Flintrail 擴充功能。選用環境變數可設定模式、連接埠、主目錄與密碼來源;HTTP 傳輸需要 bearer 權杖。更新檢查需要連線至 npm 登錄庫。
安裝前請注意
它會控制具登入狀態的真實瀏覽器,可點擊、輸入、上傳檔案、送出表單並在頁面中執行 JavaScript,因此操作可能修改或刪除網站上的資料。fl_login 會使用你的密碼管理員或瀏覽器密碼;命令列來源需要 OP_SERVICE_ACCOUNT_TOKEN 或 BW_SESSION 等憑證,自訂指令來源會執行一支程式。除非關閉,監督程序每六小時會從 npm 自動更新。HTTP 傳輸若離開本機應置於 TLS 之後。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Flintrail,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Flintrail]

The fastest browser for AI agents.

Drive a real Chrome live. Record a task once. Replay it in milliseconds, with no LLM in the loop.
Or skip the page entirely and replay the site's own API calls with your session.

[CI] [MCP] [Chrome extension] [Node 20+] [MIT]

[Flintrail demo: record a flow, replay it in 683 ms, replay its API call in 114 ms]


Why

Browser MCP servers today make the model do everything, every time: read the page, pick one element, click, read the page again. Each click is a tool call, and each tool call is a model turn that costs seconds. Do the same task tomorrow and the agent pays the full price again.

Flintrail treats the browser like a JIT compiler treats code:

  1. Live, the agent drives the page, but batches a whole sequence of actions into one call and gets back a compact snapshot with clickable refs.
  2. Record, the same calls are captured with multi-clue element fingerprints and {{variables}}.
  3. Replay, the flow runs at browser speed with no model between steps. When a site changes, the run stops at the exact failing step and hands the page back so the agent repairs only that part.
  4. API replay, Flintrail sees the site's own fetch/XHR calls and can replay them from inside the page, with the same cookies and session. No rendering, no clicking.

Benchmark

[Benchmark]

Same 5-step task (fill a field, tick a box, change page, click a client-rendered button that calls an API, wait for the result), median of 10 runs, headless Chromium. The numbers are tool-side wall time only. In a real agent every tool call also costs a model turn, so going from 7 calls to 2 saves several more seconds on top.

The hatched bar is the floor: the same clicks as a raw Playwright script, with no MCP and no agent. Any tool that clicks through the UI is bounded by it, which is why the per-call ratios stay modest. Flintrail adds about 50 ms per call on top of that floor, Playwright MCP about 260 ms. The only way under the floor is to stop clicking, which is what API replay does.

Reproduce it: npm run bench (installs nothing global; Playwright MCP is a dependency of bench/ only).

Architecture

[Architecture]

Install

Claude Desktop: download flintrail.mcpb and double-click it.

Claude Desktop, Claude Code, Cursor (stdio)

json
{  "mcpServers": {    "flintrail": {      "command": "npx",      "args": ["-y", "flintrail@latest"]    }  }}

Claude Code: claude mcp add flintrail -- npx -y flintrail@latest

From a local clone (git clone https://github.com/Soflutionltd/flintrail.git && cd flintrail && npm install && npm run build), start node /absolute/path/to/flintrail/bin/supervise.cjs.

Automatic updates

Every install below keeps itself up to date, without restarting Claude or Cursor. The MCP client talks to a small supervisor (bin/supervise.cjs) that stays connected while the server runs behind it. At start-up and every 6 hours it asks npm for the latest flintrail, installs it in the background in ~/.soflution/mcp/flintrail/, and switches over as soon as no request is in flight (the client is told the tool list may have changed). A version that fails to start is rolled back at once and never picked again on that machine. npm checks the integrity of every download, and releases are published from GitHub Actions with provenance.

The only network call is that version check to registry.npmjs.org; nothing about your machine or your use is sent. Turn it off with NO_UPDATE_NOTIFIER=1 (or SOFLUTION_AUTO_UPDATE=0). Started directly with node dist/..., flintrail does not update itself and only mentions a newer version in its first tool result.

Any agent, any machine (HTTP)

bash
node dist/cli.js --http --host 127.0.0.1 --port 8931# token is generated once in ~/.flintrail/token (or pass --token / FLINTRAIL_TOKEN)

Clients connect to http://host:8931/mcp with Authorization: Bearer <token>. Put it behind a tunnel or reverse proxy with TLS if it leaves the machine.

Browser modes

ModeWhenHow
attach (default)Your desktop. Keep your logged-in sessions.Connects over CDP to a dedicated Chrome for Testing. On macOS Flintrail finds it, restarts it with a local debugging port if needed (tabs are restored) and opens its own tabs in the background.
launchServers, CI, Docker.FLINTRAIL_MODE=launch starts Chromium with a persistent profile in ~/.flintrail/profile, headless by default.
extensionAnyone, any Chromium browser, no debugging port.FLINTRAIL_MODE=extension and the Flintrail extension installed. See below.

Flintrail refuses to attach to a personal browser (Brave, Edge, Opera, or on macOS anything that is not Chrome for Testing) unless FLINTRAIL_ALLOW_ANY_BROWSER=1. Your everyday browser stays yours.

Browser extension

The extension is the easiest way in: no command-line flags, no debugging port, works in Chrome, Edge, Brave, Arc or any Chromium 125+.

[Flintrail extension popup]

  1. Install. Download flintrail-extension-<version>.zip from the latest release, unzip it, open chrome://extensions, enable Developer mode, click Load unpacked and pick the folder. (Chrome Web Store listing in progress.)
  2. Run Flintrail in extension mode, for example in Claude Desktop:
    json
    { "mcpServers": { "flintrail": { "command": "npx", "args": ["-y", "flintrail@latest"], "env": { "FLINTRAIL_MODE": "extension" } } } }
  3. Connect. Click the Flintrail icon, paste the token from ~/.flintrail/token, click Connect. The extension reconnects by itself afterwards.

How it works: Flintrail starts a relay on 127.0.0.1:8932. The extension connects to it with the token and executes CDP commands with chrome.debugger, one tab at a time. Playwright sees an ordinary CDP browser, so every tool, recording and replay works unchanged. The agent only sees tabs it opened itself or tabs you share with Share with agent. Chrome shows its "started debugging this browser" bar while a tab is driven, by design.

Teach by demonstration

You do not have to explain a task to the agent. Type a flow name in the popup, click Start recording, do the task yourself in the tab, click Stop and save. The extension records clicks, typing, selects, checkboxes and Enter with the same element fingerprints the engine uses, and never records password fields. Then:

text
fl_flow_set_var("paybyphone-renew", 0, "plate")   # turn the typed plate into {{plate}}fl_run("paybyphone-renew", { "plate": "AB-123-CD" })

The flow now runs without you, without the LLM, in milliseconds per step.

Limits in extension mode: browser-level CDP (download folder, permissions, window size) is not available to extensions, so download saves through the browser's normal download flow. Chrome dismisses dialogs of background tabs driven by chrome.debugger before anyone can answer, so in this mode {do:"dialog"} answers the next alert / confirm / prompt from inside the page instead.

Tools

ToolWhat it does
fl_openOpen a URL in a background tab, return a compact snapshot with [eN] refs.
fl_actRun many actions in one call: click, dblclick, hover, fill, type, select, check, press, upload, download, goto, back, wait, scroll, mouse, dialog, resize, eval, request.
fl_snapshotRe-read a page: interactive elements, headings, text excerpt, same-origin frames.
fl_extractRun JavaScript in the page and return the result.
fl_networkList the site's own API calls with timing, body and a JSON sample.
fl_screenshotJPEG screenshot of the tab, or of one element (ref / selector), in CSS pixels usable by mouse.
fl_consoleConsole errors and uncaught exceptions of a tab (level: "all" adds warnings and logs). fl_act says when new ones appear.
fl_record_start / fl_record_stopRecord a flow; repairFrom keeps the good steps and re-records the rest.
fl_runReplay a flow with variables, no LLM.
fl_run_manyReplay a flow for many variable sets in parallel tabs.
fl_flows / fl_flowList flows, inspect one.
fl_flow_set_varTurn a recorded value into a {{variable}}, for flows taught by demonstration.
fl_extensionExtension connection status.
fl_adoptTake control of a tab you already opened yourself, for example right after signing in by hand.
fl_loginSign in with your saved password (browser password manager, 1Password, Bitwarden or your own command). Flintrail fills it, the agent never sees it. See Sign in.
fl_tabs / fl_closeManage tabs.

Example

jsonc
// one call, five actions{ "tool": "fl_act", "tab": "t1", "actions": [  { "do": "fill",  "ref": "e1", "value": "AA-111-AA", "var": "plate" },  { "do": "check", "ref": "e3" },  { "do": "click", "role": "button", "name": "Continue" },  { "do": "click", "selector": "[data-testid=confirm]" },  { "do": "wait",  "text": "active" }]}

Then fl_run("permit", { "plate": "ZZ-999-ZZ" }) repeats it in under a second.

jsonc
// files, native dialogs, coordinates, mobile width{ "tool": "fl_act", "tab": "t1", "actions": [  { "do": "upload", "ref": "e4", "files": ["/Users/me/statement.csv"], "var": "statement" },  { "do": "dialog", "accept": true },  { "do": "click", "role": "button", "name": "Delete" },  { "do": "mouse", "x": 640, "y": 380 },  { "do": "resize", "width": 390, "height": 844 }]}

upload works on a file input, even a hidden one, and on a button or drop zone that opens the file chooser. Dialogs are dismissed by default and every one is reported in the result, as are new console errors.

Sign in

fl_login signs the agent in with the passwords you already have, without ever showing them to the agent: it only learns which fields were filled. Passwords and one-time codes are masked in every tool result, including captured request bodies and page reads, and a recorded flow stores a reference to the login, never the secret. On a multi-step sign-in (e-mail page, then password page) the agent calls it on each step.

Sources are tried in the order of FLINTRAIL_PASSWORDS (default browser):

SourceSetupNotes
browserNone. Save the password in Chrome, Edge or Brave as usual.The browser fills the form itself; Flintrail confirms with a real click and submits. Works in extension mode and in attach mode, on the profile that holds your passwords. With several saved accounts for a site, the browser picks one: use a CLI source to choose.
1password[:path]1Password CLI signed in, or OP_SERVICE_ACCOUNT_TOKEN in Flintrail's environment for unattended use.One-time codes stored in 1Password are filled too. A service account never asks for Touch ID; scope it to a vault that holds only what the agent needs.
bitwarden[:path]Bitwarden CLI unlocked, BW_SESSION in Flintrail's environment.One-time codes through bw get totp.
command:pathAny program: Flintrail runs it with the page URL as only argument.It prints [{ "url", "username", "password", "totp"?, "title"? }]. Use it for KeePassXC, Dashlane, pass or a company vault.

Logins from a CLI source are only filled in frames whose domain matches the login's website, so a look-alike page gets nothing. Several matches: the agent passes item (ID, title or username). Example for Claude Desktop:

json
"env": { "FLINTRAIL_PASSWORDS": "browser,1password" }

Not supported: Apple Passwords (iCloud Keychain) has no command-line access. One-time codes sent by SMS, e-mail or phone prompt: fl_login says so and the agent asks you.

How replay finds elements again

Each recorded step stores a fingerprint, not a fragile selector: test id, stable id, name attribute, ARIA role and accessible name, placeholder, link target, visible text and a short CSS path. At replay time Flintrail tries them from most to least stable and takes the first that matches exactly one element, waiting only for that element, never for the network to go idle.

Security

  • No password is ever written to a flow. Password fields are skipped during recording; keep the session logged in instead.
  • fl_login never returns a password or a one-time code to the agent and masks them in every tool result. CLI logins are only filled on their own website. Password manager programs are chosen in the configuration, never by the agent, and run without a shell.
  • Flows are plain JSON in ~/.flintrail/flows, easy to review and version.
  • The HTTP transport requires a bearer token (constant-time comparison) and binds to 127.0.0.1 by default.
  • eval and request run inside the page with the page's own privileges, nothing more.

Configuration

VariableDefault
FLINTRAIL_MODEattachattach, launch or extension
FLINTRAIL_RELAY_PORT8932Local port the extension connects to
FLINTRAIL_CDP_URLhttp://127.0.0.1:9222Browser to attach to
FLINTRAIL_PORT9222Debugging port used when Flintrail starts Chrome for Testing
FLINTRAIL_CHROMEautoBrowser executable
FLINTRAIL_HEADLESS10 to see the window in launch mode
FLINTRAIL_HOME~/.flintrailFlows, profile, token
FLINTRAIL_DOWNLOADS~/Downloads/FlintrailWhere downloads land
FLINTRAIL_TOKENgeneratedHTTP bearer token and extension token
FLINTRAIL_PASSWORDSbrowserPassword sources for fl_login, in order: browser, 1password[:path], bitwarden[:path], command:path. off removes the tool.

Develop

bash
npm installnpx playwright-core install chromium   # once, for testsnpm test                               # build + 26 end-to-end tests over real MCP, extension includednpm run pack:extension                 # flintrail-extension-<version>.zipnpm run bench                          # benchmark vs Playwright MCP

Roadmap

  • Chrome Web Store and Edge Add-ons listings for the extension.
  • Automatic promotion of recorded UI steps to API steps when the captured call is replay-safe.
  • Shared flow library for common sites.
  • Visual diff on replay failure.

En français

Flintrail est un serveur MCP de navigation pour agents IA. Il pilote un vrai Chrome dédié (jamais votre navigateur personnel), enchaîne plusieurs actions en un seul appel, enregistre une tâche la première fois puis la rejoue seul, sans IA, en quelques centaines de millisecondes, ou en rejouant directement les appels API du site avec votre session. Sur notre banc d'essai, la même tâche prend 2,4 s avec Playwright MCP et 0,11 s avec Flintrail en mode API.

L'extension Chrome rend tout cela accessible à tout le monde : on l'installe, on colle le jeton, et l'agent pilote le navigateur. Mieux, on peut lui apprendre une tâche en la faisant soi-même une fois (bouton Start recording), Flintrail la rejoue ensuite seul. Les mots de passe ne sont jamais enregistrés.

Pour se connecter, l'agent utilise fl_login avec vos mots de passe habituels : ceux enregistrés dans le navigateur (sans réglage), ou 1Password, Bitwarden ou tout autre gestionnaire par sa ligne de commande. Flintrail remplit le formulaire lui-même, l'agent ne voit jamais ni le mot de passe ni le code.

License

MIT © 2026 Soflution Ltd

來源:README.md,提交 67adb63

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v1.3.0最新Oct 29, 2026
  2. v1.2.0Oct 26, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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