Recta

io.github.RectaBuild由 GitHub 帳號 RectaBuild 發布v1.1.0更新於 Nov 7, 2026

Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.

已驗證Streamable HTTP可網頁執行雲端與基礎設施金融

概覽

AI 產生的概覽

Recta 是給 AI 代理的跨鏈預檢服務,判斷穩定幣或 BTC 轉帳是否有可證明的更便宜路徑,並收取已驗證節省金額的 5%。

可以做什麼
  • 檢查服務狀態與涵蓋範圍:服務是否就緒、支援的通道、資產、所比較的跨鏈橋、金額區間與請求結構
  • 評估適用性與節省機率:預計的轉帳是否被涵蓋、可宣告為基準的路徑,以及該通道過去找到節省的次數
  • 產生並試算評估:依通道與金額取得請求範本,再以未簽章方式試算是否有更便宜路徑與節省金額
  • 簽章與送出:計算代理自有錢包需簽署的訊息,送出已簽章請求並取得可證明的最便宜路徑或棄權結果
適用情境
在代理跨鏈移轉穩定幣或 BTC 之前使用,確認在同一鏈狀態下能否證明存在更便宜的路徑。建議先做免費且免簽章的檢查,確認通道被涵蓋且節省有可能,再決定是否簽章。
執行需求
可使用 api.recta.build 遠端端點,或以 npx 執行本機 npm 套件 @recta/mcp(需 Node.js)。需在 RECTA_PRIVATE_KEY 提供專用 EVM 錢包私鑰,僅在本機用於簽章。選用設定:RECTA_ALLOW_EXECUTE、RECTA_MAX_FEE_USDC、RECTA_MIN_OUTPUT_BPS。評估本身免費且不需資金。
安裝前請注意
服務需要錢包私鑰(RECTA_PRIVATE_KEY),請使用專用錢包並讓私鑰只留在本機。簽署 Permit2 授權後,Recta 可在 Base 上以 USDC 收取已驗證節省金額的 5%,上限由 RECTA_MAX_FEE_USDC 控制。只有在 RECTA_ALLOW_EXECUTE 設為 yes 時才會簽署費用許可並送出交易,其他值下僅能讀取與預覽。執行路徑會動用真實資金。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "recta": {
      "type": "http",
      "url": "https://api.recta.build/mcp"
    }
  }
}

README

Recta

Preflight for AI agents that move stablecoins or BTC between blockchains: before a bridge transfer, ask Recta whether a cheaper route exists at the same chain state. Free when there is none; otherwise exactly 5 % of the saving verified on chain. The agent keeps at least 95 % of every verified saving.

Recta never holds keys or funds: your agent signs and sends every transaction itself.

Client package

packages/client is @recta/client: evaluate, authorize the fee, execute and report from your agent's own wallet, with local checks before every signature. Published to npm from this repository with provenance.

Local MCP server

packages/mcp is @recta/mcp: a local MCP server over the client, so Claude, Cursor or any MCP agent runs the same flow with its own key, which stays on the machine. Execution is off until the operator turns it on. The evaluation tools also come as a Coinbase AgentKit action provider (@recta/mcp/agentkit) and a GOAT plugin (@recta/mcp/goat).

What is in this repository

The tools an agent uses to call Recta: the Agent Skill, the AGENTS.md snippet and, as they are published, the client and local MCP packages. The server behind api.recta.build is not published here; its MCP endpoint above is the one listed in the official MCP Registry as io.github.RectaBuild/recta.

來源:README.md,提交 a0c6f48

工具

9

recta_about

What Recta is and how it charges

Start here. Call Recta before your agent moves stablecoins or BTC from one blockchain to another (a bridge or cross-chain transfer): give it the route you would use anyway, and it answers, for free, whether a cheaper route exists at the same chain state and proves the saving. If there is none, nothing is charged. Networks: arbitrum, arc, avalanche, base, bitcoin_l1, bnb_chain, ethereum, hyperevm, ink, linea, monad, optimism, polygon, robinhood_chain, solana_mainnet, tron_mainnet, unichain. Assets: BTC, USDC, USDC_BINANCE_PEG, USDG, USDT, USDT_BINANCE_PEG, USDT_OP_BRIDGED. The exact corridors are in the service descriptor. Returns the full guide (llms.txt): what Recta is, the fee (5 % of the verified saving, nothing if none) and the call flow.

無需輸入參數。

recta_status

Service readiness

Call before relying on Recta in a run: whether it is ready to evaluate now, and its contract version.

無需輸入參數。

recta_service_descriptor

Commercial contract

Call to check whether a planned cross-chain transfer is covered: the supported corridors (source and destination networks and assets), the bridges compared (Across, CCTP, Stargate, USDT0 and others), amount ranges, limits and the JSON Schema of every request and response.

無需輸入參數。

recta_fit_check

Is my transfer covered? (free, no signature)

Call first, before a cross-chain stablecoin or BTC transfer: whether Recta covers the corridor, which routes it compares, which route you can declare as yours, and the contracts a route would touch. Unsigned, free, never reveals a route or a saving.

輸入參數source_asset必填source_network必填destination_asset必填destination_network必填

recta_saving_odds

How often Recta found a saving here (free, no signature)

How many recorded decisions on this corridor found a saving against each route you could declare (counts and dates only). Unsigned and free; use it to decide whether a signed evaluation is worth it.

輸入參數source_asset必填source_network必填baseline_providerdestination_asset必填destination_network必填

recta_request_template

The whole evaluation request for my transfer (free, no signature)

Returns the full body of the evaluation request for a corridor, an amount and the route you would use anyway (baseline_provider): you fill only your sender, recipient and gas ceilings, then sign it with recta_prepare_signed_request and recta_send_signed_request.

輸入參數amount必填source_asset必填latency_classsource_network必填guarantee_classbaseline_provider必填destination_asset必填destination_network必填

recta_trial_evaluation

Would Recta save me money on this transfer? (free, no signature)

Unsigned trial of an evaluation: send the evaluation request body (from recta_request_template, with your sender and recipient filled) and get whether a cheaper provable route exists for this exact transfer, the saving (lower bound, USDC) and Recta's 5 % of it. Names no route, stores nothing, charges nothing; 3 a day per address. To get the route, sign the same body with recta_prepare_signed_request and recta_send_signed_request.

輸入參數body必填

recta_prepare_signed_request

Text to sign for a Recta request

Step 1 of a free quote for a cross-chain transfer. Computes the exact message the agent's EVM wallet must sign (EIP-191 personal_sign) for one Recta request, and the headers to send. Holds no key and calls nothing. Then call recta_send_signed_request with the same method, path, idempotency_key, body and issued_at, plus the signature. Start with POST /v1/golden-corridor/commercial-evaluations (body: recta_request_template; its "sender" must be the signing address). If you have no wallet tool that can personal_sign, this server cannot sign for you: No signing code needed: the npm package @recta/client builds, checks and signs the request for you, and @recta/mcp (`npx -y @recta/mcp`, key in RECTA_PRIVATE_KEY of a dedicated wallet, kept on your machine) is a local MCP server that does it as tools. Evaluations are free and need no funds.

輸入參數bodypath必填method必填idempotency_key

recta_send_signed_request

Send a signed request to Recta

Step 2: sends the request signed by the agent's own wallet to a Recta route and returns its HTTP status and JSON body. POST /v1/golden-corridor/commercial-evaluations returns, free, the cheapest provable route against the route the agent would use anyway, or an abstention. Executing a decision's route creates a fee of 5 % of the verified saving, capped by the permit the agent signs; no saving, no fee.

輸入參數bodypath必填method必填signer必填issued_at必填signature必填idempotency_key

版本歷史

2
  1. v1.1.0最新Nov 7, 2026
  2. v1.0.0Nov 4, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。