config
Initialize MRC_HOME for the remote control server, then create and manage profiles, secrets, and settings for local, SSH, or WinRM hosts.
Instructions
Self-configure MRC_HOME for the agent (no hand-edited files required). op=home|ensure_home|get|list_profiles|get_profile|put_profile|delete_profile|put_secret|list_secrets. ensure_home creates profiles/secrets/logs/state + default config.toml. put_secret name= content= writes secrets/ (body never returned). put_profile name= transport=local|ssh|winrm with host/username/port/auth(JSON object of paths only)/ssh/winrm/defaults/caps. Then endpoint open profile=.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | home | |
| ssh | No | ||
| auth | No | ||
| body | No | ||
| caps | No | ||
| host | No | ||
| name | No | ||
| port | No | ||
| label | No | ||
| winrm | No | ||
| content | No | ||
| defaults | No | ||
| username | No | ||
| transport | No |