Last modified June 21, 2026

'muster create' command reference

muster create creates a resource definition. The aggregator must be running, or --endpoint must point at a remote one.

Usage

muster create <resource-type> <name> [flags]

Resource types

TypeDescription
workflowA Workflow definition
mcpserverAn MCPServer definition: stdio, streamable-http, or sse

Flags

For mcpserver, these flags map to fields on the MCPServer resource:

NameDescription
--typeServer type: stdio, streamable-http, or sse
--commandExecutable for a stdio server
--argsCommand-line arguments for a stdio server
--urlEndpoint URL for a streamable-http or sse server
--tool-prefixPrefix prepended to the server’s tool names
--timeoutConnection timeout in seconds. Defaults to 30
--autoStartStart the server automatically when Muster initializes
--envEnvironment variable, as KEY=VALUE. Repeat for several
--descriptionHuman-readable description

create also accepts the common flags.

Examples

muster create mcpserver my-stdio-server \
  --type=stdio --command=npx --args="@modelcontextprotocol/server-git" --autoStart=true

muster create mcpserver my-http-server \
  --type=streamable-http --url=https://api.example.com/mcp --timeout=30

muster create workflow example-workflow

For the full set of MCPServer and Workflow fields, including authentication and control flow, see custom resources. To author a workflow the code-grounded way, see Author a Muster workflow.