Skip to content

CLI Reference

CommandDescription
rtmx setupComplete RTMX setup (config, RTM, agents, Makefile)
rtmx initMinimal setup (config and RTM database only)
rtmx statusShow completion progress (-v, -vv, -vvv for detail)
rtmx backlogShow prioritized incomplete requirements
rtmx healthRun integration health checks
rtmx configShow or validate configuration
CommandDescription
rtmx serveStart web dashboard with REST API
rtmx tuiLaunch interactive terminal dashboard
CommandDescription
rtmx depsShow dependency graph
rtmx cyclesDetect circular dependencies
rtmx reconcileCheck/fix dependency reciprocity
rtmx analyzeDiscover requirements from project artifacts
rtmx diffCompare RTM versions (for PRs)
CommandDescription
rtmx from-testsScan tests for requirement markers
rtmx bootstrapGenerate RTM from tests, GitHub, or Jira
rtmx syncSynchronize with GitHub Issues or Jira
rtmx installInstall prompts into AI agent configs
rtmx makefileGenerate Makefile targets
rtmx mcp-serverStart MCP server for AI agent integration
rtmx docsGenerate schema and config documentation

Complete project setup with all RTMX features:

rtmx setup # Interactive setup
rtmx setup --branch # Create git branch for review
rtmx setup --pr # Create branch and open PR

Creates:

  • rtmx.yaml configuration
  • docs/rtm_database.csv requirements database
  • docs/requirements/ specification directory
  • Makefile targets
  • AI agent configs (CLAUDE.md, .cursorrules)

Show project progress:

rtmx status # Summary only
rtmx status -v # Category breakdown
rtmx status -vv # Requirement details
rtmx status -vvv # Maximum detail

Show prioritized incomplete requirements:

rtmx backlog # All incomplete
rtmx backlog --phase 1 # Filter by phase
rtmx backlog --blocked # Show only blocked items

Run integration health checks:

rtmx health # Standard output
rtmx health --format ci # CI-friendly output
rtmx health --fix # Auto-fix issues where possible

Analyze dependency relationships:

rtmx deps REQ-AUTH-001 # Show dependencies for a requirement
rtmx deps --all # Show full dependency graph
rtmx deps --critical-path # Show critical path

Synchronize with external services:

rtmx sync github # Sync to GitHub Issues
rtmx sync jira # Sync to Jira
rtmx sync --dry-run # Preview changes without applying

Start web dashboard with REST API:

rtmx serve # Start on localhost:8080
rtmx serve --host 0.0.0.0 # Bind to all interfaces
rtmx serve --port 3000 # Custom port
rtmx serve --reload # Auto-reload on changes

Launch interactive terminal dashboard:

rtmx tui # Start interactive TUI

Requires rtmx[tui] extra: pip install rtmx[tui]

Start MCP server for AI agent integration (stdio transport):

rtmx mcp-server # Start on stdio (for MCP clients)
rtmx mcp-server --daemon # Run as background daemon
rtmx mcp-server --pidfile mcp.pid # Specify PID file for daemon

The MCP server uses JSON-RPC over stdin/stdout. Configure your MCP client (e.g., Claude Desktop) to launch it:

{
"mcpServers": {
"rtmx": {
"command": "rtmx",
"args": ["mcp-server"]
}
}
}

Generate documentation:

rtmx docs schema # Show schema documentation
rtmx docs config # Show configuration documentation
OptionDescription
--config PATHUse specific config file
--database PATHUse specific RTM database
--verbose, -vIncrease verbosity
--quiet, -qDecrease verbosity
--help, -hShow help message
--versionShow version