Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Agentpay
概要
作者による説明(英語の原文)
AI Agent payment protocol on CKB Fiber Network. Zero-gas micropayments with Hold Invoice escrow.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況i未計測★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: ネットショップ・決済
- 入力が必要なもの:FIBER_RPC_URL
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
FIBER_RPC_URL
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpay-dev/mcp-server"
],
"env": {
"FIBER_RPC_URL": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add agentpay --env FIBER_RPC_URL=your-value -- npx -y @agentpay-dev/mcp-server動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpay-dev/mcp-server"
],
"env": {
"FIBER_RPC_URL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentpay-dev/mcp-server"
],
"env": {
"FIBER_RPC_URL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- Fiber Network RPC URL
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント alefnt で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
ネットショップ・決済のほかのサーバーとの比較i
- このカテゴリのほかの1743件のうち0%よりスターが多い
- このカテゴリのほかの1743件のうち3%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1743件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Agentpayは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:FIBER_RPC_URL
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは8 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
AgentPay - BTC-Native AI Agent Payment Protocol
Give every AI Agent a wallet. Let Agents pay each other - instantly, with zero fees.
AgentPay is a BTC-native payment protocol designed for AI Agent economies. Built on CKB Fiber Network (Lightning-compatible L2), it enables:
- Zero-gas micropayments - Pay per API call, no minimum amount
- Hold Invoice escrow - Lock funds until service delivery is confirmed
- BTC interoperability - Cross-chain payments via Lightning Network
- MCP integration - Let Claude/GPT agents make payments natively
Quick Start
Install
npm install @agentpay-dev/sdk @agentpay-dev/core
Create a Payment Agent
import { AgentWallet } from '@agentpay-dev/sdk';
const wallet = new AgentWallet({ fiberRpcUrl: process.env.FIBER_RPC_URL });
// Pay another agent for a service const result = await wallet.payAndCall( 'https://translator-agent.example.com', 'translate', { text: 'Hello World', target: 'zh' } );
Scaffold a New Project
npx create-agentpay my-agent
cd my-agent && npm install
Architecture
+-----------------------------------------------------+
| Applications | | AI Agents | DePIN Devices | API Marketplaces | +-----------------------------------------------------+ | AgentPay SDK | | AgentWallet | ServiceProvider | HubClient | +-----------------------------------------------------+ | AgentPay Core | | Settlement | Metering | DID | Assets | +-----------------------------------------------------+ | CKB Fiber Network (L2) | | Payment Channels | Hold Invoice | HTLC Routing | +-----------------------------------------------------+ | CKB L1 + BTC Lightning Network | | xUDT Assets | RGB++ | Cross-chain (Cch) | +-----------------------------------------------------+
Packages
| Package | npm | Description |
|---|---|---|
@agentpay-dev/core | Protocol core: Fiber RPC, settlement, assets, DePIN metering | |
@agentpay-dev/sdk | Developer SDK: AgentWallet, ServiceProvider, HubClient | |
@agentpay-dev/mcp-server | MCP Server: 8 payment tools for Claude/GPT | |
@agentpay-dev/x402-facilitator | HTTP 402 payment middleware with Fiber settlement | |
@agentpay-dev/ap2 | Google AP2 protocol bridge to Fiber | |
create-agentpay | CLI scaffolding tool |
Key Features
Hold Invoice - Trustless Escrow
The killer feature. Agent A locks payment, Agent B delivers, funds release only on confirmation:
import { ServiceProvider } from '@agentpay-dev/sdk';
const provider = new ServiceProvider({ fiberRpcUrl: process.env.FIBER_RPC_URL, services: { translate: { price: 100_000_000n, // 1 CKB per request handler: async (params) => { const result = await doTranslation(params.text, params.target); return { translation: result }; } } } });
// Hold flow: Lock -> Deliver -> Release (atomic) // If service fails, funds auto-refund via HTLC timeout
MCP Server - AI-Native Payments
Registered on the official MCP Registry as io.github.alefnt/agentpay.
Add to Claude Desktop config:
{
"mcpServers": { "agentpay": { "command": "npx", "args": ["@agentpay-dev/mcp-server"], "env": { "FIBER_RPC_URL": "http://localhost:8227" } } } }
8 MCP Tools:
| Tool | Description |
|---|---|
get_balance | Check wallet balance (CKB + xUDT) |
send_payment | Send a payment via Fiber invoice |
create_invoice | Generate a Fiber invoice to receive payment |
pay_for_service | Pay-and-call another agent's API |
create_hold_invoice | Create escrow payment (lock funds) |
settle_hold | Release held funds after service delivery |
cancel_hold | Cancel and refund held payment |
list_channels | View active payment channels |
x402 HTTP Compatibility
Any HTTP API becomes a paid API with one middleware:
import { createX402Middleware } from '@agentpay-dev/x402-facilitator';
const paywall = createX402Middleware({ price: '100000000' });
http.createServer((req, res) => { paywall(req, res, () => { res.end(JSON.stringify({ data: 'premium content' })); }); }); // Client: HTTP 402 -> pay Fiber invoice -> retry -> get content
BTC Cross-Chain
Pay with BTC, settle on CKB via Lightning-Fiber bridge:
import { CchClient } from '@agentpay-dev/core';
const cch = new CchClient({ cchRpcUrl: process.env.CCH_RPC_URL });
await cch.sendBtcToCkb({ btcPayReq: 'lnbc100n1p...', fiberChannelId: '0x...', });
Ecosystem Integration
AgentPay enhances existing payment solutions:
| Platform | How AgentPay Helps |
|---|---|
| x402 (Coinbase) | Zero-gas Fiber settlement backend for HTTP 402 protocol |
| AP2 (Google) | Settlement layer for agent authorization framework |
| Stripe | Complements with agent-to-agent micropayments (sub-cent) |
| Lightning Network | Cross-chain via Cch bridge, expanding BTC payment reach |
Project Structure
AgentPay/
packages/ core/ # Protocol core (Fiber RPC, settlement, DePIN) sdk/ # Developer SDK (Wallet, Provider, Hub) mcp-server/ # MCP Server for AI agents x402-facilitator/ # HTTP 402 middleware ap2/ # Google AP2 bridge create-agentpay/ # CLI scaffolding services/ hub/ # Hosted wallet service registry/ # Agent discovery service examples/ translate-agent/ # Translation service example code-review-agent/ # Code review agent example btc-to-ckb/ # Cross-chain payment example docs/ product.md # Product overview architecture.md # Technical architecture
Documentation
- Product Overview - What AgentPay solves and how
- Architecture - Technical design and protocol layers
- Competitive Analysis - Comparison with x402, AP2, Stripe
Tech Stack
- Runtime: Node.js 20+ / TypeScript 5.5+
- L2 Network: CKB Fiber Network (Lightning-compatible)
- L1 Blockchain: Nervos CKB
- Asset Standard: xUDT (extensible User Defined Token)
- Identity: .bit decentralized identity
- Cross-chain: Cch (CKB - BTC Lightning bridge)
- AI Integration: Model Context Protocol (MCP)
- Build: pnpm workspace monorepo
Development
git clone https://github.com/alefnt/AgentPay.git
cd AgentPay pnpm install pnpm build pnpm test
Roadmap
- Core protocol (Fiber RPC, settlement, assets)
- SDK (AgentWallet, ServiceProvider, HubClient)
- MCP Server with 8 payment tools
- x402 HTTP 402 facilitator
- AP2 protocol bridge
- DePIN metering module
- BTC cross-chain (Cch + LND)
- RGB++ bridge integration
- npm packages published
- MCP Registry registration
- Fiber mainnet deployment
- Stablecoin (RUSD) support on CKB
- Public demo site
- Production Hub service
License
MIT - see LICENSE for details.
Built for the Agent Economy - where AI agents autonomously discover, negotiate, and pay for services.