mendixlabs/mxcli

129 stars · Last commit 2026-10-11

Mendix cli tool, a headless way to work with Mendix projects. Enables Mendix projects for use with 3rd party agentic coding tools like Claude Code and Copilot. Includes a starlark linter for quality validation.

README preview

# mxcli - Mendix CLI for AI-Assisted Development

> **WARNING: Alpha-quality software.** This project is in early stages and has been largely vibe-engineered with AI coding assistants. Expect bugs, missing features, and rough edges. **mxcli can corrupt your Mendix project files** — always work on a copy or use version control. Use at your own risk. This has been developed and tested against Mendix 11.6, other versions are currently not validated.
>
> **Do not edit a project with mxcli while it is open in Studio Pro.** Studio Pro maintains in-memory caches that cannot be updated externally. Close the project in Studio Pro first, run mxcli, then re-open the project.

A command-line tool that enables AI coding assistants ([Claude Code](https://claude.ai/claude-code), GitHub Copilot, OpenCode, Cursor, Continue.dev, Windsurf, Aider, and others) to read, understand, and modify Mendix application projects.

**[Read the documentation](https://www.mxcli.org/)** | **[Use the bootstrap prompt](https://www.mxcli.org/tools/bootstrap-prompt.html)** -- the fastest way to spin up a Mendix project: paste it into a Claude Code cloud session on an empty repo, no local install needed

[![The mxcli language poster -- click to open the interactive version](docs-site/src/poster/mxcli-poster-small.png)](https://www.mxcli.org/poster/mxcli-language-poster.html)

*Click the poster to open the [interactive version](https://www.mxcli.org/poster/mxcli-language-poster.html).*

## Why mxcli?

Mendix projects are stored in binary `.mpr` files that AI agents can't read directly. `mxcli` bridges this gap by providing:

- **MDL (Mendix Definition Language)** - A SQL-like syntax for querying and modifying Mendix models
- **Multi-tool support** - Works with Claude Code, GitHub Copilot, OpenCode, Cursor, Continue.dev, Windsurf, Aider, and more

View full repository on GitHub →