Skip to main content

Overview

The Brickken MCP server exposes the Brickken Dapp API and Agentic API as 63 tools for MCP-compatible AI agents. It is the client to reach for when an AI agent should drive the full Dapp API with nothing but an API key, including KYC link creation. If your own code is driving rather than an agent, use the SDK. See Choose your surface.

MCP server page

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. Note the /mcp path — the bare host serves an HTML landing page, not the MCP endpoint:

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.
A session is either API-key mode or x402 mode, never both. When an API key is configured the server attaches x-api-key to every outbound request and never falls back to the payment handshake. Set "apiKey": "" to force x402.

API-key mode

Use this mode for the Dapp API. An API key alone unlocks every Dapp tool listed below — KYC, tokenization, STOs, security-token operations, and all reads.

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 to sign the prepared blockchain transaction.
For sandbox:
A custom baseUrl overrides the selected environment when needed. An internal forge environment exists for Brickken pre-release QA — contact tech@brickken.com for its base URL.
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.The hosted /mcp endpoint has no inbound authentication — anyone can connect, and every credential is supplied by the client per session. Nothing you configure is persisted server-side beyond the life of your session.

Configuration Tools

BKN Faucet Tool

request_bkn_faucet requests 100 BKN on Ethereum Sepolia in Sandbox or Forge. Pass recipientAddress and optionally idempotencyKey as UUID v4. The tool generates and returns a UUID when omitted; use a new UUID for a new claim and the same UUID for a retry of that claim. Configure exactly one credential. An API key has 10 dedicated lifetime faucet claims, separate from mintToken; private-key mode pays 0.01 USDC through x402. Recipients have a 24-hour cooldown. The public bearer/reCAPTCHA flow is not exposed.

Transaction Tools

Dapp API Tools

These tools map to API-key authenticated dapp flows and are the legacy Dapp API, reachable from an AI agent with nothing but an API key. If a private key is also configured, write tools can prepare, sign, and send automatically; otherwise they return prepared transactions for external signing. The signer wallet must be whitelisted by Brickken before a write is accepted, and your key can only act on token symbols it tokenized. See Authentication.
create_kyc_link can create an investor account and send an invitation email. Treat its returned Sumsub URL as sensitive.

x402 Agent Tools

These tools map to ERC-8004 and agent-token methods on Base. Relayed preparation is free; client-controlled modes split the x402 USDC payment between prepare and send. RAMS reads and typed-data fetches use the session’s API key when one is set, and fall back to x402 when it is not. rams_get_typed_data auto-signs when the session has a private key matching the principal; otherwise it returns the envelope with a warning for external signing. Pass the result’s signature and deadline to the matching lifecycle tool. The three agent getters follow the same API-key-or-x402 rule and cost 0.000001 USDC per x402 call. In x402 mode, get_agents requires chainId and ownerWalletAddress, and the payment signer must match that owner. Detail and transaction reads accept agentUuid, or agentId together with chainId; x402 payment is checked against the stored owner wallet.

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 client-controlled modes:
  • client-signed (default). Provide signerAddress; the session signs the prepared transaction locally, and Brickken broadcasts it.
  • client-broadcast. The session signs and broadcasts the transaction itself, then confirms it with txHash.
Either way the operation price is split evenly between prepare and send. See Pricing.
If you would rather not hold an EOA or native gas at all, see Base MCP, where the wallet only authorizes the payment and Brickken carries the signing and the gas.

Example

Configure x402 mode, then register an agent on Base Sepolia:
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.