
stipend.sh
io.github.Graphiker-Australia由 GitHub 账号 Graphiker-Australia 发布v0.45.4更新于 Oct 25, 2026
Non-custodial USDC wallet on Base with spending limits enforced in code, not in a prompt.
概览
一个本地 MCP 服务器,为 AI 助手提供 Base 上的非托管 USDC 钱包,支出上限、白名单与审批在签名前由代码强制执行。
- 可以做什么
- 读取钱包地址、USDC 与原生币余额、今日已花费金额和每日限额,并从网络读取入账付款并记录。在不发送任何交易的情况下检查某笔付款是否会被允许。在单笔与每日上限、白名单以及新收款地址首次付款确认的约束下发送 USDC。按类别报告收入与支出及可用天数,并列出待办事项及各自负责人。
- 适用场景
- 当你希望助手持有并花销一小笔 Base 上的 USDC 周转资金,且需要提示注入无法绕过的限额时使用。适合由代理支付 API 调用或小额付款,同时由人在命令行修改配置的场景。
- 运行要求
- 作为本地进程由 MCP 客户端通过 stdio 启动(命令 stipend,参数 mcp),不监听任何网络端口。通过安装脚本获取软件包,需先安装 eth-account。钱包与密钥库位于同一台机器、同一用户下。未声明任何环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 stipend.sh,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
stipend.sh
A non-custodial USDC wallet on Base that an AI agent installs by itself, with spending limits enforced below the instruction layer.
This is the source of the package that installer fetches. It is published so that the claims made for it can be checked rather than believed.
It ships an MCP (Model Context Protocol) server — stipend mcp — exposing
seven tools over stdio, so an agent can hold and spend money through the tool
interface it already has. See MCP server below.
The claim worth checking
The failure that matters for an agent holding money is not a stolen key. It is a correctly signed transaction it was argued into.
Almost every defence against that lives in the instruction layer — a system prompt saying "do not send funds to unverified addresses." That is a suggestion to a model, sitting in the same context window as the text attacking it.
In here the limits are not advice. They are code that a transaction passes through on its way to being signed, and no wording in any context window reaches them.
Start at stipend/policy.py. It is about three hundred
lines and it is the whole argument.
The three controls
The second is the one people get wrong. Raising a cap to afford one purchase weakens every future payment to everyone, which is precisely what an attacker asks for. Authorise the payment, not the capability.
The third is what stops a drain by many small payments that each sit under the threshold. An attacker's address is, by definition, one you have never paid.
And if you turn on an allowlist, it is absolute. Funds reach nothing else — not with a confirmation, not with an approval, not with any instruction from anywhere.
MCP server
The wallet is also a Model Context Protocol (MCP) server, so an agent can use it through the tool interface it already has rather than by shelling out.
It speaks JSON-RPC over stdin and stdout — the MCP stdio transport. Your MCP client spawns the process; nothing listens on a port and nothing is exposed to a network.
In a client's config that looks like:
The tools
Every one of them goes through the same policy.check gate the command line
uses, so the caps, the allowlist and the new-destination confirmation apply
identically. There is no path here that moves money without them.
stipend_check exists so an agent can ask "would this be allowed?" before it
offers to pay for something, turning a refusal into an answer rather than a
failure.
What it deliberately does not expose
No tool reads, exports or derives the private key. No tool changes a spending limit or the allowlist. No tool creates or overwrites a wallet.
An MCP tool is callable by a model that is reading untrusted text, and raising a cap is exactly what an attacker would ask for — so it is not on the menu at all. Configuration changes stay at the command line, where a human is present.
Why it is not hosted
Every registry would prefer a URL, and we will not publish one. A hosted wallet server means the key lives on somebody else's machine — ours — and the whole claim of this package is that it does not. This runs beside the keystore, under the same user, and the key never moves.
Run its own tests
No network, no funds, no wallet of yours touched:
219 checks covering address validation, amount arithmetic, every policy branch, the allowlist, the daily cap, destination trust and its expiry, keystore encryption, ERC-20 encoding, x402 requirement selection, EIP-3009 signing, the ledger, and exactly what telemetry would send.
What we would rather have
Someone to break it.
If you can construct an injection that moves money past the checks in
policy.py, open an issue. We would rather hear it from you than from someone
who is not being polite about it.
Honest limits
- Not independently audited.
- x402 interoperability is verified against our own endpoint, not third-party merchants.
- The key is generated on your machine and never transmitted — which also means nobody can recover it for you, including us.
- Keep the balance small. It is a working float, not savings.
Links
- stipend.sh — the site, which serves plain text to agents and a page to browsers at the same URL
- stipend.sh/skill.md — written for agents
- stipend.sh/for-your-human — written for the person who pays
- kina — a small language some of this reads and writes
Licence
Apache-2.0. See LICENSE.
Built by the Stipend dev team. FelixTrade.ai Pty Ltd, Australia.
来源:README.md,提交 d74a1e8
工具
0版本历史
1- v0.45.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分