SelfPaidPal
πΎ 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.
Related MCP server: Grip MCP
π οΈ Exposed MCP Tools
Tool | Description | Key Parameters |
| Live supply APYs for Aave V3 and Morpho on Base Mainnet. |
|
| Calculates required collateral, developer fee, yield deposit, and recovery days. |
|
| Builds 4 EVM transactions & EIP-5792 batch calls ready for signing. |
|
π Installation & Usage
1. Claude Desktop
Add this to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%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:
selfpaidType:
commandCommand:
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.itNetwork: 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.
Available Tools
3 toolsbuild_paymentAIdempotent
Generate ready-to-sign EVM transactions and EIP-5792 atomic batch calls for a zero-net-cost payment on Base (Chain ID 8453). Automatically supplies collateral into Aave V3 or Morpho to recover 100% of the principal + developer fee.
Inputs: amount (required), sender (required), recipient (required), buffer, +2 more. Returns: chainId, success, summary, batchCalls, +1 more
get_quoteBRead-onlyIdempotent
Calculate collateral requirements, developer fee, yield deposit, and estimated recovery days for a zero-net-cost USDC payment on Base.
Inputs: amount (required), buffer, protocol, collateral. Returns: rates, feeAmount, amountToPay, estimatedAPY, +7 more
get_ratesARead-onlyIdempotent
Get real-time supply APYs across Aave V3 and Morpho on Base Mainnet. Automatically indicates the most profitable protocol for capital recovery.
Inputs: refresh. Returns: aave, best, morpho, bestApy, +2 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool has a distinct output: market rates, payment calculations, and ready-to-sign transactions. However, get_quote and build_payment both relate to the same payment flow, which could cause confusion about whether quoting is a prerequisite or whether build_payment also returns estimates.
All tools follow a clean snake_case verb_noun pattern: get_rates, get_quote, build_payment. The verbs are appropriate to their actions and the convention is applied consistently.
Three tools is well-scoped for a focused DeFi payment-recovery server. Each tool maps to a distinct step (fetch rates, calculate quote, build transaction) and none feels redundant or missing.
The surface covers the core workflow: check rates, get a quote, and build the payment transaction. Minor gaps exist around inspecting existing positions or managing repayments/withdrawals, but the stated zero-net-cost payment purpose is largely served.
Maintenance
Related MCP Connectors
Monetization and execution gateway for autonomous AI agents on Base Mainnet
Non-custodial stablecoin bill-pay rails on Celo & Base for AI agents, settled on-chain via MCP.
Underwritten DeFi yield discovery & goal planning for AI agents on Base & EVM.
Payment rails for AI agents. Pay merchants in USDC on Base. Dual-protocol: x402 + OKX APP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceUSDC payments for AI agents on Base. Direct transfers, pre-funded tabs, x402 paywall handling, and service discovery.85 npmMIT

Grip MCPofficial
AlicenseAqualityDmaintenanceProvides a non-custodial USDC wallet on Base for AI agents, with human-in-the-loop approval for every payment.411 npmMIT- AlicenseAqualityBmaintenanceDeFi execution and agent-to-agent economy tools for AI agents β swaps, yield, transfers, policy enforcement, trust scoring, A2A jobs, and P\&L across Ethereum, Base, Arbitrum, and Polygon.311Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables an autonomous agent wallet on Base to make payments, approve tokens, swap on Uniswap V3, Aerodrome, 0x and CoW Protocol, lend/borrow via Aave V3 and Morpho Blue, trade perps on Hyperliquid, and enforce risk policies via blacklists, caps, simulation, and audit logs.1Creative Commons Zero v1.0 Universal