Purpose
clicks-protocol/mcp-server is the MCP server component in the Clicks Protocol repository, positioned as a commercial settlement routing and inspection tool for AI agents on the Base network. According to the materials, Clicks Protocol itself is an agentic commerce settlement router for AI agents that can split USDC into liquid working capital and routing yield. This MCP server provides MCP tools related to settlement routing and receipt inspection.
Main capabilities
The materials list Receipt V2 read tools:
- clicks_verify_receipt: verifies the integrity of a deterministic Receipt V2.
- clicks_get_settlement_status: reads status, witness information, and retry policy.
- clicks_reconcile_settlement: reads on-chain evidence on Base and proposes a fail-closed status recommendation; it does not submit or retry transactions.
- clicks_replay_policy: compares an exact policy definition with the policy hash bound to the receipt.
- clicks_get_receipt_trail: reads matching versions from a configured local append-only ledger.
Usage
When using clicks_get_receipt_trail, the environment variable CLICKS_RECEIPT_LEDGER_PATH must be set. Other Receipt V2 tools directly accept a complete receipt JSON object and do not require a private key. Write-type tools still require CLICKS_PRIVATE_KEY. The materials recommend isolating a write-enabled MCP server from public or untrusted clients.
Security boundaries
The materials emphasize that a valid receipt hash only proves object integrity, not delivery or commercial intent. Missing RPC data is treated as unknown, not as evidence that a transaction was not submitted. Only SDK status failed_before_transfer established through independent evidence allows bounded retries.
Applicable scenarios and limitations
Suitable for AI agent or developer workflows that need to inspect settlement receipts, reconcile settlement status, compare policies, and audit local receipt records on Base. Limitations include: read tools depend on complete receipt JSON; the receipt trail tool requires configuring a local ledger path; write operations requirea private key and should run isolated; hash verification is not equivalent to proof of delivery. The materials do not provide installation commands, specific API parameters, fee information, or complete usage examples.