
Gatewards
io.github.rtahabas由 GitHub 账号 rtahabas 发布v0.2.0-beta.2更新于 Nov 3, 2026
Drop-in spend governance + cross-agent dedup proxy for AI agent fleets, with x402 settlement.
概览
让 AI 代理通过 Gatewards 网关发现并调用付费 API,支持按代理的消费上限、缓存、去重以及可选的 x402 链上支付。
- 可以做什么
- 发现市场上的付费 API 服务,含名称、端点与价格
- 以 GET 或 POST 调用服务 API,返回状态、数据以及产生的费用
- 查询当日消费、剩余预算与生效中的订阅
- 列出某服务的预付额度方案,并在代理模式下购买额度包
- 适用场景
- 适合代理需要调用第三方付费 API,且希望在调用发出前就强制执行消费上限,并在多个代理之间共享缓存与去重的场景。只有在确实需要按次链上结算时才启用 x402 模式。
- 运行要求
- 以 stdio 本地运行,通常通过 npx 启动,需要 Node.js。代理模式需要代理 API 密钥(GATEWARDS_API_KEY 或 --api-key 参数);x402 模式需要私钥、RPC URL 和 USDC 地址。网关地址默认指向本地地址,实际使用需改为托管网关。需要能访问网关的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Gatewards,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@gatewards/mcp-server
An MCP server that lets any agent (Claude Desktop, Cursor, VS Code, or your own MCP client) discover and call paid APIs through Gatewards — with per-agent spend caps, cross-agent dedup, and non-custodial x402 settlement.
The agent keeps its own API key and wallet. Gatewards enforces the spend limit in the request path: a call over budget is refused before it fires, not logged after.
Install
Claude Desktop
Add to your claude_desktop_config.json:
Get an agent key from your Gatewards dashboard.
Two modes
Pick proxy mode for governance and caching. Add x402 only when you actually need to pay per call on-chain.
Tools
Configuration
Flags or environment variables (flags win):
Either --api-key or --private-key is required.
License
Apache-2.0
来源:packages/mcp-server/README.md,提交 1d598d0
工具
0版本历史
1- v0.2.0-beta.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分