Quickstart: build with your agent
Connect your AI agent once, describe the app in a few lines, and get a working app with its own database, sign-in, access rules per role and a dev link, tested as each of your users. Then ship it to production when verify passes.
What you need
- An Appbricx account. Sign up.
- An MCP client: Claude Code, Claude (claude.ai or Desktop), Cursor, Codex, VS Code or any other.
1. Connect your agent
There is no token to copy. You add the server, and the first time the client connects it opens a browser window: sign in to Appbricx, pick the workspace and what the agent may do (read, apply, deploy), and click Authorize. The server URL is the same for every client:
https://appbricx.com/api/mcpClaude Code
claude mcp add --transport http appbricx https://appbricx.com/api/mcp
# add --scope user to use it in every projectThen run /mcp, pick appbricx and choose Authenticate. The Claude Code plugin adds the server and a skill that teaches Claude the build loop:
/plugin marketplace add Naveenbhargav-m/appbricx-examples
/plugin install appbricx@appbricxClaude (claude.ai and Claude Desktop)
Open Settings, Connectors, Add custom connector, paste https://appbricx.com/api/mcp as the server URL and save. Choose Connect and authorize in the window that opens. You can also add Appbricx from its listing in Claude's connectors directory. Claude has no shell, and doesn't need one: every step below is a tool.
Cursor
Add to Cursor, or put this in .cursor/mcp.json:
{
"mcpServers": {
"appbricx": { "url": "https://appbricx.com/api/mcp" }
}
}Codex
In ~/.codex/config.toml, then sign in:
[mcp_servers.appbricx]
url = "https://appbricx.com/api/mcp"
# then, in a terminal
codex mcp login appbricxOther clients
- VS Code: Add to VS Code, or
.vscode/mcp.json:{"servers":{"appbricx":{"type":"http","url":"https://appbricx.com/api/mcp"}}} - Windsurf (
serverUrl) and Gemini CLI (httpUrl): the same URL. - A client that can't open a browser (CI, a remote box) sends a personal access token as
Authorization: Bearer apx_pat_…. See access tokens.
2. Ask for your first app
Say who uses the app and what each of them may see and do:
Use appbricx. Create a project called "Field Desk": dispatchers create
jobs at customer sites and assign them to technicians; technicians see
and update only the jobs assigned to them. Email the technician when a
job is assigned. Seed two technicians, two sites and a few jobs.
Apply it, try it as each role, take screenshots and run verify until it
passes. Don't deploy yet.To start from a working app instead, ask for a template: the agent finds one with search_templates and starts the project with use_template, for example the code-first starter team-outings. See templates.
3. Watch the loop
Your agent works in a loop of small, checked steps. Each one answers with exact feedback (an error at its file and line, a refused request with the policy that refused it), so it fixes things in a few rounds instead of guessing.
- Read the guide.
get_guidestarts with the project layout;search_docsfinds anything else. - Create the project.
create_project, oruse_templatefor a starter. - Write the code.
codecreates and edits each part by what it is: a route by its URL, an action, a workflow, a table, an access policy, a template.packagesadds npm packages andassetsuploads images. Withthen: "check"every write comes back with the type check and lint. - Apply to dev.
apply_contractmigrates the dev database (rows kept), builds the pages and arms the workflows. The answer lists a demo sign-in per role. - Try it as each user.
call_appcalls the running app as a visitor or any role: a data read, an action, a page's HTML.screenshotopens a page in a real browser and can click and type.workflowswithdry_runruns a workflow once and lists every email and write it would make, sending nothing.explainsays why a request was refused. - Verify.
verifysigns in as every role and tries every table, page and action. Each failure comes with evidence and a fix. - Deploy.
deploywithdry_run: trueshows the plan; without it, production is snapshotted, migrated and switched over.deploysrolls back.
For many steps at once the agent can use run_script: one TypeScript script that calls the tools in loops and in parallel, and answers only what it returns. Deploys, rollbacks and production writes inside a script need to be allowed by name.
4. Try it yourself
Open the dev link from the apply answer (https://dev-field-desk.apps.appbricx.com) and sign in as each demo role. What you change in the app writes to the dev database only.
5. Go live
Ask: "Show me the deploy plan for field-desk, then deploy." The agent runs deploy with a subdomain; the release is rehearsed on a copy of production and verified there first, and the app goes live at https://field-desk.apps.appbricx.com. If a later release goes wrong, "roll back to the previous release" is one call.
Keep control of your agent
- Every agent you authorize is listed in Workspace settings, Coding agents, with when it was last used and a Revoke button.
- Give an agent only
readandapplyif you want to deploy yourself. A workspace viewer's agent can only read. - Pin a project with
?project=<id>on the server URL: the agent can't touch your other apps, and it sees that project's real table and role names. - Every write an agent makes is in the audit log, with the token that made it.
Gotchas
- "Skipped" is not "pass". If verify skips a check, the release is unverified.
- Ask for screenshots. Agents fix far more when they look at the pages they wrote.
- Dev email stays in the outbox. In dev, mail to anyone but the project's owners and admins is kept (
tailwith kindemails), not sent.