SelfPaidPal — Autonomous DeFi Payments
Zero-net-cost payments on Base Mainnet powered by automated Aave V3 & Morpho yield farming.
What can you do with SelfPaidPal — Autonomous DeFi Payments?
- 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.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
selfpaid-mcpclaude mcp add selfpaidpal-autonomous-defi-payments -e 'SELFPAID_API_URL=<SELFPAID_API_URL>' -- npx -y selfpaid-mcp@2.1.3
{
"mcpServers": {
"selfpaidpal-autonomous-defi-payments": {
"command": "npx",
"args": [
"-y",
"selfpaid-mcp@2.1.3"
],
"env": {
"SELFPAID_API_URL": "<SELFPAID_API_URL>"
}
}
}
}
Environment variables
SELFPAID_API_URLSelfPaidPal hosted API endpoint (defaults to https://selfpaid.cryptofolio.it)
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
🌾 SelfPaidPal MCP Server
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
| Tool | Description | Key Parameters |
|---|---|---|
get_rates | Live supply APYs for Aave V3 and Morpho on Base Mainnet. | refresh (boolean, optional) |
get_quote | Calculates required collateral, developer fee, yield deposit, and recovery days. | amount (number, required), protocol (auto/aave/morpho) |
build_payment | Builds 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
{
"mcpServers": {
"selfpaid": {
"command": "npx",
"args": ["-y", "selfpaid-mcp"]
}
}
}
Or run from a local clone:
{
"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:
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.
Frequently asked questions
What is SelfPaidPal — Autonomous DeFi Payments?
Zero-net-cost payments on Base Mainnet powered by automated Aave V3 & Morpho yield farming.
How do I install SelfPaidPal — Autonomous DeFi Payments?
It runs on your machine. In Claude Code: claude mcp add selfpaidpal-autonomous-defi-payments -e 'SELFPAID_API_URL=<SELFPAID_API_URL>' -- npx -y selfpaid-mcp@2.1.3. For other clients, paste the JSON configuration from this page into their MCP settings.
Does SelfPaidPal — Autonomous DeFi Payments need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is SelfPaidPal — Autonomous DeFi Payments open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains SelfPaidPal — Autonomous DeFi Payments?
It is published by altoninelli. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.