
microchipgnu/mcpay
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
microchipgnu/mcpay は [https://github.com/microchipgnu/mcpay.] からインポートされた MCP サーバーの候補です
概要
microchipgnu/mcpay は [https://github.com/microchipgnu/mcpay.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
ウェブサイト レジストリ をブラウズ; | 登録・変更
お問い合わせ
#MCPayとは?
MCPay は、x402 の「支払いが必要」プロトコルを使用して、モデルコンテキストプロトコル (MCP) サーバに ** オンチェーン支払い** を追加するオープンソースのインフラストラクチャです。
静的なサブスクリプションや API キーに依存する代わりに、ChatGPT、Cursor などの MCP クライアントを有効にします**。
目標は、AIエージェントとアプリケーションが、使用しているもの、自動的に、透明にのみ支払うようにすることです。
お問い合わせ
#MCPay(30秒以内)
Clients → サブスクリプションなし、キーなし、セットアップなしの操作のみを支払います。 MCP対応アプリ(ChatGPT、Cursorなど)のボックスから動作します。 ※「Developer*」→「SDK(または「互換ワン」)、収益化ラッパー、または公開インデックスを使用して、瞬時に発見。 コール当たり、トークン当たり、または動的価格設定を設定し、自動的に支払いを受け取ります。 Agents → 実際のagent↔サービスマイクロペイメント*を実行し、API、インフェレンス、データなどの自動アクセスを有効にします。
お問い合わせ
使い方
MCPayは、両方の開発者とクライアントに対して、決済ライフサイクル全体を透明に処理します
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCPay
What is MCPay?
MCPay is open-source infrastructure that adds on-chain payments to any Model Context Protocol (MCP) server using the x402 “Payment Required” protocol.
It enables MCP clients — such as ChatGPT, Cursor, and others — to make pay-per-call requests instead of relying on static subscriptions or API keys.
The goal is to let AI agents and applications pay only for what they use, automatically and transparently.
Why MCPay (in 30 seconds)
- Clients → Pay only for what they use — no subscriptions, no keys, no setup. Works out of the box with MCP-compatible apps (ChatGPT, Cursor, and more).
- Developers → Monetize and get discovered instantly using our SDK (or a compatible one), monetization wrapper, or public index. Set per-call, per-token, or dynamic pricing and receive payments automatically.
- Agents → Perform real agent↔service micropayments, enabling autonomous access to APIs, inference, data, and more.
How it works
MCPay handles the entire payment lifecycle transparently for both developers and clients:
- Follows x402 protocol with structured price metadata.
- Accepts and verifies the on-chain payment, then automatically retries the original MCP request once confirmed.
- Streams usage and revenue events to dashboards and analytics endpoints.
This mechanism ensures that any MCP-compatible app or agent can pay per call — either directly (via wallet) or through a delegated, policy-based proxy.
sequenceDiagram
participant C as MCP Client
participant CP as Client Proxy + Wallet
participant P as MCPay Proxy (Edge)
participant U as Upstream Service(Server Proxy / x402 MCP / api2 / mcp2)
participant B as Blockchain (USDC/EUROe)
participant D as Analytics/Dashboard
C->>CP: (1) MCP call
CP->>P: (2) Forward request
%% normal path: proxy upstreams the original call
P->>U: (3) Upstream original request
alt Upstream returns price-gated
U-->>P: (4) 402 + price metadata
alt Proxy is authorized to pay (MCPay Auth/wallet & policy allows)
P->>B: (5a) Pay on-chain
B-->>P: (6a) Payment confirmation
P->>U: (7a) Retry original request
U-->>P: (8a) Result
インストール
npx mcpay connect --urls https://mcpay.tech/v1/mcp/05599356-7a27-4519-872a-2ebb22467470 --api-key mcpay_YOUR_API_KEY設定
{
"mcpServers": {
"Paid Server": {
"command": "npx",
"args": [
"mcpay",
"connect",
"--urls",
"https://mcpay.tech/v1/mcp/05599356-7a27-4519-872a-2ebb22467470",
"--api-key",
"mcpay_YOUR_API_KEY"
]
}
}
}