
Cloaked Agent
io.github.CloakedAgent由 GitHub 账号 CloakedAgent 发布v0.2.0更新于 Oct 24, 2026
Trustless spending accounts for AI agents on Solana with on-chain enforced limits.
概览
本地 MCP 服务器,为 AI 助手提供带链上限额的 Solana 支出账户,可查询余额并支付 SOL 或 USDC。
- 可以做什么
- 查询代理金库的可用余额和代币余额,并从链上状态读取支出限额与约束。在单笔、每日和总额限额内向目标地址发送 SOL 或 USDC。自动支付并获取受 x402 保护的资源。可选启用带单代币约束的 USDC,以及隐藏钱包与代理关联的隐私模式。
- 适用场景
- 当你希望助手为按次计费的 API 付费或发送小额加密货币,而支出上限由 Solana 程序强制执行而非依赖对代理的信任时使用。
- 运行要求
- 通过 npx 从 npm 包以 stdio 在本地运行,仅支持桌面客户端。需要 CLOAKED_AGENT_KEY(base58 编码的代理私钥);可选 CLOAKED_BACKEND_URL 和 SOLANA_RPC_URL,后者默认使用 Solana devnet 端点。需要访问 Solana RPC 和后端的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Cloaked Agent,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@cloakedagent/sdk
Trustless spending accounts for AI agents on Solana
Give AI agents spending power without giving them your wallet keys. On-chain enforced limits they literally cannot bypass.
Documentation · Website · GitHub
Installation
Quick Start
For AI Agents (MCP)
Add to your Claude Desktop or MCP-compatible client:
For Developers
Features
- On-chain constraints - Per-tx, daily, and total limits enforced by Solana program
- MCP integration - Works with Claude and other AI agents via Model Context Protocol
- x402 support - Automatic payment for pay-per-use APIs
- USDC support - Send USDC with per-token spending constraints
- Privacy mode - Optional ZK proofs to hide wallet-agent link
API
CloakedAgent
MCP Tools
When running as MCP server, provides these tools:
cloak_balance- Check available balancecloak_status- Get spending limits and constraintscloak_pay- Send SOL or USDC to destinationcloak_x402_fetch- Fetch x402-protected resources with auto-payment
License
MIT
来源:sdk/README.md,提交 b9f1ee8
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分