r/BricksBuilder • • Oct 31 '26

Bricks MCP: bricks_code_sensitive_write_forbidden when saving linked components. Permissions or signing?

Has anyone run into this when building pages through Bricks MCP?

I’m using Bricks 2.4.4 with MCP Adapter 0.7.1. The connection authenticates as an administrator, reads work, and creating a page and saving its CSS both succeed.

Saving the native page content fails with:
bricks_code_sensitive_write_forbidden
failed_before_commit

Readback confirms that no elements were saved.

The page reuses existing linked components, some containing signed executable Code elements. Removing inline JavaScript from the page payload produces the same error, but that doesn’t rule out code within those components.

The account has assigned unfiltered_html, editing and Bricks code-execution capabilities. The relevant MCP abilities are enabled, although we haven’t verified the effective permissions during the save request.

The error doesn’t identify the offending element, field or missing capability. I’d rather find the cause than detach components or loosen security settings.

I contacted Bricks support yesterday. Has anyone encountered this, or found a way to get more detailed diagnostics? Is there a particular permission or signing check involved when reusing components through MCP?

6 Upvotes

6 comments sorted by

1

u/webmyc Nov 03 '26

From what you describe I'd look at the components before permissions. Bricks checks the code signature on every Code element in the payload, and that includes the ones inside the linked components you reuse. If any were signed under a different user, site URL or salt (a migration or a staging copy is enough), the whole save gets refused before commit, even with unfiltered_html.

Two quick tests: save a copy of the page with one component removed at a time and see which one trips it, then regenerate the code signatures under Bricks > Settings > Custom code and try again. If it passes after that, it's the signatures and not the MCP layer.

-5

u/jelery_celery Oct 31 '26

Why use Bricks and AI? Like just use an AI specific platform like Framer. Or do it yourself with Bricks. I dont get the use case for mixing the two?

6

u/DoOrDoNotBot Oct 31 '26

It builds it much faster than I can from Figma.

0

u/jelery_celery Oct 31 '26

Im not bashing, I'm truly intrigued. I build client sites all the time and use bricks. If I can automate it I am all in. What is your process? Does it create classes and use proper bricks practices?

1

u/k4znIm Oct 31 '26

you can dm there is a lot you can automate with AI and bricks

2

u/eben89 Oct 31 '26

Because framer is hosting company with a basic website builder that don’t do a lot of things like shopping carts and other functionality.

What people don’t realise is heaps of these types of companies are in a user base building phase for market share. Once they decide they have enough they will start the greed squeeze and raise prices especially hosting and you can’t just migrate a framer site. They lock you in.