KosmoKrator

productivity

WP Engine CLI for Headless Automation

Use the WP Engine CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

WP Engine CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The WP Engine CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# WP Engine CLI for Headless Automation
kosmokrator integrations:configure wp_engine --set access_token="$WP_ENGINE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call wp_engine.wp_engine_list_sites '{"limit":1,"page":1}' --json

Discovery Before Execution

Agents and scripts can inspect WP Engine docs and schemas before choosing a function.

kosmo integrations:docs wp_engine --json
kosmo integrations:docs wp_engine.wp_engine_list_sites --json
kosmo integrations:schema wp_engine.wp_engine_list_sites --json
kosmo integrations:search "WP Engine" --json
kosmo integrations:list --json

Useful WP Engine CLI Functions

FunctionTypeParametersDescription
wp_engine.wp_engine_list_sites Read limit, page List WP Engine sites. Supports pagination with limit and page parameters.
wp_engine.wp_engine_get_site Read id Get details for a specific WP Engine site by ID.
wp_engine.wp_engine_list_installs Read limit, page List WP Engine installs. Supports pagination with limit and page parameters.
wp_engine.wp_engine_get_install Read id Get details for a specific WP Engine install by ID.
wp_engine.wp_engine_list_domains Read limit, page List domains across WP Engine installs. Supports pagination with limit and page parameters.
wp_engine.wp_engine_list_users Read limit, page List WP Engine users. Supports pagination with limit and page parameters.
wp_engine.wp_engine_get_current_user Read none Get the profile of the currently authenticated WP Engine user. Useful for verifying credentials and displaying account information.

Automation Notes

Related WP Engine CLI Pages