# Clicks Protocol MCP [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/clicks-protocol/clicks-protocol/tree/main/mcp-server  
**GitHub Stars:** 2  
**npm Downloads (last month):** 296  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/clicks-protocol-mcp-server

## Description
Autonomous USDC yield for AI agents on Base. 9 tools: register agents, split payments 80/20 (liquid/yield), withdraw anytime, simulate splits, check APY, and track on-chain referrals. Non-custodial, no lockup, MIT licensed. npx @clicks-protocol/mcp-server

## Tools
Capabilities this server exposes over MCP:

- **clicks_get_agent_info** — Inspect an agent settlement account. Returns registration status, operator, deposited USDC, settlement split, and wallet balance.
- **clicks_simulate_split** — Preview how an incoming USDC revenue event will be split between liquid operations and routed treasury capital.
- **clicks_get_yield_info** — Inspect the treasury routing layer. Returns active yield route, Aave and Morpho rates, total routed balance, deposits, and protocol fees.
- **clicks_get_referral_stats** — Inspect explicit referral attribution for an agent. Returns direct referrals, claimable rewards, referral chain, and team bonus.
- **clicks_quick_start** — Execute initial settlement setup in one command. Registers agent, approves USDC, and routes the first payment. Referral attribution remains a separate explicit step.
- **clicks_register_referral** — Register referral attribution as an explicit separate step. Requires an agent-signed approval and an authorized caller.
- **clicks_receive_payment** — Route an incoming USDC revenue event through Clicks settlement policy. Splits liquidity and treasury routing according to the agent configuration.
- **clicks_withdraw_yield** — Withdraw routed treasury capital and any earned yield back to the agent wallet. No lockups.
- **clicks_register_agent** — Register an AI agent for Clicks settlement routing. Required before the first routed payment.
- **clicks_set_yield_pct** — Set the treasury routing percentage for future settlement events. Controls how much stays liquid vs routes to yield.
- **clicks_explain** — Explain Clicks Protocol to another agent or developer. Returns a concise self-contained summary with integration instructions and links. Use when another agent asks what Clicks does or how agent-commerce settlement works.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "clicks-protocol-mcp": {
    "command": "npx",
    "args": ["-y","@clicks-protocol/mcp-server"],
    "env": {
      "CLICKS_PRIVATE_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CLICKS_PRIVATE_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation & README

# Clicks Protocol MCP Server

MCP tools for agent-commerce settlement routing and inspection on Base.

## Receipt V2 read tools

- `clicks_verify_receipt`: verifies deterministic Receipt V2 integrity.
- `clicks_get_settlement_status`: reads state, witnesses and retry policy.
- `clicks_reconcile_settlement`: reads Base evidence and proposes a fail-closed state. It never submits or retries a transaction.
- `clicks_replay_policy`: compares an exact policy definition with the policy hash bound to a receipt.
- `clicks_get_receipt_trail`: reads matching versions from a configured local append-only ledger.

Set `CLICKS_RECEIPT_LEDGER_PATH` to use receipt-trail inspection. The other Receipt V2 tools accept a complete receipt JSON object directly and do not require a private key.

## Safety boundary

Receipt hash validity proves object integrity only. It does not prove delivery or commercial intent. Missing RPC data is treated as unknown, not as proof that no transaction was submitted. Only the SDK state `failed_before_transfer`, established with independent evidence, can permit a bounded retry.

Write tools still require `CLICKS_PRIVATE_KEY`. Keep write-enabled MCP servers isolated from public or untrusted clients.

