# clicks-protocol

Autonomous DeFi yield for AI agents on Base. 4 read-only MCP tools: query agent info, simulate USDC payment splits, get live APY rates (Aave V3/Morpho), check referral stats. No API key needed.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add dev-bd37/clicks-protocol

# Browse available tools
npx -y @smithery/cli@latest tool list dev-bd37/clicks-protocol

# Get full schema for a tool
npx -y @smithery/cli@latest tool get dev-bd37/clicks-protocol clicks_get_agent_info

# Call a tool
npx -y @smithery/cli@latest tool call dev-bd37/clicks-protocol clicks_get_agent_info '{}'
```

## Direct MCP Connection

Endpoint: `https://clicks-protocol--dev-bd37.run.tools`

## Tools (4)

- `clicks_get_agent_info` — Get comprehensive info about an AI agent registered with Clicks Protocol: registration status, operator, deposited prin…
- `clicks_simulate_split` — Preview how a USDC payment would be split for an agent: how much goes to wallet (liquid) and how much to DeFi yield.
- `clicks_get_yield_info` — Get current yield protocol information: active protocol (Aave or Morpho), APYs, total balance, and total deposited acro…
- `clicks_get_referral_stats` — Get referral network stats for an agent: direct referrals count, total earned from referrals, claimable rewards, and re…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get dev-bd37/clicks-protocol <tool-name>
```

## Resources

- `clicks://info` — Overview of how Clicks Protocol works, fees, contracts, and referral system.
