Complete reference for the Kubiya CLI - Enterprise automation from the command line
Option | Description |
---|---|
--help, -h | Show help message |
--version | Show version information |
--config | Custom config file path |
--api-key | Override API key |
--api-url | Override API endpoint |
--output, -o
: Output format (text
, json
, yaml
)--limit
: Maximum number of results (default: 50)--source
: Filter by source UUID--output, -o
: Output format (text
, json
, yaml
)--name
: Tool name (required)--runner
: Runner to use (auto
, default
, or specific runner)--content
: Tool content/script--type
: Tool type (docker
, python
, bash
, etc.)--image
: Docker image--args
: Tool arguments in KEY=VALUE
format--env
: Environment variables in KEY=VALUE
format--integration
: Integration templates to apply--with-file
: File mappings in source:destination
format--with-volume
: Volume mappings--timeout
: Execution timeout in seconds--skip-policy-check
: Skip policy validation--json
: Tool definition as JSON--json-file
: Tool definition from JSON file--output, -o
: Output format--health
: Filter by health status--name
: Runner name (required)--type
: Runner type--description
: Runner description--runner
: Runner to use for execution--var
: Workflow variables in KEY=VALUE
format--watch, -w
: Watch execution output (default: true)--skip-policy-check
: Skip policy validation--runner
: Runner for testing--var
: Test variables--output, -o
: Output format (text
, json
)--name, -n
: Policy name (required)--env, -e
: Target environments (comma-separated)--file, -f
: Policy file path--policy, -p
: Policy content directly--validate
: Validate policy before creating (default: true)--confirm
: Confirm deletion--tool, -t
: Tool name (required)--args
: Tool arguments as JSON--args-file
: Tool arguments from file--runner, -r
: Runner name--file, -f
: Workflow definition file (required)--params
: Workflow parameters as JSON--runner, -r
: Runner name--allow-platform-apis
: Enable platform management tools--config
: Configuration file path--port
: Server port (for HTTP mode)--host
: Server host (for HTTP mode)claude
: Claude Desktopcursor
: Cursor IDEvscode
: VS Code (Continue extension)custom
: Custom integration--limit
: Maximum results--output, -o
: Output format--agent
: Specific agent to chat with--interactive
: Enable interactive modeVariable | Description | Default |
---|---|---|
KUBIYA_API_KEY | Required - Your Kubiya API key | None |
KUBIYA_API_URL | Kubiya API endpoint | https://api.kubiya.ai |
KUBIYA_DEFAULT_RUNNER | Default runner for tool execution | auto |
KUBIYA_OPA_ENFORCE | Enable policy enforcement | false |
KUBIYA_TOOL_TIMEOUT | Default tool timeout in seconds | 300 |
KUBIYA_TOOL_OUTPUT_FORMAT | Default output format | text |
KUBIYA_SKIP_HEALTH_CHECK | Skip runner health checks | false |
~/.kubiya/config.yaml
:
~/.kubiya/mcp-server.json
: