Add to your MCP config (Claude Desktop, Cursor, Cline, OpenClaw, etc.):
{
"mcpServers": {
"agentpay": {
"url": "https://leofundmybot.dev/mcp",
"headers": {
"x-api-key": "YOUR_AGENTPAY_API_KEY"
}
}
}
}- Clone the repo:
git clone https://github.com/lfp22092002-ops/agentpay.git
cd agentpay- Install dependencies:
pip install -r requirements.txt- Add to MCP config:
{
"mcpServers": {
"agentpay": {
"command": "python",
"args": ["mcp/server.py"],
"env": {
"AGENTPAY_API_KEY": "YOUR_AGENTPAY_API_KEY"
}
}
}
}- Open @FundmyAIbot in Telegram
- Send
/newagentto create an agent and receive your API key - Fund via Telegram Stars or deposit USDC to your agent's wallet
| Tool | Description |
|---|---|
get_balance |
Check agent wallet balance (USD + per-chain breakdown) |
spend |
Deduct from agent wallet with description |
transfer |
Agent-to-agent USDC transfers |
get_transactions |
Transaction history with filters |
create_agent |
Provision new agent with multi-chain wallets |
get_identity |
KYA identity profile + trust score |
register_webhook |
Real-time event notifications (HMAC-SHA256 signed) |
After setup, ask your AI agent:
"Check my AgentPay balance"
It should call get_balance and return your wallet balance.