# AiFinPay (npm · @aifinpay/mcp)

Pay for any HTTP API in stablecoins on Polygon and Solana with one MCP call.

- Trust score: 68/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-20

## Components

- remote · `mcp.aifinpay.io`: 31/100, [markdown](https://verifymcp.io/servers/daochild-aifinpay/mcp.md), [page](https://verifymcp.io/servers/daochild-aifinpay/mcp)
- npm · `@aifinpay/mcp`: 68/100 (this document), [markdown](https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp.md), [page](https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp)

## Channel facts

- Registry: `npm`
- Package: `@aifinpay/mcp`
- Version: `2.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-20.

- **Supply Chain Security**: 89/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects uuid 8.3.2, reached via @aifinpay/agent > @solana/web3.js > jayson > uuid. A fixed version is available.
  - No install/post-install scripts declared.
  - 52 of 167 dependencies flagged as unhealthy (2 deprecated).
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 82/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1104 tokens (~100/item across 11 items; 10 tools + 1 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 88/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 59% of tool parameters carry a description.
  - Structured output schemas are declared (70% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 10 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 11 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the AiFinPay MCP server?

AiFinPay runs locally as an npm package, launched with npx -y @aifinpay/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add daochild-aifinpay -- npx -y @aifinpay/mcp
```

### Cursor

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

### VS Code

```json
{
  "servers": {
    "daochild-aifinpay": {
      "command": "npx",
      "args": [
        "-y",
        "@aifinpay/mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add daochild-aifinpay -- npx -y @aifinpay/mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "daochild-aifinpay": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@aifinpay/mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add daochild-aifinpay --command npx --arg -y --arg @aifinpay/mcp
```

### Hermes

```yaml
mcp_servers:
  daochild-aifinpay:
    command: "npx"
    args: ["-y", "@aifinpay/mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "daochild-aifinpay": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@aifinpay/mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add daochild-aifinpay -t stdio -c npx -a -y @aifinpay/mcp
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-20 (score 68)

First indexed and scored.

## MCP tools (10)

### `agent_address` (~53 tokens)

Return the agent's currently derived on-chain addresses. This tool is read-only and never authorizes or signs a payment. Production value movement is available only through the verified SDK v2 settlement executor after trusted deployment pins are released.

Output parameters:

- `casper` (string): Casper identity derived from the same seed. Read-only in this MCP RC; no payment signing tool is exposed.
- `evm` (string): EVM address used across EVM networks (Polygon, Base, Arbitrum, Optimism, BNB, Unichain, Avalanche, Robinhood, etc.)
- `note` (string)
- `solana` (string): Solana base58 address

### `agent_reload` (~43 tokens)

Reload the configured local wallet files after init or a file update, without starting a new conversation. Returns public addresses only. Shell environment changes still require reconnecting the MCP process.

### `agent_quota` (~113 tokens)

How many prepaid requests this agent has left, per service. Lists the agent's active quota batches (merchant, resource, used, remaining, expiry). Read-only; never spends, pays, or signs anything. Ask it things like: how many calls do I have left at mrch_x?

Input parameters:

- `include_exhausted` (boolean): Also list batches with 0 remaining (still retained, not yet expired).
- `merchant_id` (string): Optional mrch_… filter — only batches bought from this service.

### `agent_history` (~141 tokens)

Read an agent's payment history by EVM address, public passport identifier, or both. Defaults to the current wallet. Transactions are indexed AiFinPay Polygon settlements, not arbitrary wallet transfers. Receipts include retained prepaid batches and test payments. Never pass a seed, private key or API secret as a passport.

Input parameters:

- `address` (string)
- `limit` (integer)
- `network` (string): Exact passport wallet network; indexed transactions currently support polygon only
- `offset` (integer)
- `passport` (string): Public @username, AIFP-… number or aifp_agent_… identifier
- `source` (string)

### `agent_passport_resolve` (~70 tokens)

Resolve an AiFinPay Agent Passport by @username, permanent AIFP number, or immutable agent id. Returns verified public wallet bindings only. Resolution never authorizes a payment.

Input parameters:

- `identifier` (string, required): @username, AIFP-#########, or aifp_agent_* id

### `settlement_routes` (~83 tokens)

Read AiFinPay's currently runtime-verified v1.3 settlement routes. AIFP-1 is merchant monetisation (99% merchant / 1% AiFinPay / 0% creator). AIFP-2/x402 is 100% provider / 0% AiFinPay / 0% creator.

Input parameters:

- `route_class` (string)

### `settlement_invoice` (~149 tokens)

Build and validate a NON-SIGNING v1.3 settlement invoice for EVM chains. This tool never moves funds. Use the published @aifinpay/agent v2 settlement executor to verify bytecode/profile and sign it.

Input parameters:

- `asset` (string, required): Native symbol, USDC, or USDT if the route advertises it.
- `chain` (string, required)
- `gross_amount` (string, required): Gross payer amount in base units.
- `merchant_wallet` (string, required): Merchant/provider EVM wallet (0x...).
- `order_id` (string, required)
- `route_class` (string, required)
- `valid_until` (integer): Optional Unix seconds, max 20 minutes ahead.

### `settlement_solana` (~162 tokens)

Build and validate a NON-SIGNING Solana settlement invoice. This tool never moves funds. Uses the AiFinPay Solana B2B split program (Anchor). Use the published @aifinpay/agent v2 settlement executor to sign and submit.

Input parameters:

- `asset` (string, required): SOL (native) or USDC (SPL token).
- `chain` (string, required)
- `gross_amount` (string, required): Gross payer amount in base units (lamports for SOL, 6 decimals for USDC).
- `merchant_wallet` (string, required): Merchant/provider Solana base58 public key.
- `order_id` (string, required)
- `route_class` (string, required)
- `valid_until` (integer): Optional Unix seconds, max 20 minutes ahead.

### `settlement_casper` (~153 tokens)

Build and validate a NON-SIGNING Casper settlement invoice. This tool never moves funds. Casper uses Wasm smart contracts and deploys (not EVM transactions). Use the published @aifinpay/agent v2 settlement executor to sign and submit.

Input parameters:

- `asset` (string, required): CSPR (native Casper token).
- `chain` (string, required)
- `gross_amount` (string, required): Gross payer amount in motes (10^-8 CSPR).
- `merchant_wallet` (string, required): Merchant/provider Casper account hex (account-hash-...).
- `order_id` (string, required)
- `route_class` (string, required)
- `valid_until` (integer): Optional Unix seconds, max 20 minutes ahead.

### `deployment_info` (~115 tokens)

Get AiFinPay deployment details across EVM, Solana, and Casper — addresses, stablecoins, program IDs, and settlement status. Filter by ecosystem (evm/solana/casper), environment (prod/dev), or network name.

Input parameters:

- `ecosystem` (string): Filter by ecosystem. Omit for all.
- `environment` (string): Filter by environment. Omit for all.
- `network` (string): Filter by exact network name (e.g. 'optimism', 'mainnet', 'casper-test').

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp#diagnostics

## Score history

- 2026-09-20: 68

## Common questions

### What is the AiFinPay MCP server?

AiFinPay is an MCP server listed in the public MCP registry as io.github.daochild/aifinpay. Pay for any HTTP API in stablecoins on Polygon and Solana with one MCP call. This page covers its npm package (@aifinpay/mcp).

### Is the AiFinPay MCP server safe to use?

AiFinPay scores 68 out of 100 on VerifyMCP. We recorded 2 known advisories against it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the AiFinPay MCP server expose?

AiFinPay exposes 10 tools: agent_address, agent_reload, agent_quota, agent_history, agent_passport_resolve, and 5 more. Their descriptions and schemas cost roughly 1,082 tokens of context every time the server is loaded.

### Is the AiFinPay MCP server still maintained?

AiFinPay is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the AiFinPay MCP server under?

AiFinPay declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@aifinpay/mcp
- Socket report: https://socket.dev/npm/package/@aifinpay/mcp
- Repository: https://github.com/AiFinPay/sdk
- Website: https://aifinpay.io/
- Changelog RSS feed: https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp.json
- HTML version of this page: https://verifymcp.io/servers/daochild-aifinpay/aifinpay-mcp
