Skip to main content
Glama
payflowagent-mcp

payflowagent-mcp

by Coinlooter

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

This repository contains the open-source integration pieces:

Path

What

/ (root)

payflowagent-mcp — MCP server for Cursor, Claude Desktop, and custom agents.

examples/screen-bot/

Reference polling bot: finds high-score nad.fun tokens every few minutes.

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)

Tool

Price

Description

score_token

free

0–100 score, riskLevel, action (rate-limited).

decide_token

x402

Full report: factors, graduation, momentum.

token_summary

x402

Graduation progress + momentum (cheap entry).

screen_tokens

x402

Ranked list of pre-scored fresh tokens.

Datafeed (DeFiLlama)

Tool

Price

Description

sample_yields

free

Top yield pools + 3-item opportunity preview (score + reasons).

yield_opportunities

x402

Ranked yield picks with risk score & explainable reasons.

Related MCP server: x402farm-mcp

Install (one line)

npx -y payflowagent-mcp@0.1.3

Use it in Cursor

~/.cursor/mcp.json (or project .cursor/mcp.json):

{
  "mcpServers": {
    "payflowagent": {
      "command": "npx",
      "args": ["-y", "payflowagent-mcp@0.1.3"],
      "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)

Variable

Default

Purpose

PAYFLOWAGENT_API_BASE

https://nad.payflowagent.net

nad.fun API base URL.

PAYFLOWAGENT_DATAFEED_BASE

https://data.payflowagent.net

Datafeed API base URL.

X402_BUYER_PRIVATE_KEY

—

Payer wallet key (Base, USDC). Enables paid tools.

X402_BUYER_RPC

https://mainnet.base.org

Payment RPC (optional).

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.

Available Tools

6 tools
decide_tokenVoller Report (bezahlt, x402)A

Bezahlt (USDC via x402). Entscheidungsfertiger Report fuer einen nad.fun-Token: Score, riskLevel, action, erklaerende Faktoren, Graduation-Fortschritt und 5-Minuten-Momentum.

Inputs: token (required).

sample_yieldsYield-Sample (kostenlos, Datafeed)A

Kostenloser, rate-limitierter Datafeed-Probe: Top DeFi-Yield-Pools plus 3-item Opportunity-Vorschau (Score 0-100 + erklaerbare Gruende). Ideal vor einem bezahlten yield_opportunities-Aufruf.

Inputs: chain, limit, profile.

score_tokenToken-Score (kostenlos)A

Kostenloser, rate-limitierter Score (0-100) inkl. riskLevel und action fuer einen nad.fun-Token auf Monad. Ideal zum Pruefen vor einem bezahlten Aufruf.

Inputs: token (required).

screen_tokensScreening: gerankte Token-Liste (bezahlt, x402)A

Bezahlt (USDC via x402). Gerankte Liste vorgescorter, frischer nad.fun-Token (score, riskLevel, action, Graduation, Holder). Ideal fuer Screener/Trading-Agenten, die regelmaessig nach Chancen suchen.

Inputs: limit, minScore.

token_summaryGraduation + Momentum (bezahlt, x402)C

Bezahlt (USDC via x402). Guenstiger Einstieg: Graduation-Fortschritt (Bonding-Curve %) + Momentum-Zusammenfassung fuer einen nad.fun-Token.

Inputs: token (required).

yield_opportunitiesYield-Opportunities (bezahlt, x402, Datafeed)A

Bezahlt (USDC via x402). Gerankte DeFi-Yield-Chancen mit Score (0-100), Rank und reasons[] — agent-tauglich, nicht nur APY-Sortierung. Profile: stable (Default), balanced, aggressive.

Inputs: chain, limit, minApy, minTvl, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Tools are mostly distinct with clear paywall segregation. However, decide_token, score_token, and token_summary all target a single token with overlapping information, risking confusion if descriptions are not read carefully.

    Naming Consistency3/5

    Naming pattern is mixed: four tools use verb_noun (decide_token, sample_yields, score_token, screen_tokens) while two use noun_noun (token_summary, yield_opportunities). Also, pluralization varies (yields vs. token/tokens).

    Tool Count5/5

    Six tools is an appropriate size for a DeFi analysis server, covering both token and yield domains without being overwhelming or sparse.

    Completeness4/5

    Core token analysis (score, summary, full report, screening) and yield opportunities (sample and full) are covered. Minor gaps like drill-down on a specific yield opportunity exist, but the surface is adequate for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers