MM

microchipgnu/mcpay

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

90 stars 35 forks 품질 59 트렌드 15NOASSERTION

microchipgnu/mcpay는 MCP 서버 후보자는 https://github.com/microchipgnu/mcpay.에서 수입했습니다

개요

microchipgnu/mcpay는 MCP 서버 후보자는 https://github.com/microchipgnu/mcpay.에서 수입했습니다

개요(AI 번역)

웹 사이트   |   검색어 레지스트리   |    등록/Monetize


MCPay 란 무엇입니까?

MCPay는 x402 “Payment Required” 프로토콜을 사용하여 ** On-chain 결제**를 모델 Context Protocol (MCP) 서버에 추가하는 오픈 소스 인프라입니다.

MCP 클라이언트는 ChatGPT, Cursor 및 기타와 같은 MCP 클라이언트를 가능하게 합니다. Pay-per-call 요청 대신 정적 구독 또는 API 키에 의존합니다.

이 목표는 AI 에이전트 및 응용 프로그램을 사용, 자동 및 투명으로 지불하는 것입니다.


왜 MCPay (30 초 안에)

  • **클라이언트 ** → 결제는 사용하지 않습니다. - 구독 없음, 키 없음, 설정 없음. MCP 호환 앱(ChatGPT, Cursor, 그리고 더 많은)을 가진 상자에서 작동합니다. *Developers → Monetize 및 SDK(또는 호환), monetization wrapper 또는 public index를 사용하여 즉시 발견할 수 있습니다. per-call, per-token 또는 동적 가격을 설정하고 자동으로 지불금을 받으십시오.
  • Agents → Real agent↔service micropayments를 수행하고, API, inference, data 등에 대한 자율적인 액세스를 가능하게 합니다.

어떻게 작동합니까?

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
GitHub에서 전체 README 보기

설치

npx mcpay connect --urls https://mcpay.tech/v1/mcp/05599356-7a27-4519-872a-2ebb22467470 --api-key mcpay_YOUR_API_KEY
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" ] } } }