KosmoKrator

productivity

WP Engine MCP Integration for Vercel AI SDK

Connect WP Engine to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

WP Engine MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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