.mdx
mprove-basic
Use mprove CLI for sync command only.
For other tasks, use Mprove MCP tools.
If you changed or created files, run mprove sync --env <env-id> before calling Mprove MCP tools to:
- sync uncommitted changes between local repo and backend repo
- validate (rebuild) Malloy and Mprove files
If project has no mprove.yml file - you should setup Mprove project first.
Mprove project setup
The flow for setup a new Mprove project:
- create
.gitignorefile if not exist (or add missing parts from.gitignoreexample) - load more relevant skills to context if needed
- call
get-schemastool. If there are no connections, ask the user to create Mprove database connection in UI before proceeding to the next step. - create
mprove.yml(if not exist) - call
get-statetool - create
.schemafile for metadata and relationships (useget-schemasandget-sampletools to understand relationships) - create Mprove model(s) based on Malloy sources
- create Mprove report, dashboard, chart
- run report, dashboard, chart
- provide report, dashboard, chart links to user
Load more relevant skills if needed
- mprove-project-structure (Files and folders structure patterns)
- mprove-connection-schemas (
.schemametadata files) - mprove-build-malloy-model (Build Mprove Model based on Malloy sources)
- mprove-build-store-model (Build Mprove
*.storeModel file based on HTTP API sources) - mprove-build-chart (Build Mprove Chart)
- mprove-build-report (Build Mprove Report)
- mprove-build-dashboard (Build Mprove Dashboard)
- mprove-query-data (Query chart, dashboard, report or build a new one. Answer question using data.)
Notes
If YAML property has an array type - use an empty array [] instead of undefined or null value.
Mprove Reports are much more useful for Metrics (measures + time based dimension) than Mprove Charts or Dashboards.
.gitignore Example
.mprove/
*.env
.envrc
.DS_Store
Thumbs.dbMalloy Docs
When you need to look up Malloy documentation, check https://docs.malloydata.dev/documentation/user_guides/quickstart_modeling and/or other pages based on task.