clicksprotocol
MCP server for verifying and inspecting agent commerce settlements on Base
clicksprotocol is an open-source MCP server for agent payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 1.0.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server --env CLICKS_PRIVATE_KEY='<CLICKS_PRIVATE_KEY>' -- npx -y @clicks-protocol/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@clicks-protocol/mcp-server"
],
"env": {
"CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@clicks-protocol/mcp-server"
],
"env": {
"CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@clicks-protocol/mcp-server"
],
"env": {
"CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@clicks-protocol/mcp-server"
],
"env": {
"CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server --env CLICKS_PRIVATE_KEY='<CLICKS_PRIVATE_KEY>' -- npx -y @clicks-protocol/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@clicks-protocol/mcp-server"]
env = { CLICKS_PRIVATE_KEY = "<CLICKS_PRIVATE_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@clicks-protocol/mcp-server"
],
"env": {
"CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Or run: gemini mcp add -s user -e CLICKS_PRIVATE_KEY='<CLICKS_PRIVATE_KEY>' mcp-server npx -- -y @clicks-protocol/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@clicks-protocol/mcp-server" ], "env": { "CLICKS_PRIVATE_KEY": "<CLICKS_PRIVATE_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CLICKS_PRIVATE_KEYPrivate key for write operations (register, deposit, withdraw). Not needed for read-only tools.CLICKS_RPC_URLBase RPC URL. Defaults to https://mainnet.base.org
About clicksprotocol
This server gives AI clients a set of tools for checking agent payment settlements on the Base network. Receipts can be checked for internal integrity, settlement state can be read from chain evidence, and a local ledger can be searched for earlier versions of a receipt's history.
Most tools are read-only and accept a receipt JSON object directly, so they need no wallet. Write operations such as registering, depositing and withdrawing require a private key supplied through an environment variable, and the README advises keeping such write-enabled instances away from public or untrusted clients. The registry entry also describes treasury setup, payment splits, yield and attribution, which are not detailed in the README.
It suits developers building agent-to-agent commerce on Base who need to audit or debug settlement flows before trusting a payment outcome.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 5 tools read data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- clicks_verify_receipt
- Verifies deterministic Receipt V2 integrity.
- clicks_get_settlement_statusName suggests: reads
- Reads state, witnesses and retry policy.
- clicks_reconcile_settlement
- Reads Base evidence and proposes a fail-closed state. 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_trailName suggests: reads
- Reads matching versions from a configured local append-only ledger.
What it does
- Receipt integrity verification
- Checks that a Receipt V2 object is internally consistent by verifying its deterministic hash.
- Settlement status reads
- Reports a settlement's state, witnesses and retry policy.
- On-chain reconciliation
- Compares Base chain evidence with a receipt and proposes a fail-closed state without submitting transactions.
- Policy hash replay
- Checks whether an exact policy definition matches the policy hash bound to a receipt.
- Local receipt trail
- Reads matching receipt versions from a configured append-only local ledger.
Good for
- Auditing whether an agent payment settled as expected on Base
- Debugging failed or unclear settlement flows without risking a retry
- Confirming a receipt's policy matches the terms it claims to enforce
- Reviewing the version history of a receipt from a local ledger
Pricing
Open source
clicksprotocol FAQ
Does the server need a private key to run?
No. Read-only Receipt V2 tools work without one. Only write tools such as register, deposit and withdraw require CLICKS_PRIVATE_KEY.
Can the server retry or submit transactions?
The reconciliation tool never submits or retries a transaction. A bounded retry is only permitted for the failed_before_transfer state when established with independent evidence.
Which network does clicksprotocol use?
It targets Base. The RPC URL defaults to https://mainnet.base.org and can be changed with CLICKS_RPC_URL.
Is clicksprotocol free?
Yes. clicksprotocol is open source, so you can use and self-host it for free.
How do I add clicksprotocol to Claude Code?
Run this command in your terminal: claude mcp add mcp-server --env CLICKS_PRIVATE_KEY='<CLICKS_PRIVATE_KEY>' -- npx -y @clicks-protocol/mcp-server
What are the best alternatives to clicksprotocol?
The closest alternatives to clicksprotocol are Agent Transaction Trust, Payagent MCP, Coreguard Agent Commerce, Check Before You Pay and Clawpay.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.