XT

xr0am/tip-md-x402-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

9 stars 12 forks 质量 57 趋势 7

QQ Hackathon:将任何AI代理转换为使用x402 + CDP的支付辅助代理. MCP服务器用于自动支付即时加密提示.

概览

: 将任何AI代理转换为支付辅助提示代理,使用CDP自动付款的x402支付收款. 是一个平台,允许开发人员通过嵌入于 GitHub READMEs 的简单按钮直接接收密码货币提示到钱包, 网站, 或任何下标内容 。 它支持: - :Ethereum, Base, Solana, 和 Bitcoin闪电网 - :提示直接到您的钱包, 没有监护 - :一个按钮, 工作处的标记被支持 - :透明定价,我们只赚钱,如果你这样做 - : 在浏览器中安全处理的所有交易 这个MCP服务器通过能通过创新的x402+CDP集成来方便加密来扩展tip.md的功能. : 立即体验到 x402 + CDP 倾斜流: : 单独运行的服务器显示日志, 但是要查看 ., 您需要将其连接到一个 MCP 客户端( 见下文与 MCP 客户端的测试) .

概述(AI 翻译)

QQ Hackathon Entertainment**:将任何AI代理转换为使用x402支付收发并使用CDP自动付款的支付辅助提示代理.

□ 关于小费.md

tip.md是一个平台,允许开发人员通过嵌入于GitHub READMEs,网站或任何被标记下的内容的简单按钮直接接收密码货币提示到他们的钱包. 它支持:

  • 多块链:Ethereum、Base、Solana和Bitcoin闪电网
  • ** 直拨工资**: 提示直接到你的钱包,没有监护权
  • ** 简单一体化**: 一个按钮,每个地方的工作都被支持 -4%的平台收费:透明定价,我们只赚钱,如果你这样做
  • ** Client-Side Security**:浏览器中安全处理的所有交易

这个MCP服务器通过使任何AI代理通过创新的x402+CDP集成来方便加密来扩展tip.md的功能.

□QQ快取( 无设置要求)

** 法官和评价员**: 体验x402 + CDP 瞬间倾斜流:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

tip.md x402 + CDP MCP Server

🏆 Hackathon Entry: Transform any AI agent into a payment-enabled tipping agent using x402 payment collection with CDP automatic disbursement.

🌟 About tip.md

tip.md is a platform that allows developers to receive cryptocurrency tips directly to their wallets via a simple button embeddable in GitHub READMEs, websites, or any markdown content. It supports:

  • Multiple Blockchains: Ethereum, Base,Solana, and Bitcoin Lightning Network
  • Direct-to-Wallet Payments: Tips go straight to your wallet, no custody
  • Simple Integration: One button, works everywhere markdown is supported
  • 4% Platform Fee: Transparent pricing, we only make money if you do
  • Client-Side Security: All transactions processed securely in the browser

This MCP server extends tip.md’s functionality by enabling any AI agent to facilitate crypto tipping through the innovative x402 + CDP integration.

🚀 Quick Demo (No Setup Required)

For Judges & Evaluators: Experience the x402 + CDP tipping flow instantly:

git clone https://github.com/xR0am/tip-md-x402-mcp-server.git
cd tip-md-x402-mcp-server
npm install
NODE_ENV=demo npm start

⚠️ Important: The server running alone shows logs, but to see the demo payment functionality, you need to connect it to an MCP client (see Testing with MCP Clients below).

🎯 What This Does

Core Innovation: ANY AI agent + this MCP = instant payment-enabled agent

  • x402 Payment Collection: Users pay from dedicated wallets using the x402 payment protocol (Money IN)
  • CDP Automatic Disbursement: Backend automatically splits payments (96% recipient, 4% platform) via Coinbase Wallet API (Money OUT)
  • MCP Tool Integration: Works with Claude, ChatGPT, Cursor, or any MCP-compatible agent
  • True Composability: Transform existing AI workflows into payment-enabled experiences

🔄 The Complete Flow

  1. User: “Check balance” → Agent: “47.50 USDC available for tipping”
  2. User asks AI agent: “Tip @username 5 USDC”
  3. x402 Payment Collection: Agent generates payment request, user pays from dedicated wallet
  4. CDP Automatic Disbursement: Backend splits payment and sends to recipient + platform
  5. AI Confirms: “✅ Sent 5 USDC to @username”

Architecture: True x402 → CDP Flow

User Payment Flow

User → Dedicated Tipping Wallet → x402 Payment Collection → CDP Agent Wallet → CDP Disburses to Recipient (96%) + Platform (4%)

📋 Available MCP Tools

This MCP server exposes 7 tools that any AI agent can use:

💰 x402 + CDP Payment Tools (Hackathon Innovation)

  • mcp_tip_md_tip_on_base: Send USDC tips on Base using x402 payment protocol with CDP automatic disbursement
  • mcp_tip_md_tip_on_solana: Send USDC tips on Solana using x402 payment protocol
  • mcp_tip_md_check_tipping_balance: Check/create your dedicated tipping wallet balance and info
在 GitHub 查看完整 README

安装

npx -y supergateway --httpStream http://localhost:3000/mcp --outputTransport stdio
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "tip-md-demo": { "command": "node", "args": ["dist/mcp-server/src/index.js"], "cwd": "/path/to/tip-md-x402-mcp-server", "env": { "NODE_ENV": "demo" } } } }