SelfPaidPal — Autonomous DeFi Payments

io.github.altoninelli由 GitHub 账号 altoninelli 发布v2.1.3更新于 Oct 26, 2026

Zero-net-cost payments on Base Mainnet powered by automated Aave V3 & Morpho yield farming.

发布方自己的服务:Payments Ai Mcp

已验证STDIO仅桌面金融AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,让助手查询 Base 上的 DeFi 借贷收益率、估算用收益覆盖付款所需的抵押金额,并生成待签名的 EVM 交易。

可以做什么
  • 获取 Base 主网上 Aave V3 与 Morpho 的实时存款年化收益率,可选择刷新缓存
  • 报价付款方案:所需抵押、开发者费用、收益存款与预计回本天数,并自动选择协议
  • 构建付款所需的四笔 EVM 交易及 EIP-5792 批量调用,供用户签名
  • 比较借贷协议,为给定金额挑选收益更高的一方
适用场景
适合需要规划或准备 Base 主网稳定币付款、并打算通过 DeFi 借贷收益逐步收回成本的场景,让助手计算抵押并组装可签名交易,而不是接触私钥。
运行要求
通过 npx(npm 包 selfpaid-mcp)或本地克隆在 Node.js 上本地运行;README 称支持 Node 16、18、20 和 22 以上。连接托管的 SelfPaid API,可用环境变量 SELFPAID_API_URL 指定(默认官方端点)。需要访问 Base 主网数据的网络连接;未声明身份验证。
安装前请注意
该服务器会构建 Base 主网上的真实交易,交易不可撤销,且涉及将资金存入存在智能合约、市场和流动性风险的 DeFi 协议。回本估算随借贷收益动态变化。它只生成未签名 calldata,并声明从不索取私钥,但用户仍须在签名前逐笔核对交易。请求会发送至第三方托管 API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SelfPaidPal — Autonomous DeFi Payments,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🌾 SelfPaidPal MCP Server

[smithery badge] [Glama MCP Server] [npm version] [MCP] [Base] [License: MIT]

Model Context Protocol (MCP) server for SelfPaidPal — Autonomous, zero-net-cost payments on Base Mainnet (Chain ID 8453) powered by automated yield farming on Aave V3 and Morpho.

This server provides AI agents (Claude, Cursor, Windsurf, OpenClaw) with tools to analyze yield rates, calculate capital recovery timelines, and construct ready-to-sign EVM transactions and atomic EIP-5792 batch calls.


⚡ Features

  • Zero External Dependencies: Built with native Node.js HTTP/HTTPS modules. Works out-of-the-box on Node 16, 18, 20, and 22+.
  • Non-Custodial: Generates unsigned EVM transaction calldata. Never handles or asks for private keys.
  • 100% Capital Recovery: Computes the exact collateral required to reimburse 100% of the payment and fees over time via DeFi yield.
  • Multi-Protocol Optimization: Automatically selects the most profitable lending protocol between Aave V3 and Morpho on Base.

🛠️ Exposed MCP Tools

ToolDescriptionKey Parameters
get_ratesLive supply APYs for Aave V3 and Morpho on Base Mainnet.refresh (boolean, optional)
get_quoteCalculates required collateral, developer fee, yield deposit, and recovery days.amount (number, required), protocol (auto/aave/morpho)
build_paymentBuilds 4 EVM transactions & EIP-5792 batch calls ready for signing.amount, recipient, sender, protocol

🚀 Installation & Usage

1. Claude Desktop

Add this to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{  "mcpServers": {    "selfpaid": {      "command": "npx",      "args": ["-y", "selfpaid-mcp"]    }  }}

Or run from a local clone:

json
{  "mcpServers": {    "selfpaid": {      "command": "node",      "args": ["/path/to/selfpaid-mcp/bin/mcp-server.js"]    }  }}

2. Cursor / Windsurf

Add a new MCP server in settings:

  • Name: selfpaid
  • Type: command
  • Command: npx -y selfpaid-mcp

3. Smithery.ai

Install via Smithery CLI:

bash
npx -y @smithery/cli install @al-toninelli/selfpaid-payments --client claude

🌐 Hosted Infrastructure

This client connects to the official SelfPaid Base Mainnet engine:

  • API Endpoint: https://selfpaid.cryptofolio.it
  • Network: Base Mainnet (Chain ID 8453)
  • Tokens Supported: Native USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)

⚠️ Risk Disclosure

DeFi deposits carry smart contract, market, and liquidity risks. Transactions on Base Mainnet are irreversible. Principal recovery estimates are dynamic and fluctuate based on market lending yields.

📄 License

MIT License — Copyright (c) 2026 Alessandro Toninelli.

来源:README.md,提交 b9ee16d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.1.3最新Oct 20, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Payments 集成