Everything mxcli can do, organized by use case.
Capability Command Notes
List modules LIST MODULESWith marketplace version info
List entities LIST ENTITIES [IN Module]With attribute/association counts
List microflows LIST MICROFLOWS [IN Module]With parameter/activity counts
List pages LIST PAGES [IN Module]With widget counts
List enumerations LIST ENUMERATIONS [IN Module]
List constants LIST CONSTANTS [IN Module]
List workflows LIST WORKFLOWS [IN Module]
List nanoflows LIST NANOFLOWS [IN Module]
List layouts LIST LAYOUTS [IN Module]
List snippets LIST SNIPPETS [IN Module]
Compact overview DESCRIBE STRUCTURE [DEPTH 1|2|3]Tree view of entire project
Describe any document DESCRIBE ENTITY|MICROFLOW|PAGE ...Full MDL output (re-executable)
Full-text search SEARCH 'keyword'Across all strings and source
Show languages LIST LANGUAGESAll languages in the project
Describe app security DESCRIBE APP SECURITYSecurity overview
Show access rules LIST ACCESS ON [ENTITY] Module.NameEntity/microflow/page/nanoflow access
Show settings LIST SETTINGSProject-level settings
Capability Command Status
Create entity CREATE PERSISTENT ENTITYFull support
Create non-persistent entity CREATE NON-PERSISTENT ENTITYFull support
Create view entity (OQL) CREATE VIEW ENTITY ... AS SELECT10.21+
Modify entity ALTER ENTITY ... ADD/MODIFY/DROP ATTRIBUTEFull support
Create association CREATE ASSOCIATION ... FROM ... TOFull support
Create enumeration CREATE ENUMERATIONFull support
Create/modify idempotently CREATE OR MODIFY ENTITYFull support
Capability Command Status
Create microflow CREATE MICROFLOW ... BEGIN ... END60+ activity types
Create nanoflow CREATE NANOFLOW ... BEGIN ... ENDClient-side flows
CRUD operations CREATE, CHANGE, COMMIT, DELETEObject manipulation
Retrieve RETRIEVE ... FROM ... WHEREDatabase/association queries
Control flow IF/THEN/ELSE, LOOP, WHILEIncluding nested
Call flows CALL MICROFLOW, CALL NANOFLOWWith parameters
Show page LIST PAGE Module.Page(...)With page parameters (9.7+)
REST requests SEND REST REQUESTGET/POST/PUT/DELETE
Database queries EXECUTE DATABASE QUERYExternal databases
Log messages LOG INFO|WARNING|ERRORWith templates
Error handling RAISE ERROR, error handlersOn activities
Validation VALIDATION FEEDBACKField-level validation
Capability Command Status
Create page CREATE PAGE ... { widgets }50+ widget types
Create snippet CREATE SNIPPETReusable widget fragments
Modify page ALTER PAGE ... SET/INSERT/DROP/REPLACEIn-place modifications
Built-in widgets TEXTBOX, TEXTAREA, DATEPICKER, etc. All standard widgets
Layout widgets LAYOUTGRID, CONTAINER, GROUPBOX With responsive columns
Display widgets DYNAMICTEXT, IMAGE Including pluggable Image
Data widgets DATAVIEW, LISTVIEW With datasource binding
Pluggable widgets DATAGRID2, GALLERY, COMBOBOX Template-based
Action buttons ACTIONBUTTON Save, cancel, microflow, page
Navigation NAVIGATIONLIST With items and actions
Capability Command Status
Create module roles GRANT ... TO RoleEntity/microflow/page access
Create user roles via security commands Map to module roles
Entity access rules GRANT READ/WRITE ON Entity TO RoleWith XPath constraints
Demo users CREATE DEMO USERFor testing
Capability Command Status
REST clients CREATE CONSUMED REST SERVICEConsumed REST services
OpenAPI import CREATE CONSUMED REST SERVICE (OpenAPI: '...')Generate REST client from an OpenAPI 3.x spec (Swagger 2.0 refused; responses imported as JSON, no entities yet)
Business events CREATE BUSINESS EVENT SERVICEEvent definitions
Database connections CREATE DATABASE CONNECTIONExternal SQL
OData services LIST CONSUMED ODATA SERVICES/SERVICESRead-only browsing
Capability Command Status
Navigation profiles ALTER NAVIGATIONHome pages, menus
Project settings ALTER SETTINGSJava version, theme, etc.
Capability Command Status
Create workflow CREATE WORKFLOWUser tasks, decisions
Parallel splits Supported Fork/join patterns
Capability Command Notes
Cross-references LIST CALLERS/CALLEES OFWho calls what
Impact analysis LIST IMPACT OF Module.EntityWhat breaks if I change this
Transitive callers LIST CALLERS OF ... TRANSITIVEFull call chain
Linting mxcli lint -p app.mpr19 built-in + 31 Starlark rules
Best practices report mxcli report -p app.mprScored report with categories
Missing translations QUAL005 linter rule Detects incomplete translations
Catalog queries SELECT ... FROM CATALOG.tablesSQL over project metadata
Validation mxcli check -p app.mprSyntax + optional mx check
Diff mxcli diff -p app.mpr changes.mdlCompare script vs project
Capability Command Notes
Inline commands mxcli -p app.mpr -c "CMD1; CMD2; CMD3"Semicolon-separated, single connection
Script files mxcli exec script.mdl -p app.mprRun MDL files
Stdin piping echo "CMD" | mxcli -p app.mprQuiet mode, no prompts
Docker build mxcli docker build -p app.mprBuild MDA in container
Docker check mxcli docker check -p app.mprValidate in container
Testing mxcli test tests/ -p app.mpr [--local] [--watch] [--attach].test.mdl / .test.md; --local needs no Docker, --watch keeps the runtime warm (~2s per run), --attach runs against an app already up
SARIF output mxcli lint --format sarifFor CI integration
New project mxcli new <name> --version X.Y.ZCreate project from scratch with all tooling
Init project mxcli initSet up .claude/ with skills
Setup mxcli mxcli setup mxcli [--os linux]Download platform-specific mxcli binary
Platform login mxcli auth loginStore a Mendix PAT for marketplace access
Marketplace browse mxcli marketplace search/info/versionsDiscover content; --min-mendix compatibility filter
Marketplace download mxcli marketplace download <id> [--version X]Fetch a content version’s .mpk to disk
Marketplace install mxcli marketplace install <id> -p app.mprWidget → widgets/; new module → mx module-import; existing module reported, not updated
Marketplace package mxcli marketplace package <Module> -p app.mpr [-o dir]Export a module as a .mpk via mx create-module-package (module’s own libs only; warns about other modules’ files); installs back with install --file
Area Limitation Workaround
Design properties (Atlas v3) Requires Mendix 11.0+ Use CSS classes on 10.x
REST query parameters Requires Mendix 11.0+ Build query string manually on 10.x
Concurrent editing Not supported — a file-based write is refused while Studio Pro has the project open (<project>.mpr.lock present) Close Studio Pro before mxcli writes, or write through it with --mcp; exec --force overrides
Widget template drift CE0463 on version mismatch MPK augmentation handles most cases
Marketplace module update install reports an existing module and does not update itmxcli marketplace diff / update <id> -p app.mpr --to <version> (preserves entity identity and role grants; local edits are refused or saved with --save-edits)
47 of 52 metamodel domains Not yet implemented REST, OData write, etc. pending
See Version Compatibility for detailed per-version feature availability.