Skip to main content

Overview

The Brickken MCP server exposes the Brickken Dapp API and Agentic API as tools for MCP-compatible AI agents.

MCP

Open the official Brickken MCP page.

Health check

Check hosted server availability.

Connect

Use the hosted endpoint in Claude Code, Codex, or any MCP-compatible client:

Session Configuration

Every MCP session is isolated. Configure credentials at runtime with the configure tool, then use get_config to verify the active environment without exposing secrets.

API-key mode

Use this mode for the Dapp API.

x402 private-key mode

Use this mode for the Agentic API. The private key is used by the MCP server session to sign x402 payments and, in client-signed mode, to sign the prepared blockchain transaction. In brickken-relayed mode the key signs only the x402 payment — Brickken’s relayer signs and broadcasts the operation.
For sandbox:
Only configure a private key in MCP clients and environments you trust. get_config returns booleans such as hasApiKey and hasPrivateKey, never the secret values.

Configuration Tools

Transaction Tools

Dapp API Tools

These tools map to API-key authenticated dapp flows. If a private key is configured, write tools can prepare, sign, and send automatically; otherwise they return prepared transactions for external signing.

x402 Agent Tools

These tools map to ERC-8004 and agent-token methods on Base. Preparing is free; the x402 USDC payment is charged only on send.

Networks

Use chainId: "8453" for Base mainnet and chainId: "84532" for Base Sepolia tests (decimal or hex accepted). On Base Sepolia the x402 asset is Circle USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e (EIP-3009, 6 decimals). Always fund the payer with the exact asset quoted in x402Requirements.

Execution modes

Agentic tools support both modes:
  • brickken-relayed (recommended). Pass executionMode: "brickken-relayed" and omit signerAddress (and agentWallet for agent_create_token). Brickken’s relayer signs and broadcasts; the session only authorizes the x402 payment. Prepare returns a single txId, exactly one transaction, and x402Requirements.
  • client-signed. Provide signerAddress; the session signs the prepared transaction locally before sending.

Example

Configure x402 mode, then register an agent on Base Sepolia in relayed mode:
The agent_register result includes prepared transaction data and, when executed, the send result. Save prepared.info.agentUuid for later agent updates, including agent_transfer_ownership.