productivity
Cloudways MCP Integration for LangGraph
Connect Cloudways to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Cloudways 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.
Cloudways MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-cloudways": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=cloudways",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=cloudways --write=deny Why Use KosmoKrator Here
Expose only Cloudways 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.
Cloudways Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Cloudways integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__cloudways__cloudways_list_servers | cloudways.cloudways_list_servers | Read | List all servers in the Cloudways account. |
integration__cloudways__cloudways_get_server | cloudways.cloudways_get_server | Read | Get details for a specific Cloudways server. |
integration__cloudways__cloudways_list_apps | cloudways.cloudways_list_apps | Read | List all applications across all servers in the Cloudways account. |
integration__cloudways__cloudways_get_app | cloudways.cloudways_get_app | Read | Get details for a specific Cloudways application. |
integration__cloudways__cloudways_list_domains | cloudways.cloudways_list_domains | Read | List domains for a specific Cloudways application. |
integration__cloudways__cloudways_list_projects | cloudways.cloudways_list_projects | Read | List all projects in the Cloudways account. |
integration__cloudways__cloudways_get_current_user | cloudways.cloudways_get_current_user | Read | Get the current authenticated Cloudways account information. |