
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
概览
本地 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 的网络,因为版本检查失败时所有工具都会被阻止。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Growi,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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_PATHorPRIVATE_KEYin 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-growiand 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_transactiononly signs calls to four(contract, selector)pairs —USDC.approve,GWHF.approve,vault.deposit,vault.withdraw. A prompt-injection payload callingUSDC.transfer(attacker, balance)is rejected before signing. - Decoded validation.
approvecalls are accepted only when the spender is the GrowiHFVault address.depositandwithdrawamounts 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
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
Setup — Claude Desktop / Claude Code
Add the following to your Claude MCP config (claude_desktop_config.json or .mcp.json):
Important: use
mcp-growi@latest(not justmcp-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):
Optional — custom RPC endpoint:
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)
Tech stack
- TypeScript + Node.js
- @modelcontextprotocol/sdk — MCP server implementation
- viem — Ethereum/Arbitrum RPC interactions
来源:README.md,提交 9a08682
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分