Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 2.28 KB

File metadata and controls

53 lines (43 loc) · 2.28 KB

CLI Reference

Back to README

mimir (server package: mimir-context-server)

mimir init                  Create a mimir.toml config file
mimir indexer run           Build and publish an index version
mimir indexer sync <repo>   Mirror one repo and publish a refreshed version
mimir indexer enqueue KIND  Queue a durable index job: full, incremental, sync
mimir indexer worker        Process durable index jobs
mimir query search "query"  Search the active published index
mimir query status          Show active index version and graph counts
mimir query serve --http    Start the query-only HTTP server
mimir query serve --remote  Proxy local MCP stdio to a remote query server
mimir query ui              Launch the read-only web inspector
mimir guardrail check       Validate a diff against architectural rules
mimir guardrail init        Generate example rules + agent policy files
mimir guardrail test        Dry-run: validate rule syntax against current graph
mimir guardrail approve <rule-ids...> --reason "..."
                            Create an empty commit carrying a Mimir-Approved
                            trailer on HEAD to clear matching BLOCK violations
mimir workspace             Manage named workspaces

Indexer flags:
  --clean                   Force a full re-index (wipes existing data)
  --mode MODE               Summary mode: none, heuristic
  --commit-sha SHA          Specific commit for repo sync

Query serve modes:
  --http                    Shared HTTP server (team access)
  --http-port PORT          HTTP port (default: 8421)
  --http-host HOST          HTTP bind address (default: 0.0.0.0)
  --remote / -r URL         Proxy to a remote Mimir HTTP server

Global flags:
  --workspace / -w NAME     Use a named workspace from the registry
  --config    / -c PATH     Path to mimir.toml (default: ./mimir.toml)
  --verbose   / -v          Enable debug logging

mimir-client (client package: mimir-server-client)

mimir-client serve <URL>    Start local MCP proxy to a remote Mimir server
mimir-client health <URL>   Check if a remote Mimir server is reachable

Flags:
  --verbose / -v            Enable debug logging

The client package has only 2 dependencies (aiohttp, typer) and does not require Python 3.11 — it works with Python 3.10+.