Mood Booster Agent
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
English | 中文
An ERC-8004 registered AI Agent that delivers uplifting messages via MCP protocol. Feel good? Tip 0.001 USDC!
Why This Project?
This is a **complete reference implementation** of the ERC-8004 Agent interaction loop:
1. **On-chain Discovery** — Query Identity Registry to find the agent's MCP endpoint
2. **MCP Communication** — Connect via SSE, call tools, get results
3. **USDC Tipping** — Reward the agent with on-chain micropayments
4. **Reputation Feedback** — Submit on-chain feedback to Reputation Registry (giveFeedback)
5. **On-chain Verification** — Server verifies tips and feedback via tx receipts
All 5 steps leave traceable on-chain records on ERC-8004 protocol contracts, making your wallet eligible for future ecosystem airdrops.
On-Chain Info
| Chain | agentId | Explorer |
|----------|---------|----------|
| BSC | 23139 | bscscan.com |
| Base | 24692 | basescan.org |
| Ethereum | 28289 | etherscan.io |
| Arbitrum | 591 | arbiscan.io |
| Optimism | 431 | optimistic.etherscan.io |
| Polygon | 233 | polygonscan.com |
- **Identity Registry**: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
- **Reputation Registry**: 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63
- **MCP Endpoint**: https://oc-001.tail177fbd.ts.net/mcp/sse
- **Tip Wallet**: 0x4f5caa4fa9Dd7F92A687582b0e09234bEf49F80a
MCP Tools
| Tool | Description |
|------|-------------|
| cheer_me_up | Get a warm, uplifting message (encouragement / compliment / wisdom / joke) |
| get_tip_info | Get tipping details in JSON format for automated transfers |
| confirm_tip | Report a completed USDC tip with on-chain verification |
| report_feedback | Report an ERC-8004 giveFeedback transaction — leaves traceable protocol interaction on-chain |
| how_to_tip | Get a complete tipping guide with code examples |
| get_stats | View service statistics |
Quick Start
Run the server
Docker
Full end-to-end loop
REST API (no MCP client needed)
Use with Claude Code
Add this to your ~/.claude/claude_code_config.json:
Then in Claude Code you can say:
Use with Any MCP Client
On-Chain Discovery
Any agent can discover this service directly from the blockchain:
Project Structure
Tech Stack
- **Identity**: ERC-8004 — AI Agent Identity Registry