Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mat

mat is a command-line Matter controller built for scripts and AI agents: a from-scratch, pure-Rust Matter stack that runs in-process and prints exactly one JSON object per command on stdout.

This site is the command and configuration reference. For the project overview, Quickstart, and design background, see the GitHub repository.

  • Commands — every command with its JSON output
  • Configuration — the credential store, aliases.toml, subscriptions.toml
  • Errors and exit codes — error schema, kind table, exit codes, stderr logs
  • Backend — the native backend, interface auto-detection, environment variables
  • Development — build / test tasks, manual E2E