Sponsor MCPSafe10 founding slots
Registry/Agent MCP Server

Agent MCP Server

v1.8.1
Verified

No description available

MIT
typescript
ai ml
3stars
90.5Kdownloads
1forks
Scanned Oct 2, 2026
WebsiteRepositoryGITHUB
Automated scan (limited checks) · 2026-10-02

This grade comes from an automated MCPSafe scan of the server's JavaScript, TypeScript and Python source on 2026-10-02. It read the whole repository (139 files). It checks for leaked credentials, shell or code injection from function inputs, unsafe deserialization, malware signatures, install-time scripts, and weak password handling. It does not check for path traversal, server-side request forgery, prompt injection in tool descriptions, network exposure, SQL injection, cross-site scripting, or vulnerable dependencies. It has not been manually reviewed, and the code may have changed since the scan.

A+100%
Scanned 1w ago

Excellent Security

Vulnerabilities Found
0Crit
0High
0Med
0Low
0Info

Trust Score 81

Review required
Trust grade B

Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.

Security
100
MCP risk
52
Supply chain
100
Maintenance
67
Docs
100
Freshness
80
Risk traits
Runs shell commands
Filesystem access
Network/API access
Requires secrets
Why it scores well
  • • No reviewed severe vulnerabilities published
  • • Strong project quality signals
  • • Good documentation surface
  • • Solid supply-chain metadata
  • • Recently scanned
What reduces confidence
  • • MCP risk traits: Runs shell commands, Filesystem access, Network/API access

Security ScoreA+

100
out of 100

Vulnerabilities Found

0
Crit
0
High
0
Medi
0
Low
0
Info
Last scanned: 10/2/2026

Quality ScoreB

74
out of 100
67
Maint.
48
Popular
100
Docs
78
Compat
Maintenance67%
Popularity48%
Documentation100%
Compatibility78%

Maintenance67

Unknown
Commit Frequency65%
Release Frequency70%
Issue Response65%

Popularity48

3
Stars
90.5K
Downloads
1
Forks
Stars Score17%
Downloads Score89%
Forks Score11%

Documentation100

README Quality100%

Available Documentation

API DocsExamplesChangelog

Compatibility78

MCP Spec Compliance80%
Transport Support75%

Features

TypeScript

Supported Transports

STDIO

Vulnerabilities(0)

This grade comes from an automated scan. Individual findings from automated scans are not published.

READMEAgent MCP Server

View source

AiFinPay — Payment Rail for AI Agents

![npm @aifinpay/agent](https://www.npmjs.com/package/@aifinpay/agent)

![npm @aifinpay/mcp](https://www.npmjs.com/package/@aifinpay/mcp)

![PyPI aifinpay-agent](https://pypi.org/project/aifinpay-agent/)

![License: MIT](./LICENSE)

![Site](https://aifinpay.io)

![MCP](https://modelcontextprotocol.io)

Payment tooling for autonomous AI agents. The SDK implements AIFP-1

gross-inclusive settlement and AIFP-2/x402 negotiation with non-custodial,

fail-closed controls. Canonical economics: AIFP-1 charges 1% inside the quoted

gross amount (merchant 99%, AiFinPay 1%, creator/referral 0%); AIFP-2 currently

charges 0% at the protocol layer. A network is production-enabled only after

its exact deployment, runtime hash, profile and paid E2E evidence are pinned.

Canonical domain: aifinpay.io — the legacy aifinpay.company host is
retired; ignore any cached docs or install instructions pointing there
(including the old @alpha npm tag). Install plain @aifinpay/agent /
@aifinpay/mcp (latest). Protocol and network inventory:
aifinpay.io/llms.txt.
bash
# Python
pip install aifinpay-agent

# Node / TypeScript
npm install @aifinpay/agent

# MCP server (Claude Desktop, Cursor, Windsurf, Continue)
npx @aifinpay/mcp

One-click MCP for Claude Desktop / Cursor

Drop this block into your client config — claude_desktop_config.json

(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json)

or Cursor's ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "aifinpay": {
      "command": "npx",
      "args": ["@aifinpay/mcp"]
    }
  }
}

Restart the client. Your model now has seven payment tools

(payable_fetch, agent_address, agent_quote, agent_call,

pay_with_split, quote_split, agent_claim_self) and can

autonomously settle any x402-gated API.

Full client matrix (Claude Desktop, Cursor, Windsurf, Continue, LobeChat,

Cline) lives in `MCP_CONFIG.md`.

Packages

| Package | Path | Install | Latest |

|---|---|---|---|

| `aifinpay-agent` (Python) | `./python` | pip install aifinpay-agent | 1.1.1 |

| `@aifinpay/agent` (Node / TypeScript) | `./node` | npm install @aifinpay/agent | 1.2.1 |

| `@aifinpay/mcp` (MCP server) | `./mcp` | npx @aifinpay/mcp | 1.1.1 |

| Go SDK | — | go get github.com/AiFinPay/sdk/go | soon |

| Rust SDK | — | cargo add aifinpay-sdk | soon |

What this is

agent.pay(url) — one line of Python or TypeScript that pays any

x402-protected URL on behalf of an autonomous

AI agent. The SDK auto-detects the facilitator flavor (AiFinPay native,

Coinbase x402, …), signs an Ed25519 challenge, retries the request, and

returns the response.

Same agent, drop into Claude Desktop's MCP config and the LLM gets

seven tools (payable_fetch, agent_address, agent_quote,

agent_call, pay_with_split, quote_split, agent_claim_self) for

autonomous payment loops.

Quick start

Python

python
from aifinpay import Agent
agent = Agent.new()
print("Fund this address with MATIC:", agent.address)
print("Save this secret:", agent.secret_b58)

# Pay any x402-protected URL
resp = agent.pay("https://api.example.com/v1/data")

# Canonical AIFP-1 settlement is gross-inclusive:
# payer total = quote; merchant = 99%; AiFinPay = 1%; creator = 0%.
# The legacy pay_with_split_invoice route is retired.

Node.js / TypeScript

ts
import { Agent } from "@aifinpay/agent";

const agent = Agent.new();
console.log("Fund this address:", agent.address);

const res = await agent.pay("https://api.example.com/v1/data");

// Request a canonical AIFP-1 quote and settle only through a verified
// deployment/profile. Legacy payWithSplitInvoice routes are retired.

MCP (Claude Desktop)

json
{
  "mcpServers": {
    "aifinpay": {
      "command": "npx",
      "args": ["@aifinpay/mcp"],
      "env": {
        "AIFINPAY_AGENT_SECRET": "<base58 secret>",
        "AIFINPAY_MAX_USD": "0.50"
      }
    }
  }
}

Restart Claude Desktop. The model now has seven payment tools —

payable_fetch(url) lets it autonomously call any x402-gated API.

How it works

mermaid
sequenceDiagram
    Agent->>Server: GET /api/...
    Server-->>Agent: 402 + manifest + nonce
    Agent->>Agent: sign SHA256("AiFinPay-x402:{nonce}:{pubkey}")
    Agent->>Server: GET /api/... + 3 auth headers
    Server-->>Agent: 200 + payload

For a partner who wants to accept AiFinPay payments, the simplest

integration is a single HTTP call to aifinpay.io/api/seat/<pubkey>

inside their existing API — no wallet, no chain library, no KYC. See

`examples/echo-x402-server` for a working

~70-line reference.

AIFP-1 settlement uses the quoted gross amount as the payer total. The

merchant receives 99%, AiFinPay receives 1%, and creator/referral receives 0%.

AIFP-2/x402 currently charges 0% at the protocol layer. No SDK path may claim

production support until the exact deployment, runtime bytecode/program hash,

governance profile and paid E2E evidence are pinned for that release.

Deployment registry

Addresses below are historical/current registry inputs, not by themselves proof of production readiness. Verify the release profile and runtime hash before signing.

| | Polygon (mainnet) |

|---|---|

| AiFinPayCore | `0x24Bee0df…1C7b` |

| AgentPassport | `0xB385Cc32…662a` |

| MSECCOToken | `0x1Fe20213…1d55` |

| Legacy `AiFinPaySplitter` (not canonical AIFP-1) | `0xE34Fc0E6…8440` |

| Gnosis Safe (multisig owner) | `0xD31d82c4…3c8e` |

Solana program (Anchor): 5g9zWHF1Vv6GiGpA2ZbJQbSCDZd5hAk9AyvabRJvKFx2.

Framework integrations

Drop-in adapters for popular agent frameworks live under

`./examples/`. Each is a working, paste-and-run example.

| Framework | Example | What it shows |

|---|---|---|

| OpenAI Agents SDK | `examples/openai-agent` | Tool-style integration: GPT-4 calls a tool that pays an x402 endpoint and returns the response |

| Claude (MCP) | `examples/claude-mcp` | Zero-code: just install the MCP server, talk to Claude |

| LangChain | `examples/langchain` | BaseTool wrapping agent.pay() |

| CrewAI | `examples/crewai` | A research crew that buys inference and search calls as it works |

| Flowise | `examples/flowise` | Custom node JSON + import instructions |

| AutoGPT / AutoGen | `examples/autogpt` | Headless agent loop that funds itself once, then runs unattended |

| Reference partner server | `examples/echo-x402-server` | ~70-line Node server that accepts AiFinPay payments |

| Live bridges | `examples/io-net-x402-bridge`, `exa-x402-bridge`, `venice-x402-bridge` | Production bridges in front of io.net / Exa / Venice |

Historical mainnet evidence

These transactions are historical evidence only; they do not certify the current release or fee model:

| Provider | Asset | What was bought | Tx |

|---|---|---|---|

| Exa Search | POL | First SDK call via Exa | `0xeb13c5ed…59c8700` |

| io.net | POL | Llama-3.3-70B inference, $0.025 | `0x7c6ca0ff…129f0a` |

Repo layout

plaintext
sdk/
├── python/                  aifinpay-agent (PyPI)
├── node/                    @aifinpay/agent (npm)
├── mcp/                     @aifinpay/mcp (npm)
├── docs/                    QUICKSTART.md, MCP_CONFIG.md, integrations
└── examples/
    ├── openai-agent/        OpenAI Agents SDK tool
    ├── claude-mcp/          Claude Desktop MCP config + walkthrough
    ├── langchain/           LangChain BaseTool wrapper
    ├── crewai/              CrewAI multi-agent crew that pays
    ├── flowise/             Flowise custom node
    ├── autogpt/             Headless self-funding agent loop
    ├── echo-x402-server/    reference partner integration (~70 lines)
    ├── io-net-x402-bridge/  live io.net bridge
    ├── exa-x402-bridge/     live Exa bridge
    └── venice-x402-bridge/  live Venice bridge

Releasing

All three packages are published as stable 1.0.0 on PyPI and npm under

the default (latest) tag, with semver-compatible updates from here.

bash
# Python
cd python
python -m build
python -m twine upload --repository pypi dist/*

# Node
cd ../node
npm run build
npm publish

# MCP
cd ../mcp
npm install                 # so it can resolve @aifinpay/agent
npm run build
npm publish

Contributing

Issues and PRs welcome. For protocol-level changes, please open an

issue first to discuss.

License

MIT — see LICENSE.

Links

  • Site: https://aifinpay.io
  • Docs: https://aifinpay.io/docs
  • Manifesto: https://aifinpay.io/manifesto.json
  • x402 protocol: https://www.x402.org
  • MCP spec: https://modelcontextprotocol.io

Embed Security Badge

Add this badge to your README or documentation

Agent MCP Server MCPSafe Security
[![Agent MCP Server MCPSafe Security](https://api.mcpsafe.org
/api/badge/aifinpay-agent.svg)](https://mcpsafe.org/registry/aifinpay-agent)
Need more customization options?Badge Documentation

Server Information

Source
GITHUB
Version
1.8.1
Language
typescript
License
MIT
Transport
STDIO
Added
Aug 2, 2026
Updated
Oct 1, 2026