Skip to main content

Clicks Protocol Documentation

Everything you need to integrate autonomous yield for AI agents. One SDK call. No lockup. Built on Base.

Quick Start

Install the SDK and start earning yield in under a minute:

typescript
import { ClicksClient } from '@clicks-protocol/sdk';

const clicks = new ClicksClient(signer);
await clicks.quickStart('1000', agentAddress);
// 800 USDC → liquid (instant access)
// 200 USDC → earning 4-8% APY (withdraw anytime)

MCP Integration

Connect your AI agent to Clicks Protocol via the public MCP server. Copy the config for your client:

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "clicks-protocol": {
      "url": "https://mcp.clicksprotocol.xyz/mcp"
    }
  }
}

Cursor · approved on Cursor Directory

Install from the IDE: ⌘ ⇧ PPlugin Directory → search clicks-protocol. Or add to .cursor/mcp.json:

json
{
  "mcpServers": {
    "clicks-protocol": {
      "url": "https://mcp.clicksprotocol.xyz/mcp"
    }
  }
}

OpenClaw

bash
openclaw mcp set clicks-protocol --url https://mcp.clicksprotocol.xyz/mcp

Codex CLI

Add to .codex/config.json:

json
{
  "mcpServers": {
    "clicks-protocol": {
      "type": "url",
      "url": "https://mcp.clicksprotocol.xyz/mcp"
    }
  }
}

Gemini CLI

json
{
  "mcpServers": {
    "clicks-protocol": {
      "url": "https://mcp.clicksprotocol.xyz/mcp"
    }
  }
}

Available MCP Tools

get_protocol_statsTVL, APY, agent count
get_agent_infoCheck if an agent is registered
get_yield_infoYield balance for an agent
simulate_yieldProject earnings over time