productivity
WP Engine MCP Integration for Claude Agent SDK
Connect WP Engine to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect WP Engine to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
WP Engine MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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
Expose only WP Engine instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
WP Engine Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the WP Engine integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |