原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agenticpay

作者:krystiangw版本 0.0.1i★ –i在你的电脑上运行
注册名称io.github.krystiangw/agenticpay

安装

概览

作者提供的说明(英文原文)

x402 USDC paywall bridge for MCP — pay per tool call on Solana.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:AGENTICPAY_BRIDGE_KEYPAIR, AGENTICPAY_BRIDGE_TOOLS

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: AGENTICPAY_BRIDGE_KEYPAIR, AGENTICPAY_BRIDGE_TOOLS, AGENTICPAY_BRIDGE_NETWORK, AGENTICPAY_BRIDGE_RPC

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "your-value",
        "AGENTICPAY_BRIDGE_TOOLS": "your-value",
        "AGENTICPAY_BRIDGE_NETWORK": "your-value",
        "AGENTICPAY_BRIDGE_RPC": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add agenticpay --env AGENTICPAY_BRIDGE_KEYPAIR=your-value --env AGENTICPAY_BRIDGE_TOOLS=your-value --env AGENTICPAY_BRIDGE_NETWORK=your-value --env AGENTICPAY_BRIDGE_RPC=your-value -- npx -y @agenticpay/mcp-bridge

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "your-value",
        "AGENTICPAY_BRIDGE_TOOLS": "your-value",
        "AGENTICPAY_BRIDGE_NETWORK": "your-value",
        "AGENTICPAY_BRIDGE_RPC": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agenticpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "your-value",
        "AGENTICPAY_BRIDGE_TOOLS": "your-value",
        "AGENTICPAY_BRIDGE_NETWORK": "your-value",
        "AGENTICPAY_BRIDGE_RPC": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • AGENTICPAY_BRIDGE_KEYPAIR 机密 必填 env
    Solana keypair as 64-byte JSON array (the format `solana-keygen new` writes). The bridge signs each x402 payment with this keypair.
  • AGENTICPAY_BRIDGE_TOOLS 必填 env
    JSON array of paid tool definitions. Each entry: { name, description, url, inputSchema, headers? }
  • AGENTICPAY_BRIDGE_NETWORK env
    CAIP-2 network identifier. Devnet: solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
  • AGENTICPAY_BRIDGE_RPC env
    Solana JSON-RPC URL

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 krystiangw 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32684 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32684 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 32684 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Agenticpay 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:AGENTICPAY_BRIDGE_KEYPAIR, AGENTICPAY_BRIDGE_TOOLS

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.0.1)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Master CSS

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Master CSS

作者:master-co

Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

agenticpay

[Website](https://agenticpay-dev.github.io/) · Spend caps · npm

Get paid by AI agents. Open-source payment infrastructure for the MCP ecosystem - declare a price on any tool, agents pay in USDC over x402, settles on Solana in ~1.5 seconds.

No Stripe. No accounts. No API keys.

The full stack is here - SDK, CLI, paywall middleware, self-hosted x402 facilitator, and a live LLM agent demo. All TypeScript, MIT licensed.

Just want to test it? Point your mcp-server at our hosted devnet

facilitator: FACILITATOR_URL=https://agentpay-facilitator-e9b20a5fee6a.herokuapp.com

No setup needed.

Live demo

A real Claude Opus agent receives a task, decides which paid tools to use, pays autonomously via x402 micropayments on Solana, and answers the user.

$ pnpm --filter @agenticpay/two-agent-demo agent

Agent wallet: 3rHoEumCpH8EGrr6Lq2vBKeyec6h3yPRGj2nGG2FzEfX Server: http://localhost:4021 Facilitator: http://localhost:4022 ← our own Model: claude-opus-4-7 Task: Reverse the string 'agentpay rocks' and tell me how many words are in 'The quick brown fox jumps over the lazy dog'.

[turn 1] tool_use: reverse_string({"text":"agenticpay rocks"}) → paying $0.001 USDC ... ✓ paid + got result in 1596ms: {"result":"skcor yaptnega"} [turn 1] tool_use: word_count({"text":"The quick..."}) → paying $0.0005 USDC ... ✓ paid + got result in 1286ms: {"count":9}

Agent final answer:

  1. Reversed string: skcor yaptnega
  2. Word count: 9 words

=== payments summary === reverse_string $0.0010 USDC 1596ms word_count $0.0005 USDC 1286ms TOTAL $0.0015 USDC 2 calls

On-chain proof (Solana devnet):

Why

The current AI agent stack assumes humans hold the credit card. That breaks the moment agents act on their own initiative - calling APIs, hiring sub-agents, paying for compute. You can't OAuth your way through it.

Stablecoin micropayments over HTTP fix it. agenticpay packages the missing ergonomics for the MCP ecosystem specifically: any tool can declare a price, any agent can pay it, and the whole pipeline - including the facilitator that actually submits the on-chain settlement - is open source and self-hostable.

Architecture

┌──────────────┐     1) HTTP request                    ┌─────────────┐

│ Claude / │ ────────────────────────────────────▶ │ mcp-server │ │ GPT agent │ 2) HTTP 402 + payment requirements │ (yours) │ │ │ ◀──────────────────────────────────── │ │ │ │ 3) signed USDC payload │ │ │ │ ────────────────────────────────────▶ │ │ └──────────────┘ └─────┬───────┘ │ verify+settle ▼ ┌──────────────────────┐ │ agenticpay facilitator │ │ (also yours, this │ │ repo, port 4022) │ └──────────┬───────────┘ │ submit ▼ Solana (USDC SPL, sub-cent fees)

You can also point mcp-server at the public x402.org/facilitator for testnet/devnet, or at Coinbase CDP for mainnet. We just made the self-hosted route easy.

Packages

PackageWhat it does
packages/sdkTypeScript primitives: USDC transfers, wallet management, network config
packages/cliagenticpay command - wallet, balance, send
packages/mcp-serverHTTP server with x402 paywall middleware. Each tool has a price.
packages/facilitatorSelf-hosted x402 facilitator - verify + settle USDC payments on Solana. Pays SOL fees on behalf of agents.
packages/eliza-pluginEliza plugin - wraps paid HTTP endpoints as native Eliza Actions. Solana-native AI agents pay per tool call.
packages/ai-sdkVercel AI SDK helpers - drop paid tools straight into generateText / streamText.
packages/mcp-bridgeReal MCP server (stdio + @modelcontextprotocol/sdk) wrapping x402 paid tools. Drop into Claude Desktop / Cursor.
examples/two-agent-demoReal Claude Opus agent paying for tool calls

Install

npm install @agenticpay/sdk           # Solana + USDC primitives

npm install -g @agenticpay/cli # agenticpay command npm install @agenticpay/mcp-server # paywalled HTTP server npm install @agenticpay/facilitator # self-hosted x402 facilitator npm install @agenticpay/eliza-plugin # Eliza plugin (Solana-native agents) npm install @agenticpay/ai-sdk # Vercel AI SDK paid tools npm install -g @agenticpay/mcp-bridge # MCP server for Claude Desktop / Cursor

Or clone the monorepo to get the live two-agent demo and edit-friendly templates (recommended for first run - see Quickstart below).

Use with Claude Code

This repo ships an Anthropic Skill at .claude/skills/agenticpay/SKILL.md. Copy it into your ~/.claude/skills/ to give Claude Code first-class context about agenticpay - it'll then walk you through monetizing an MCP server, generating tool routes, and verifying on-chain settlements without re-reading the README every time.

mkdir -p ~/.claude/skills

cp -r .claude/skills/agenticpay ~/.claude/skills/

Quickstart (devnet, ~5 minutes, free)

# 1. Install

pnpm install pnpm -r build

2. Generate a payer wallet, fund it on devnet

node packages/cli/dist/index.js wallet new node packages/cli/dist/index.js wallet show

→ fund SOL at https://faucet.solana.com (paste pubkey)

→ fund USDC at https://faucet.circle.com (Solana Devnet, same pubkey)

3. (option A - fastest) Use our hosted devnet facilitator. Skip step 4.

export FACILITATOR_URL=https://agentpay-facilitator-e9b20a5fee6a.herokuapp.com

3. (option B - fully self-hosted) Start your own facilitator (terminal 1)

pnpm --filter @agenticpay/facilitator dev

Note the printed feePayer address. It needs ~0.05 SOL devnet to cover fees.

Either airdrop or use the helper:

pnpm --filter @agenticpay/facilitator fund export FACILITATOR_URL=http://localhost:4022

4. Start the paywalled mcp-server (terminal 2)

PAY_TO= pnpm --filter @agenticpay/mcp-server dev

5. Run the live LLM agent demo (terminal 3, needs ANTHROPIC_API_KEY in .env)

pnpm --filter @agenticpay/two-agent-demo agent

Framework integrations

Drop-in templates for the most common AI agent stacks live under examples/:

FrameworkFile
Anthropic SDK (canonical)examples/two-agent-demo/src/agent-llm.ts
Real-world paid server template (Claude-backed tools)examples/research-server/
LangChain.jsexamples/langchain-js/agent-with-paid-tools.ts
LangChain Pythonexamples/langchain-python/agent_with_paid_tools.py
Eliza (Solana-native)examples/eliza/plugin-agenticpay.ts
Mastraexamples/mastra/paid-tool.ts
Vercel AI SDKexamples/vercel-ai-sdk/paid-tool.ts
OpenAI Custom GPTexamples/openai-gpt/action-schema.json

See examples/README.md for the integration matrix.

Status

Pre-alpha. Devnet validated end-to-end. Mainnet config supported but requires funding the facilitator with real SOL and pointing at a mainnet-capable RPC (Helius, QuickNode, etc.).

Roadmap

  • Devnet end-to-end demo (smoke + LLM agent)
  • Self-hosted x402 facilitator (verify + settle, fee_payer abstraction)
  • Real-world MCP server template (search, fetch, summarize, extract - instead of toy reverse_string)
  • On-chain escrow for long-running tasks (Anchor program)
  • Agent reputation registry on-chain
  • Hosted facilitator service (agenticpay.com)

What's a facilitator?

If you've never seen x402 before: the facilitator is the trusted middleman that (1) verifies an agent's signed payment payload, (2) submits the USDC transfer on-chain, and (3) pays the SOL gas fees so the agent doesn't need any SOL - only USDC. Most MCP devs don't want to run their own; they point at a hosted one.

This repo ships a complete facilitator implementation. You can self-host it, fork it, audit it, or deploy it as a service for your own users.

What happens when a paid tool call fails?

Short version: a failed tool call is never charged. x402 settlement is an irreversible push, so the middleware is careful about *when* it settles:

  1. Verify before execute. The payment payload (signature, funds, requirements match) is verified before your tool handler runs. Invalid payment → HTTP 402, the tool never executes.
  2. Execute with a buffered response. The handler runs, but its response is held back - nothing is sent to the agent yet.
  3. Settle only on success. If the handler responds with status ≥ 400, the middleware skips settlement entirely and just returns the error. The agent pays nothing for a failed call.
  4. No result without payment. If on-chain settlement itself fails, the buffered tool result is discarded and the agent gets a payment error instead - the server never leaks a result it wasn't paid for.

What this doesn't cover: a tool that returns 200 OK with a junk answer is still charged - the protocol can't judge response quality. That's what keeps per-call prices micro ($0.0005–$0.001 in the demo): the worst case is capped at one call's price, and quality enforcement belongs to a reputation layer (see Roadmap) rather than the payment protocol.

License

MIT

问 PopNx