Configuration
MCMR reads [tool.mcmr] from pyproject.toml. Missing configuration uses safe local defaults.
[tool.mcmr]select = ["*"]ignore = []
[tool.mcmr.scan]suffixes = []select and ignore accept identifiers, prefixes, globs, or callable substrings. suffixes adds
source extensions to discovery.
Execution and rule policy
Section titled “Execution and rule policy”[tool.mcmr.execution]deterministic = truecontextual = falseexternal = falseCommand flags override these values for one run. Control rules explains selection patterns, lane toggles, exclusions, typed settings, and policy overrides.
Contextual models
Section titled “Contextual models”[tool.mcmr.contextual]backend = "openrouter"model = "deepseek/deepseek-v4-flash-0731"reasoning_effort = "medium"timeout_seconds = 180minimum_confidence = 0.6batch_size = 32prompt_token_budget = 128000max_output_tokens = 32000Other fields include binary and model_path. Supported backends are gliner2, codex, claude,
and openrouter. Start with Set up contextual rules, then use
Contextual tuning for request and token limits.
Providers
Section titled “Providers”[tool.mcmr.providers.datahub]server = "http://localhost:8080"max_assets = 500publish_runs = falseEach provider validates its own settings. The DataHub provider can also read DATAHUB_GMS_URL and
DATAHUB_GMS_TOKEN. A recorded directory replaces the live server for offline examples.