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
| Type | Description |
|---|---|
workflow | A Workflow definition |
mcpserver | An MCPServer definition: stdio, streamable-http, or sse |
Flags
For mcpserver, these flags map to fields on the MCPServer resource:
| Name | Description |
|---|---|
--type | Server type: stdio, streamable-http, or sse |
--command | Executable for a stdio server |
--args | Command-line arguments for a stdio server |
--url | Endpoint URL for a streamable-http or sse server |
--tool-prefix | Prefix prepended to the server’s tool names |
--timeout | Connection timeout in seconds. Defaults to 30 |
--autoStart | Start the server automatically when Muster initializes |
--env | Environment variable, as KEY=VALUE. Repeat for several |
--description | Human-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.
Related
- Managing MCP servers - The full
MCPServerworkflow. - Custom resources - The resource schemas.
Need help, got feedback?
We listen to your Slack support channel. You can also reach us at support@giantswarm.io. And of course, we welcome your pull requests!