The crxative CLI: AI on your own FiveM server
Install the Crxative-M CLI on your VPS and fix, create and audit scripts from the terminal, with an AI that knows ESX, QBCore, Qbox and ox.
The problem
You want to use the AI directly on your server (read your scripts, fix them, audit them and watch the console), not just on the web.
The cause
With the crxative CLI the agent runs on YOUR machine/VPS and talks to the Crxative-M AI. You decide what it touches: by default it proposes and asks for confirmation.
The solution
Create a token in your panel and connect it to the CLI (Node 18+):
bash
# 1) On crxative-m.vercel.app/dashboard → Agentic mode → Create token
# 2) On your server:
npm install -g crxative # or: node cli/index.js <command>
crxative login # paste your crx_... token
crxative whoami # check connection and quota
# Use it:
crxative ask "how do I give money to the bank in qbcore"
crxative fix server.lua --framework qbcore --apply
crxative audit ./resources/sospechoso
crxative create "a fisherman job" --framework qbcore --out ./pesca_job
crxative watch --log /path/to/fxserver.logStep by step
- 1.Create an API token in /dashboard (Agentic mode section). It's shown only once.
- 2.Install the CLI (Node 18+) and run `crxative login` with that token.
- 3.`fix` without --apply only proposes; with --apply it rewrites the file and leaves a .bak copy.
- 4.`watch` follows the server console and auto-diagnoses errors as soon as they appear.
- 5.Your token is secret: if it leaks, revoke it in /dashboard.
Related guides
Last updated: 2026-06-19. Crxative-M is not affiliated with Cfx.re or Rockstar Games.
