loading…
Search for a command to run...
loading…
MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.
MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.
🏆 Hackathon Entry: Transform any AI agent into a payment-enabled tipping agent using x402 payment collection with CDP automatic disbursement.
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:
This MCP server extends tip.md's functionality by enabling any AI agent to facilitate crypto tipping through the innovative x402 + CDP integration.
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).
Core Innovation: ANY AI agent + this MCP = instant payment-enabled agent
User → Dedicated Tipping Wallet → x402 Payment Collection → CDP Agent Wallet → CDP Disburses to Recipient (96%) + Platform (4%)
This MCP server exposes 7 tools that any AI agent can use:
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 infomcp_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 addressmcp_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)mcp_tip_md_ping: Health check endpointTo see the actual demo payment functionality, you need to connect the MCP server to a compatible client:
~/.cursor/mcp.json):{
"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"
}
}
}
}
Restart Cursor and look for the 🔨 tools icon
Test the demo:
npm install -g supergateway
~/Library/Application Support/Claude/claude_desktop_config.json):{
"mcpServers": {
"tip-md-demo": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--httpStream",
"http://localhost:3000/mcp",
"--outputTransport",
"stdio"
]
}
}
}
NODE_ENV=demo npm start
For clients supporting HTTP-stream transport:
http://localhost:3000/mcp (when running locally)NODE_ENV=demo for simulation modeFor full integration with the tip.md platform:
Create a .env file:
# Database Connection (Required for production)
MONGODB_URI=mongodb+srv://username:[email protected]/database
# Coinbase Developer Platform (Required for CDP disbursement)
CDP_API_KEY_ID=your_cdp_api_key_id
CDP_API_KEY_SECRET=your_cdp_api_key_secret
# x402 Configuration (Required for payment collection)
X402_WALLET_PRIVATE_KEY=your_x402_wallet_private_key
# Optional Configuration
PORT=3000
NODE_ENV=production
LOG_LEVEL=info
npm install
npm run build
npm start
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
For questions about this hackathon entry:
Built for the Coinbase x402 + CDP Hackathon 🏆
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"tipdotmd-tip-md-x402-mcp-server": {
"command": "npx",
"args": []
}
}
}