Last modified June 21, 2026

Muster CLI and resource reference

muster is the command-line interface for Muster, the MCP gateway that gives AI agents unified, secure access to your fleet. This section documents the CLI commands, the meta-tools Muster exposes to agents, and the custom resources you author to extend it.

For a conceptual overview, start with AI agents on the platform. To connect your IDE, follow Set up your AI agent.

Reference pages

PageDescription
Meta-toolsThe meta-tools Muster exposes to agents, plus the core_* tool catalog
Custom resourcesThe MCPServer and Workflow schemas

CLI commands

CommandDescription
serveStart the aggregator server
standaloneRun the aggregator and agent in one process
agentConnect to the aggregator as a client, or bridge it over stdio
contextManage named endpoint contexts
authAuthenticate to a remote aggregator
listList resources
getGet details for one resource
createCreate a workflow or MCP server definition
callCall an MCP tool by name
startStart a service or run a workflow
stopStop a service
checkCheck that a resource is available
eventsList resource events
versionPrint CLI and server version
self-updateUpdate the CLI from GitHub

Common flags

The client commands that talk to a running aggregator (list, get, create, call, start, stop, check, events) share these flags:

NameDescription
--output, -oOutput format: table (default), wide, json, or yaml
--no-headersSuppress the header row in table output
--quiet, -qSuppress non-essential output
--debugEnable debug logging, showing MCP protocol messages
--config-pathConfiguration directory. Defaults to ~/.config/muster
--endpointRemote aggregator endpoint URL. Reads MUSTER_ENDPOINT when unset
--contextUse a named context. Reads MUSTER_CONTEXT when unset
--authAuthentication mode: auto (default), prompt, or none. Reads MUSTER_AUTH_MODE when unset

Most of these commands need a running aggregator. Start one with muster serve, or point --endpoint at a remote one.

Configuration

Muster reads its configuration from ~/.config/muster by default. Override the directory with --config-path:

~/.config/muster/
├── config.yaml      # aggregator port, host, transport, namespace
├── mcpservers/      # MCPServer definitions
└── workflows/       # Workflow definitions

In Kubernetes mode, Muster reads MCPServer and Workflow custom resources from the cluster instead. See Deploy Muster.

Contributing

See the GitHub project for source code, issues, and pull requests.