Supports receiving cryptocurrency tips via Bitcoin Lightning Network through the tip.md platform
Enables automatic payment disbursement and wallet management using Coinbase Developer Platform (CDP) and implements x402 payment protocol for collecting cryptocurrency tips
Supports sending and receiving cryptocurrency tips on the Ethereum blockchain through the tip.md platform
Enables embedding cryptocurrency tipping buttons in GitHub READMEs through the tip.md platform
Uses MongoDB for database storage in production environments
Provides tools for sending USDC tips on the Solana blockchain using x402 payment protocol
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:
โ ๏ธ 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
User: "Check balance" โ Agent: "47.50 USDC available for tipping"
User asks AI agent: "Tip @username 5 USDC"
x402 Payment Collection: Agent generates payment request, user pays from dedicated wallet
CDP Automatic Disbursement: Backend splits payment and sends to recipient + platform
AI Confirms: "โ Sent 5 USDC to @username"
Architecture: True x402 โ CDP Flow
User Payment Flow
๐ 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 disbursementmcp_tip_md_tip_on_solana: Send USDC tips on Solana using x402 payment protocolmcp_tip_md_check_tipping_balance: Check/create your dedicated tipping wallet balance and info
๐ง Wallet Management Tools
mcp_tip_md_export_tipping_wallet: Export your tipping wallet private key (security sensitive)mcp_tip_md_withdraw_tipping_funds: Withdraw USDC from your tipping wallet to any address
๐ User & Network Tools
mcp_tip_md_get_user_wallet_types: Check recipient's supported cryptocurrencies and wallet typesmcp_tip_md_crypto_tipping: Manual crypto tipping information for agents with wallet to instruct (Ethereum, Base, Solana - no x402/CDP flow)
๐ฅ System Tools
mcp_tip_md_ping: Health check endpoint
๐งช Testing with MCP Clients
To see the actual demo payment functionality, you need to connect the MCP server to a compatible client:
Cursor IDE Setup
Edit your MCP configuration (
~/.cursor/mcp.json):
Restart Cursor and look for the ๐จ tools icon
Test the demo:
Type: "Tip user johndoe 5 USDC using base blockchain"
Watch the x402 + CDP simulation in action!
Claude Desktop Setup
Install Supergateway (bridges our HTTP transport to stdio):
Configure Claude Desktop (
~/Library/Application Support/Claude/claude_desktop_config.json):
Start the MCP server in demo mode:
Restart Claude Desktop and test with: "Show me available tip.md tools"
Other MCP Clients
For clients supporting HTTP-stream transport:
Endpoint:
http://localhost:3000/mcp(when running locally)Transport: HTTP-stream
Environment: Set
NODE_ENV=demofor simulation mode
๐ ๏ธ Production Integration (Requires Setup)
For full integration with the tip.md platform:
Environment Variables
Create a .env file:
Production Deployment
๐๏ธ Technical Architecture
x402 Payment Collection
Dedicated Wallets: Each user gets a unique payment wallet
Protocol Compliance: Full x402 specification implementation
CDP Automatic Disbursement
Smart Splitting: 96% to recipient, 4% to platform
Instant Settlement: Automated via Coinbase Developer Platform
MCP Integration
Universal Compatibility: Works with any MCP-compatible AI agent
Structured Responses: Rich JSON responses for seamless integration
Error Handling: Graceful fallbacks and detailed error messages
๐๏ธ Hackathon Submission Details
Challenge: Coinbase x402 + CDP Integration
Innovation: Universal AI agent payment enablement
Demo Mode: NODE_ENV=demo npm start
Repository: https://github.com/xR0am/tip-md-x402-mcp-server
Key Differentiators
Universal Agent Integration: Any MCP client becomes payment-enabled
Complete Payment Flow: x402 collection + CDP disbursement in one solution
Zero-Setup Demo: Judges can evaluate immediately
Production-Ready: Already integrated with tip.md platform
๐ Learn More
tip.md Platform: https://tip.md
MCP Protocol: https://modelcontextprotocol.io
x402 Specification: https://docs.coinbase.com/x402
Coinbase CDP: https://docs.cdp.coinbase.com
๐ค Support
For questions about this hackathon entry:
Issues: Open a GitHub issue
Email: support@tip.md
Demo Problems: Ensure you're testing through an MCP client, not just the server logs
Built for the Coinbase x402 + CDP Hackathon ๐