SelfPaidPal — Autonomous DeFi Payments

io.github.altoninelliPublished by GitHub account altoninelliv2.1.3Updated Oct 26, 2026

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

The publisher's own server: Payments Ai Mcp

VerifiedSTDIODesktop onlyFinanceAI & ML

Overview

AI-generated overview

Local MCP server that lets an assistant check DeFi lending yields on Base, quote collateral needed to fund a payment from yield, and build unsigned EVM…

What you can do
  • Fetch live supply APYs for Aave V3 and Morpho on Base Mainnet, optionally refreshing cached rates
  • Quote a payment: required collateral, developer fee, yield deposit and estimated recovery days, with automatic protocol selection
  • Build the four EVM transactions and EIP-5792 batch calls for a payment, ready for the user to sign
  • Compare lending protocols to pick the more profitable one for a given amount
When to use it
Useful when someone wants to plan or prepare a stablecoin payment on Base Mainnet whose cost is meant to be recovered over time through DeFi lending yield, and wants the assistant to compute collateral and assemble signable transactions rather than handle keys.
Requirements
Runs locally via npx (npm package selfpaid-mcp) or a local clone with Node.js; the README states Node 16, 18, 20 and 22+ work. Connects to the hosted SelfPaid API, configurable with the SELFPAID_API_URL environment variable (defaults to the official endpoint). Network access to Base Mainnet data is required; no authentication is declared.
Before you install
The server builds real transactions for Base Mainnet, where transactions are irreversible and involve depositing funds into DeFi protocols with smart contract, market and liquidity risk. Recovery estimates are dynamic and can change with lending yields. It generates unsigned calldata only and states it never asks for private keys, but the user must review every transaction before signing. Requests go to a third-party hosted API.

Installation

In SourceWeft

  1. Open SelfPaidPal — Autonomous DeFi Payments in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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.

Source: README.md at commit b9ee16d

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v2.1.3LatestOct 20, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Payments integrations