Skip to main content
The REST API, the SDK, the CLI, the MCP server, and the Skill all talk to the same backend at api.brickken.com. They differ in who is driving and which credential they carry.

Start from what you already have

The five surfaces

REST API

Plain HTTP. Everything the platform can do. API key for the Dapp API, x402 or API key for agentic methods.

SDK

brickken-sdk on npm. Typed TypeScript client for the Dapp API, the Agentic API, and RAMS, in your own process.

MCP server

Hosted at https://mcp.brickken.com/mcp. The client to use when an AI agent should drive the full Dapp API with just an API key.

CLI

brickken-cli on npm. Agentic and RAMS workflows from your terminal. Does not reach the Dapp API.

Skill

Brickken knowledge for AI coding agents, with or without the CLI installed.

What each surface can reach

The CLI cannot call the legacy Dapp API. Two independent reasons: it has no commands or method mappers for the Dapp methods, and it attaches x-api-key only to RAMS reads and typed-data fetches. brickken tx prepare --method newTokenization forwards the method name, but the backend answers API key is required for this method.For Dapp API work, use the SDK if you write TypeScript, MCP if an agent is driving, or plain HTTP otherwise.

SDK or MCP for the Dapp API?

Both reach the full Dapp API with nothing but an API key. The difference is who is holding the credential:
  • SDK — your code holds the key, and every call is typed and testable. Illegal credential combinations fail locally, before a request leaves your process.
  • MCP — a hosted endpoint holds nothing; each session supplies its own credentials, and an AI agent picks the tools. Right when the driver is an agent rather than a program you wrote.

Same backend, same rules

Whichever surface you pick, the mechanics are identical: writes are prepared into unsigned transactions, signed, then sent; preparing a relayed agentic operation is free and only the send costs anything; and your private key never leaves your machine. The surface changes the ergonomics, not the semantics — you can prepare with the CLI and send with curl.

Authentication

The credential matrix in full.

Quickstart

A first call on each surface.