mcp-server
v1.0.3Agent commerce settlement tools on Base: treasury setup, payment splits, yield and attribution.
Values you need
| Variable | What it is | |
|---|---|---|
CLICKS_PRIVATE_KEY | optional secret | Private key for write operations (register, deposit, withdraw). Not needed for read-only tools. |
CLICKS_RPC_URL | optional | Base RPC URL. Defaults to https://mainnet.base.org |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-server -- npx -y --package=@clicks-protocol/mcp-server@0.3.2 clicks-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@clicks-protocol/mcp-server@0.3.2",
"clicks-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@clicks-protocol/mcp-server@0.3.2",
"clicks-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-server": {
"args": [
"-y",
"--package=@clicks-protocol/mcp-server@0.3.2",
"clicks-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@clicks-protocol/mcp-server@0.3.2", "clicks-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: clicks_get_agent_info, clicks_simulate_split, clicks_get_yield_info, clicks_get_referral_stats, clicks_quick_start, clicks_register_referral, clicks_receive_payment, clicks_withdraw_yield, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json