PayFlowAgent — MCP server & reference agent
Pay-per-call APIs for autonomous AI agents. USDC via x402, no signup.
MCP registry name: io.github.Coinlooter/mcp
- Hub (catalog): payflowagent.net
- nad.fun intelligence: nad.payflowagent.net
- DeFi datafeed: data.payflowagent.net
- npm:
[email protected]
This repository contains the open-source integration pieces:
The scoring APIs run on PayFlowAgent infrastructure; this repo is the client surface so agents and developers can integrate in one step.
Tools (MCP)
nad.fun (Monad)
Datafeed (DeFiLlama)
Install (one line)
npx -y [email protected]
Use it in Cursor
~/.cursor/mcp.json (or project .cursor/mcp.json):
{
"mcpServers": {
"payflowagent": {
"command": "npx",
"args": ["-y", "[email protected]"],
"env": {
"PAYFLOWAGENT_API_BASE": "https://nad.payflowagent.net",
"PAYFLOWAGENT_DATAFEED_BASE": "https://data.payflowagent.net"
}
}
}
}
Use it in Claude Desktop
Same config as Cursor (Settings → Developer → MCP Servers).
Without X402_BUYER_PRIVATE_KEY only free tools work (score_token, sample_yields).
Use a dedicated payer wallet (Base, USDC) — never your main wallet.
Configuration (env)
MCP Registry
After npm publish, list in the official registry:
npm install -g @modelcontextprotocol/publisher
cd payflowagent-mcp
mcp-publisher login github
mcp-publisher publish
Manifest: server.json (io.github.Coinlooter/mcp).
Reference agent
See examples/screen-bot — polls /v1/screen every few
minutes, de-duplicates, and alerts on new high-score tokens (optional webhook).
Fork it and point it at your own trading logic.
Develop locally
npm install
npm run typecheck
npm run build # emits dist/
npm start # stdio server from source (tsx)
Publish to npm
npm run build
npm publish
License
MIT — see LICENSE.