Mcp Growi

io.github.Growi-DeFi由 GitHub 帳號 Growi-DeFi 發布v0.2.0更新於 Oct 24, 2026

MCP server for Growi Finance — programmatic interaction with the GrowiHFVault on Arbitrum

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理讀取 Arbitrum 上 GrowiHFVault 的狀態,並用設定的錢包簽署白名單內的存款、提款與授權交易。

可以做什麼
透過唯讀工具查詢 Arbitrum One 上 GrowiHFVault 與代幣狀態,包括金庫和存款代幣資訊以及鎖定期。準備、簽署並廣播範圍很窄的交易:向金庫授權 USDC 和 GWHF,以及金庫存款和提款。在執行任何工具前套用合約與函式對白名單、解碼後的金额與授權對象檢查,以及版本檢查。支援本機 keystore 加通關密語或明文私鑰,並可選用自訂 Arbitrum RPC 端點。
適用情境
當你希望 AI 助理查看或操作 Arbitrum 上的 GrowiHFVault 部位時使用,例如查詢餘額和鎖定期,或進行小額 USDC 存款與提款。它適合專用機器人錢包,而不是主要託管錢包。
執行需求
透過 npx 在本機執行,需要 Node.js。需要一個有資金的 Arbitrum 錢包:KEYSTORE_PATH 加 KEYSTORE_PASSPHRASE,或 PRIVATE_KEY。可選 RPC_URL 指定自訂 Arbitrum 端點。需要存取 Arbitrum 和 npm registry 的網路,因為版本檢查失敗時所有工具都會被封鎖。
安裝前請注意
此伺服器會簽署並廣播真實交易,由模型決定簽署內容;工作階段中的不可信內容可能透過提示注入盜走資金。不要在可存取瀏覽工具、文件讀取器或其他 MCP 伺服器的工作階段中設定 KEYSTORE_PATH 或 PRIVATE_KEY。使用全新的機器人錢包並只放少量 ETH 作 gas,切勿使用主要錢包。防護僅將呼叫限制在四個白名單函式,並不能保證金鑰安全;應視其為熱錢包。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mcp-growi

MCP (Model Context Protocol) server for Growi Finance — enables AI agents and autonomous bots to interact programmatically with the GrowiHFVault smart contract on Arbitrum.

Security

Read this before configuring a keystore or private key.

mcp-growi exposes execute_transaction, which signs and broadcasts Arbitrum transactions with the locally configured wallet. Inside any MCP client (Claude Desktop, Claude Code, etc.) the LLM has full authority over what gets signed — every tool call is initiated by the model in response to your prompts and anything else it has access to.

This makes the MCP a "confused deputy": if untrusted content reaches the model — a web page fetched by another tool, a document opened in the session, a sibling MCP server controlled by an attacker — a prompt-injection payload inside that content can instruct the model to drain the configured wallet.

Recommendations

  • Do not configure KEYSTORE_PATH or PRIVATE_KEY in a session that has access to untrusted content. If the same client has browsing tools, document-readers, or any other MCP server, treat the session as compromised by default.
  • Use a dedicated "bot" wallet. Create a fresh Ethereum address solely for mcp-growi and fund it only with the amount you intend to deposit. Never reuse your main custody wallet.
  • Keep ETH for gas low. A few dollars' worth is enough — there is no upside to holding more on the bot wallet than the next operation needs.
  • Run mcp-growi@latest. When a security release is published, the built-in version check blocks all operations until you upgrade. Pinning to an older version defeats this.

What this server does enforce

The server has its own defenses against the most direct drain paths, but they cannot prevent every form of misuse:

  • Allowlist. execute_transaction only signs calls to four (contract, selector) pairs — USDC.approve, GWHF.approve, vault.deposit, vault.withdraw. A prompt-injection payload calling USDC.transfer(attacker, balance) is rejected before signing.
  • Decoded validation. approve calls are accepted only when the spender is the GrowiHFVault address. deposit and withdraw amounts must be greater than zero.
  • Version gate. All read and write tools refuse to operate when the local MCP version cannot be verified against the npm registry, or does not match the latest published version.

These guards close the easy attacks but do not make the keystore safe in arbitrary sessions. Treat it as a hot wallet, not custody.

Contract details

FieldValue
NetworkArbitrum One
Contract0x928ed672e6eabb7a565c5eb9aac15e3cf6a18388
Vault tokenGWHF
Deposit tokenUSDC

The contract is verified on Arbiscan — you can check the source code and ABI at: https://arbiscan.io/address/0x928ed672e6eabb7a565c5eb9aac15e3cf6a18388#code

The ABI is included in this package (src/contract/abi.ts) so no external calls are needed at runtime.

Project structure

src/├── index.ts               # Server entrypoint + npm version check├── contract/              # On-chain interaction layer (viem)│   ├── abi.ts             # GrowiHFVault + ERC20 ABIs│   ├── client.ts          # Arbitrum public client + contract/token/HL addresses│   └── index.ts├── locks/│   └── lock-period.ts     # Arbitrum deposit lock + Hyperliquid 24h withdraw lockup└── tools/                 # MCP tool definitions    ├── read.ts            # Read-only on-chain queries    ├── write.ts           # Transaction prep + signing (keystore/privkey)    └── index.ts

Setup — Claude Desktop / Claude Code

Add the following to your Claude MCP config (claude_desktop_config.json or .mcp.json):

json
{  "mcpServers": {    "growi": {      "command": "npx",      "args": ["-y", "mcp-growi@latest"],      "env": {        "KEYSTORE_PATH": "/path/to/your/wallet.json",        "KEYSTORE_PASSPHRASE": "your_passphrase"      }    }  }}

Important: use mcp-growi@latest (not just mcp-growi) to ensure the MCP auto-updates every time Claude starts. If your version is outdated, or the npm registry is unreachable, all tools (read and write) will be blocked until verification succeeds.

Alternative — plain private key (less secure):

json
"env": { "PRIVATE_KEY": "0x..." }

Optional — custom RPC endpoint:

json
"env": { "RPC_URL": "https://arb-mainnet.g.alchemy.com/v2/YOUR_KEY" }

Restart Claude Desktop/Code after saving. The tools will be available once the version check passes — if calls return a version-block error, see the Security section above.

Setup — development (from source)

bash
npm installnpm run buildnpm start

Tech stack

  • TypeScript + Node.js
  • @modelcontextprotocol/sdk — MCP server implementation
  • viem — Ethereum/Arbitrum RPC interactions

來源:README.md,提交 9a08682

工具

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

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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