three.ws Autopilot

io.github.nirholas由 GitHub 帳號 nirholas 發布v0.2.2更新於 Nov 1, 2026

Set autopilot scopes and a daily SOL spend cap, then propose, execute, and undo agent actions.

已驗證STDIO僅桌面金融AI 與機器學習

概覽

AI 產生的概覽

three.ws Autopilot 讓 AI 代理設定自身護欄,並執行「提議—執行—復原」的自主操作循環,包含真實的 SOL 轉帳。

可以做什麼
  • 讀取與更新自動駕駛護欄:啟用狀態、能力範圍、自動執行、每日 SOL 支出上限與確認策略
  • 依代理的記憶與反思產生候選操作,並列出、篩選與調整提議佇列
  • 在不實際執行的情況下預覽提議的範圍、額度與餘額檢查,再執行或駁回
  • 復原可逆的執行,並讀取僅可追加的簽章回執日誌
  • 依真實操作歷史計算代理取得的信任等級
適用情境
適合想讓 three.ws 代理自行管理執行邊界並在邊界內自主行動的所有者,範圍與支出限制由伺服器端強制執行。需要可審閱的「先提議後執行」流程與稽核紀錄時也適用。
執行需求
需要 Node.js 20 以上版本,透過 npx 或 npm 在本機執行。需要 three.ws 擁有者憑證,放在 THREE_WS_API_KEY(API 金鑰或 OAuth 存取權杖)。需要能連線 three.ws API;THREE_WS_BASE 與 THREE_WS_TIMEOUT_MS 為選用覆寫項。
安裝前請注意
此憑證可授權在 Solana 主網進行真實 SOL 轉帳,應像密碼一樣保管。execute_proposal 具破壞性,錢包轉帳不可逆且需要 confirm:true;SOL 轉帳無法復原,只有提醒、簡報等可逆操作能回滾。此伺服器寫入操作頻繁,並會向 three.ws 後端送出請求。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[three.ws]

@three-ws/autopilot-mcp

An AI agent's own autonomous-execution control plane — set autopilot scopes, a daily SOL spend cap, and auto-execute, then run the propose → execute → undo loop, all from any MCP client.

[npm] [license] [node] [MCP Registry] [three.ws]


A Model Context Protocol server that gives an AI agent its own execution control plane over stdio. The agent configures the boundaries it is allowed to act within — capability scopes, a daily SOL spend ceiling, auto-execute and confirmation policy — then drives the full propose → review → execute → undo loop. No human in the loop, but every boundary is enforced server-side: an out-of-scope or over-budget action is denied, never executed.

This is the keystone of the autonomous-agent story. Autopilot config and execution used to live only behind the three.ws UI/API; this server exposes them so an agent can manage its own guardrails and act within them.

⚠️ This server is authenticated and write-heavy. execute_proposal can move real SOL on Solana mainnet and is irreversible. It sends native SOL only — the agent never sells or sends $THREE (it only buys, holds, or burns it). Scopes, the daily SOL spend cap, and confirmation are all enforced on the three.ws backend — this server cannot bypass them.

Install

bash
npm install @three-ws/autopilot-mcp

Or run with npx (no install):

bash
npx @three-ws/autopilot-mcp

Quick start

Claude Code, one line (supply your three.ws credential):

bash
THREE_WS_API_KEY=sk_live_… claude mcp add autopilot -- npx -y @three-ws/autopilot-mcp

Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):

json
{	"mcpServers": {		"autopilot": {			"command": "npx",			"args": ["-y", "@three-ws/autopilot-mcp"],			"env": {				"THREE_WS_API_KEY": "sk_live_…"			}		}	}}

Inspect the surface with the MCP Inspector:

bash
THREE_WS_API_KEY=sk_live_… npx -y @modelcontextprotocol/inspector npx @three-ws/autopilot-mcp

Authentication

Every autopilot endpoint is owner-only, so this server is authenticated. Set THREE_WS_API_KEY to the agent owner's three.ws credential — either a three.ws API key (sk_live_… / sk_test_…) or an OAuth access token. It is sent as Authorization: Bearer … on every request and identifies the owning user; the agent can only manage agents that user owns. The credential can authorize real SOL transfers via execute_proposal — store it like a password. THREE_WS_TOKEN and THREE_WS_BEARER are accepted as aliases.

Tools

ToolTypeWhat it does
get_autopilot_configread-onlyRead the agent's guardrails: enabled, scopes, auto-execute, daily SOL cap, confirmation policy — plus trust.
set_autopilot_configwrite · idempotentUpdate those guardrails with a partial patch (grant scopes, set the daily SOL ceiling, arm/disarm). No action taken.
generate_proposalswriteRun the agent's mind: turn high-salience memories + reflections into real, provenance-cited candidate actions.
list_proposalsread-onlyThe proposal queue — ids, kinds, rationales, params, status, cited sources. Filter by status.
dryrun_proposalread-onlyPreview what executing a proposal would do (scope / cap / balance checks), without taking any action.
adjust_proposalwrite · idempotentEdit a pending proposal's params before executing (tune a threshold, amount, cadence). Validated server-side.
execute_proposalwrite · destructiveTake the real action. ⚠️ A wallet_transfer or trade moves real funds on mainnet, irreversible. needs confirm:true. Never sends or sells $THREE.
dismiss_proposalwriteDrop a pending proposal; records a feedback memory so the agent stops proposing it.
undo_actionwriteReverse a reversible execution (delete the alert rule / briefing); records a feedback memory. SOL transfers can't be undone.
list_autopilot_activityread-onlyThe append-only signed receipts log — every autonomous action, its outcome, provenance, and signature.
compute_trustread-onlyThe agent's earned trust level (sandbox → trusted → autonomous), computed from real action history.

The five read tools reflect live state (proposals, receipts, trust move between calls), so none are idempotent. set_autopilot_config and adjust_proposal are idempotent writes (re-applying the same values is a no-op). generate_proposals, execute_proposal, dismiss_proposal, and undo_action each take a real action.

Input parameters

Every tool takes agentId (the UUID of an agent you own) except list_autopilot_activity, where it is optional (omit to aggregate across all your agents).

  • get_autopilot_config / compute_trust / generate_proposals — agentId.
  • set_autopilot_config: agentId, plus any of: enabled (bool), scopes ({ create_alert?, briefing?, wallet_transfer?, trade? }), autoExecute ({ create_alert?, briefing? }), dailySpendSol (number, SOL; 0 disables spending), requireConfirm (bool).
  • list_proposals — agentId, status (pending | executed | dismissed | undone | failed), limit (1–200).
  • dryrun_proposal / dismiss_proposal / undo_action — agentId, proposalId.
  • adjust_proposal — agentId, proposalId, params (full replacement params for the proposal's kind).
  • execute_proposal — agentId, proposalId, confirm (bool — required for an irreversible SOL transfer).
  • list_autopilot_activity — agentId (optional), limit (1–200), cursor (from a prior next_cursor).

The loop

jsonc
// 1. Grant the agent a reversible capability// set_autopilot_config> { "agentId": "…", "enabled": true, "scopes": { "create_alert": true } }{ "ok": true, "config": { "enabled": true, "scopes": { "create_alert": true, "briefing": false, "wallet_transfer": false, "trade": false }, "daily_spend_sol": 0, "require_confirm": true } }
// 2. Let the agent propose actions from its memory// generate_proposals> { "agentId": "…" }{ "ok": true, "createdCount": 1, "source": "memory",  "created": [ { "id": "p_…", "kind": "create_alert", "title": "Alert when $THREE crosses $0.01",                 "rationale": "You noted interest in $THREE around $0.01 — I'll watch it.", "status": "pending" } ] }
// 3. Preview before acting// dryrun_proposal> { "agentId": "…", "proposalId": "p_…" }{ "ok": true, "preview": { "kind": "create_alert", "willDo": "Create a real alert rule… Reversible.",                           "checks": [ { "label": "Scope \"create_alert\" granted", "ok": true } ], "blocked": false } }
// 4. Execute for real (reversible kind — no confirm needed)// execute_proposal> { "agentId": "…", "proposalId": "p_…" }{ "ok": true, "receipt": "Created a price above alert.", "actionId": "1843", "proposal": { "status": "executed" } }
// 5. Changed your mind? Undo it.// undo_action> { "agentId": "…", "proposalId": "p_…" }{ "ok": true, "proposal": { "status": "undone" } }

Spending real SOL requires the owner to have granted scopes.wallet_transfer, set a positive dailySpendSol, and (unless pre-authorized) execute_proposal must be re-issued with confirm:true. All three are checked server-side. A trade proposal (a buy with SOL or a sell of a non-$THREE token) needs scopes.trade and runs the same wallet guards as the wallet hub. Buys count against dailySpendSol. The agent spends SOL only, it never sells or sends $THREE; a $THREE sell is refused at proposal validation.

Requirements

  • Node.js >= 20.
  • A three.ws credential (THREE_WS_API_KEY) for the agent owner.
  • Network access to https://three.ws (or your own THREE_WS_BASE).

Environment variables

VariableRequiredDefaultNotes
THREE_WS_API_KEYyes—three.ws API key (sk_live_…) or OAuth access token. Secret. Can move real SOL.
THREE_WS_BASEnohttps://three.wsOverride only when self-hosting or targeting a preview.
THREE_WS_TIMEOUT_MSno60000Per-request timeout (generation runs a server-side LLM pass).

Links


Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub

來源:packages/autopilot-mcp/README.md,提交 89050b3

工具

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

版本歷史

2
  1. v0.2.2最新Oct 10, 2026
  2. v0.2.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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