Commands

Dyngle provides several commands for working with operations.

run

Execute a named operation from your configuration.

Syntax

dyngle run <operation-name> [arguments...] [options]

Examples

Basic execution:

dyngle run hello

With arguments (available in the operation as the args array in expressions):

dyngle run greet Alice Bob

With data from stdin:

echo "name: Alice" | dyngle run hello

With a specific config file:

dyngle --config /path/to/.dyngle.yml run deploy

Options

--display <mode>

Control step display behavior:

  • steps (default) - Show each step before executing
  • none - Suppress step display for cleaner output
dyngle run build --display none

See Display Options for more details.

list-operations

List all available public operations with their descriptions.

Syntax

dyngle list-operations

Output Format

The command outputs YAML-formatted list of operations:

operations:
  build: Build the project for production
  test: Run the test suite
  deploy: Deploy to production

Behavior

  • Shows only public operations (not those with access: private)
  • Includes the description: attribute if present
  • Operations without descriptions show empty descriptions

See Access Control for information about public vs private operations.

mcp

Start Dyngle as an MCP (Model Context Protocol) server, exposing operations as tools for AI assistants.

Syntax

dyngle mcp [options]

Transport Options

stdio (default)

Standard input/output transport, suitable for Claude Desktop:

dyngle mcp

http

HTTP transport:

dyngle mcp --transport http --host 127.0.0.1 --port 8000

sse

Server-Sent Events transport:

dyngle mcp --transport sse --host 127.0.0.1 --port 8000

Configuration File

Specify a configuration file for the MCP server:

dyngle --config /path/to/.dyngle.yml mcp

See MCP Server for complete setup and usage information.

Global Options

These options work with any command:

--config <path>

Specify a configuration file:

dyngle --config ./custom.yml run hello

Next Steps