
Littlejohn Mcp
io.github.zktx-mcpv0.0.1更新於 Oct 5, 2026
Local Robinhood Chain MCP and transaction review runtime.
概覽
在本機執行的 Robinhood Chain MCP 執行環境,可讀取資產與合約、建立兌換與簽章決策,並在 Robinhood Wallet 中請求確認。
- 功能
- Little John 以本機 stdio MCP 伺服器與互動式 CLI 的形式執行,針對 Robinhood Chain。它讀取資產與合約,建立 USDG 與 Stock Token 兌換決策,並在 Robinhood Wallet 中請求對應交易,同時把收到的雜湊與實際結果記錄到本機帳本。它也支援簽署個人訊息與 EIP-712 型別化資料,並可列出某個 Stock Token 位址對應的封裝 Uniswap v4 池候選。交易授權必須透過宿主應用程式的直接控制項完成,模型可見的工具無法核准請求。
- 適用情境
- 當助理需要檢視 Robinhood Chain 的資產與合約、準備兌換或替換交易,或準備訊息與型別化資料簽章,並由使用者在 Robinhood Wallet 中逐項核准時,可以考慮使用。它適合桌面端且支援應用程式直接控制項的 MCP 宿主;沒有直接控制項的宿主無法授權交易。
- 執行需求
- 需要符合套件 engines 欄位的 Node.js,並透過 npm 全域安裝;SQLite 為隨套件提供的相依項目,安裝時會建置其原生外掛。需在 MCP 宿主中設定名為 littlejohn 的本機 stdio 伺服器。選用環境變數:LITTLEJOHN_RPC_URL 指定 HTTPS RPC 端點,LITTLEJOHN_DATA_DIR 指定設定檔目錄,LITTLEJOHN_WALLETCONNECT_PROJECT_ID 覆寫專案 ID。僅支援桌面端,不需要網站或瀏覽器登入。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Littlejohn Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Little John
Little John is a local Robinhood Chain MCP application and interactive CLI. It reads assets and contracts, constructs USDG / Stock Token exchange decisions, requests the directly confirmed transaction in Robinhood Wallet, and records received hashes and actual transaction results locally.
The current support projection is in Product Policy. Exchange actions are implemented. Robinhood Wallet transaction and replacement behavior is not qualified. The package makes no executable or receipt-verified support claim. Data signing supports personal messages and EIP-712 typed data through direct App controls and interactive CLI. Physical qualification with Robinhood Wallet and each MCP Host application is incomplete.
Install a published release
Use Node.js satisfying the package's engines field:
Install from source
From a repository checkout using the same Node.js requirement:
The release check creates the tarball only after its automated package checks pass. It does not publish to npm or qualify a physical Wallet. SQLite is an npm dependency; a separate SQLite server or command-line installation is unnecessary. Its native addon installation remains part of the npm install. An installation error must be resolved before starting the program.
Connect an MCP Host
MCP Host terminology is defined in Architecture.
Configure a local stdio server named littlejohn in the MCP Host's MCP settings:
Use the installed executable's absolute path if the MCP Host does not inherit the shell's executable search path. No website, public server, browser login, or navigable loopback page is needed. The no-argument process serves MCP; CLI commands use the same local backend and Wallet session.
For an optional RPC endpoint, add LITTLEJOHN_RPC_URL to that server's environment.
Omitting it uses Runtime's public default. Do not set an empty string. A supplied
URL must pass the current HTTPS configuration admission; failure does not switch
to another provider. Keep URLs containing credentials in the MCP Host's secure
configuration rather than command arguments. The standard setup field is in
server.json.
LITTLEJOHN_DATA_DIR selects a different local profile directory.
LITTLEJOHN_WALLETCONNECT_PROJECT_ID overrides the Wallet adapter's project ID.
All processes sharing a profile must use the same configuration. The backend
uses its fixed loopback port; a foreign owner is an error, not a reason to select
another port. Complete configuration behavior belongs to
Architecture.
Use the application
In an App-capable MCP Host, ask for the desired asset read or transaction decision in ordinary language. Select the Stock Token, pool, sent or received quantity, exact/maximum/minimum conditions, fee caps and execution deadline. Token units are distinct from underlying shares. Little John does not choose missing transaction-critical conditions silently.
Use the App's direct control to request the displayed transaction in the Wallet. The Wallet separately asks for approval. A model-visible tool cannot authorize that request. An MCP Host without direct App controls remains unable to authorize a transaction; the CLI is an independent interface.
The CLI exposes its complete current syntax through littlejohn --help:
littlejohn wallet connectpresents the connection decision and pairing QR.littlejohn uniswap-v4 list-pools <stock-token-address>lists the packaged candidates that remain in the current official asset snapshot. This is not a liquidity or best-route claim.littlejohn exchange start ...constructs a new decision and asks for one interactiveybefore requesting it in the Wallet. Both input and output must be a TTY; flags, redirected input and JSON output cannot confirm a transaction.littlejohn exchange replace-fees ...constructs a new decision from the independently read pending request.exchange start --replaces <hash> ...selects a new supported transaction at that observed nonce. Neither replays a saved request or guarantees acceptance or inclusion.littlejohn activity get <hash> --address <address>andactivity list --address <address>read local records only.activity inspect <hash> --address <address>explicitly rechecks the chain within a finite wait.
Each required token or router allowance is a separate decision and Wallet request. Finishing an approval does not automatically send the next transaction.
Terminal QR presentation and its current profile limitation are documented in
Architecture.
littlejohn wallet connect uses the QR renderer from the installed package.
Sign data
Ask an App-capable MCP Host to create a signing decision for the exact message or typed data. Inspect the complete data and domain, then use the direct control and approve separately in the Wallet. A verified signature appears only in that App result panel. Select the complete value and use your device's copy command; the panel provides a Dismiss control. The MCP Host can observe this private result. Closing the panel does not revoke the signature or erase copies outside Little John.
For CLI, put the payload in a user-owned JSON file. For example, this synthetic message grants no application action:
Run littlejohn signing start --active --file message.json and read the complete
decision before answering y. The output must also be an interactive terminal.
An address selector and the exact read/discard syntax are described by
littlejohn --help. A hex message explicitly uses "encoding":"hex"; a text
value starting with 0x remains text. Typed input uses "kind":"typed_data"
with types, primaryType, domain and message; integer values are exact
decimal strings. It declares EIP712Domain explicitly and uses a distinct
message type. A supplied domain chain must be Robinhood Chain.
An existing send-only session needs explicit disconnect/connect approval for the additional signing methods. Missing permission never triggers automatic reconnection. This feature does not submit signatures to services, broadcast transactions or create ledger entries. Its verification profile is a 65-byte secp256k1 signature; contract-account signature validation is unavailable. Late responses are discarded and unknown delivery never triggers another request. No signature cache, durable signature record or later signature-retrieval command exists. CLI scrollback and user-owned input files or copies are outside product disposal control. Exact signing authority and result meaning remain in Transaction Policy.
Results and local state
A returned hash is not execution success. Records distinguish included success, revert, observed pending, not found and unavailable reads. Actual request and effect comparisons remain separate from execution status. Missing evidence never becomes a matching result. A revert still consumes gas.
Stopping a wait cannot cancel a delivered Wallet request. A hash observed later during the original bounded SDK lifetime is recorded without a new network lookup. An explicit query or a later transaction command can reconcile known hashes. No timer, restart or completed approval resends a financial request.
Transaction decisions, unsigned requests and grants are temporary memory. The execution ledger begins only with a received hash and its pre-send comparison reference. It stores actual results, not a reusable transaction or full Review. An expired or consumed transaction View cannot be reopened. Unrelated read snapshots and durable Wallet-management operations retain their own lifetimes.
Default profile locations follow the operating system's application-state directory. Owner-only files include the product database, separate WalletConnect restoration store and local control credential. Do not treat an incompatible profile as an automatic migration or erase it merely to bypass a startup error.
Exact authority and result meanings are defined by Transaction Policy. Third-party notices and licenses are included in the distributed package.
Little John's source license is MIT. Dependencies retain their separate terms in third-party notices and licenses, including the WalletConnect Community License.
來源:README.md,提交 1cd5f15
工具
0版本歷史
1- v0.0.1最新Oct 5, 2026

