Skip to content

Add Brickken Base MCP plugin#86

Open
MethosPi wants to merge 4 commits into
base:masterfrom
MethosPi:brickken-base-mcp-plugin
Open

Add Brickken Base MCP plugin#86
MethosPi wants to merge 4 commits into
base:masterfrom
MethosPi:brickken-base-mcp-plugin

Conversation

@MethosPi

@MethosPi MethosPi commented Jun 8, 2026

Copy link
Copy Markdown

Adds a native Base MCP plugin for Brickken ERC-8004 agent identity, reputation, and agent-owned ERC-20 operations.

The plugin supports:

  • Path A: Brickken prepares unsigned calldata, Base MCP submits via send_calls when x402 settlement from the Base Account succeeds.
  • Path B: Brickken CLI/MCP self-submits when configured with an EOA key.
  • Mainnet x402 cost disclosure, native gas requirements, and sandbox caveats.

Also registers Brickken in the Base MCP native plugins table.

Validation:

  • Checked against skills/base-mcp/references/plugin-spec.md required frontmatter and canonical headings.
  • Ran git diff --check.

@cb-heimdall

cb-heimdall commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@MethosPi MethosPi marked this pull request as ready for review June 8, 2026 15:32
@youssefea

Copy link
Copy Markdown
Collaborator

After discussing with the team, I think it's best to remove the path where unsigned calldata is served using x402. It's too painful as a UX to have that. Either remove APIs all together and leave MCP/CLI access only, or open endpoints for anyone looking to get calldata.

Comment thread skills/base-mcp/SKILL.md

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove from SKILL.md, we'll add it later

Comment thread skills/base-mcp/plugins/brickken.md Outdated

Three routes reach Brickken; install only what your surface uses.

**HTTP API (no install).** Build calldata by POSTing to the Brickken API — host `api.brickken.com` (production) or `api.sandbox.brickken.com` (sandbox) must be on the Base MCP `web_request` allowlist for chat-only surfaces. On harnesses with a direct HTTP tool, no allowlist is needed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the http API support all actions? If yes, it should be the only path here for ease

Comment thread skills/base-mcp/plugins/brickken.md Outdated
Brickken puts the **ERC-8004** agent stack onchain: a registry for **agent identity**, a registry for **reputation/feedback**, and an **agent-owned ERC-20** factory for launching and managing agent tokens. This plugin covers those agent methods on Base. Brickken does not execute through one fixed route — it **builds the unsigned calldata** for each action, and you choose how it lands onchain:

- **Path A — Base Account via `send_calls`.** Brickken builds the calldata for free; the user's Base Account signs and broadcasts it through `send_calls`. No Brickken fee — only Base gas. Submission tool: **`send_calls`**.
- **Path B — Brickken self-executes (key-based).** The `brickken` CLI (or the Brickken MCP with a `privateKey`) signs with a local EOA key and broadcasts through Brickken's backend, paying the x402 **send** fee. Submission tool: **`none`**.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want this path. Please remove it. Keep only the path of unsigned calldata. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants