A ready-to-use Mendix project for exploring mxcli -- a command-line tool for reading and modifying Mendix apps using MDL (Mendix Definition Language).
- Click "Open in GitHub Codespaces" above (or clone locally with mxcli installed)
- Wait for the environment to set up (~2 minutes on first launch)
- Start using mxcli:
# Explore the project
mxcli -p App.mpr -c "SHOW STRUCTURE"
mxcli -p App.mpr -c "SHOW ENTITIES IN MyFirstModule"
# Run an example script
mxcli exec scripts/01-explore.mdl -p App.mpr
# Start interactive REPL
mxcli
# Then: CONNECT LOCAL 'App.mpr';A Mendix 11.x blank project (App.mpr) with the standard template modules, ready for you to build on.
| Script | Description |
|---|---|
scripts/01-explore.mdl |
Explore project structure, list modules and entities |
scripts/02-create-entity.mdl |
Create entities with attributes and associations |
scripts/03-create-microflow.mdl |
Build microflows with activities and logic |
scripts/04-create-page.mdl |
Create pages with widgets and data views |
scripts/05-security.mdl |
Configure security roles and access rules |
Run any script with:
mxcli exec scripts/02-create-entity.mdl -p App.mprStep-by-step guides in the tutorials/ folder:
- Getting Started -- First steps with mxcli
- Domain Modeling -- Building a domain model
- CRUD Pages -- Creating overview and edit pages
- Microflow Logic -- Writing business logic
- Linting & Testing -- Quality checks
This project is pre-configured for AI-assisted development:
| Tool | Configuration |
|---|---|
| Claude Code | .claude/ commands + CLAUDE.md |
| Cursor | .cursorrules |
| Windsurf | .windsurfrules |
| Continue.dev | .continue/config.json |
| Aider | .aider.conf.yml |
Skills and patterns are in .ai-context/skills/ and referenced from AGENTS.md.
If using Claude Code, these commands are available:
| Command | Description |
|---|---|
/explore |
Explore project structure |
/create-entity |
Guided entity creation |
/create-crud |
Generate CRUD pages |
/lint |
Run project linting |
/check-script |
Validate MDL syntax |
/validate-project |
Run Mendix validation (mx check) |
After modifying the project, validate it:
# Check MDL script syntax
mxcli check script.mdl
# Check with reference validation
mxcli check script.mdl -p App.mpr --references
# Run Mendix validation (same checks as Studio Pro)
~/.mxcli/mxbuild/*/modeler/mx check App.mpr| Component | Version | Updated |
|---|---|---|
| Mendix | See .mendix-version |
Automatically tracked weekly |
| mxcli | See .mxcli-version |
Updated on each mxcli release |
Both are kept up to date via automated GitHub Actions workflows.