Last modified June 21, 2026

'muster context' command reference

muster context manages named contexts. Each context points at a Muster endpoint, so you can switch between a local aggregator and one or more remote management clusters without retyping URLs. Running muster context with no subcommand lists the contexts.

Usage

muster context [subcommand]

Subcommands

SubcommandAliasesDescription
listlsList all configured contexts
currentShow the name of the active context
use <name>switchSwitch the active context
add <name> --endpoint <url>Add a new context
update <name> --endpoint <url>setChange an existing context’s endpoint
rename <old-name> <new-name>Rename a context
show <name>describe, getShow details for one context
delete <name>rm, removeDelete a context

Flags

SubcommandNameDescription
add--endpointEndpoint URL for the context (required)
add--useSet as the active context after adding
update--endpointNew endpoint URL (required)
show--output, -oOutput format: text (default), json, or yaml
delete--force, -fSkip the confirmation prompt
(all)--quiet, -qSuppress non-essential output

Examples

Add a context for a remote management cluster and make it active:

muster context add prod \
  --endpoint https://muster.<management-cluster>.<base-domain>/mcp --use

Switch back to a local aggregator:

muster context use local
  • muster auth - Authenticate to the endpoint behind a context.