Iāve been using Claude Code in VS Code to edit my classic appsā code, source control files through Git and then manually copy/paste the edits to the Retool code editor to make the changes. Weāre only on the Team plan, so no Enterprise Git syncing. Wasnāt ideal, but it worked. Still had to manually edit GUI changes though...
Iām testing this workflow with the new React app builder and wanted to get some input to make sure Iām doing this correctly. Iāve got a Claude Max plan, so I want to keep the majority of compute in Claude Code and then push changes to Retoolās MCP to reduce Retool AI credit usage.
Convert my Classic apps to React apps in Retool
Have Claude Code pull files from Retool and setup local directories for Git repo syncing
Feed Claude Code screenshots of the new App Builder and instruct him to perform changes locally
Claude pushes to Retool MCP via retool_submit_prepared_import
This seems to keep the brain power done in Claude Code and then the importing task (minimal tokens) is the only thing that uses Retoolās AI Credits
Claude Code was initially trying to push changes via thread_stream tools but it kept kicking back this error: "This model is not available for your plan." statusCode: 402, provider: anthropic, errorOrigin: retool. Eventually it found āprepared_importā
Get changes to populate in Retoolās App Builder
After I push the import via VS Code, Claude says everything is updated but nothing automatically happens in the Retool App Builder.
I have to click Edit on my app and the chat window has this error prepopulated, with a link towards the bottom to ācontinue import taskā or similar.
Thanks for posting, @nickroz1! This is super relevant to a workstream that we're actively planning. Right now, it's not really possible to minimize Retool credit usage when building, converting, or importing new apps. Even the relevant MCP tools, including retool_submit_prepared_import, hand off work to the Retool agent.
We're scoping out a set of MCP tools that changes this, though, by unlocking direct file upload/modification. I'll keep you in the loop as this develops and let you know if it ever goes live!
As an aside, I think the error you're seeing about the model not being available is unrelated and slated to be fixed in an upcoming release!
Thanks. That error I was getting seems to have resolved it itself and Claude Code is now able to push changes through the MCP to publish them automatically.
There is an issue with old threads getting stuck and not being able to delete them. Iāve got a handful that I seem to be locked out of as theyāre tied to Opus and it spits out an error that itās not part of my plan. If I request a new thread be created on each MCP publish I donāt have any issues.
BTW @nickroz1 , this workflow is going to get a LOT better this week. We are working on a native CLI / way for coding agents (e.g. Claude Code, Codex, etc.) to directly write to the Retool API / filesystem. If youāre interested @Prajya_Sharma can get you in on the beta. This is a lot more robust, and allows you to directly code wherever you want, but just deploy to Retool.
The workflow makes sense for cutting down on Retool credits, and since you mentioned the push now publishes automatically, thatās exactly when the identity question stops being theoretical. When Claude writes through the MCP, every change lands under your own Retool identity and permission scope. So before you scale this across multiple apps or agents, itās worth nailing down which credential the agent is actually pushing with and how youād trace and revoke a bad import if one slips through. A misconfigured push that touches company data is a lot harder to roll back cleanly if you canāt tell whose scope it ran under, and if you ever expose an agent externally, youād want it to have its own revocable access rather than sharing yours. In our own agent tooling, each agent carries its own identity key and a separate revocable token, so killing one agentās access never touches the human operator. That separation is the piece Iād want in place before leaning on this as your daily driver.