KosmoKrator

productivity

WP Engine MCP Integration for LangGraph

Connect WP Engine to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect WP Engine to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

WP Engine MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "mcpServers": {
    "kosmokrator-wp_engine": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=wp_engine",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=wp_engine --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only WP Engine instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

WP Engine Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the WP Engine integration catalog.

MCP toolSource functionTypeDescription
integration__wp_engine__wp_engine_list_sites wp_engine.wp_engine_list_sites Read List WP Engine sites. Supports pagination with limit and page parameters.
integration__wp_engine__wp_engine_get_site wp_engine.wp_engine_get_site Read Get details for a specific WP Engine site by ID.
integration__wp_engine__wp_engine_list_installs wp_engine.wp_engine_list_installs Read List WP Engine installs. Supports pagination with limit and page parameters.
integration__wp_engine__wp_engine_get_install wp_engine.wp_engine_get_install Read Get details for a specific WP Engine install by ID.
integration__wp_engine__wp_engine_list_domains wp_engine.wp_engine_list_domains Read List domains across WP Engine installs. Supports pagination with limit and page parameters.
integration__wp_engine__wp_engine_list_users wp_engine.wp_engine_list_users Read List WP Engine users. Supports pagination with limit and page parameters.
integration__wp_engine__wp_engine_get_current_user wp_engine.wp_engine_get_current_user Read Get the profile of the currently authenticated WP Engine user. Useful for verifying credentials and displaying account information.

Related WP Engine Pages