cms
Webflow MCP Integration for LangChain
Connect Webflow to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Webflow to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Webflow MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-webflow": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=webflow",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=webflow --write=deny Why Use KosmoKrator Here
Expose only Webflow 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.
Webflow Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Webflow integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__webflow__webflow_list_sites | webflow.webflow_list_sites | Read | List all Webflow sites the authenticated user has access to. Returns site IDs, names, and domains needed for further CMS operations. |
integration__webflow__webflow_get_site | webflow.webflow_get_site | Read | Get details for a specific Webflow site by its ID. Returns site name, domain, publishing status, and other metadata. |
integration__webflow__webflow_list_collections | webflow.webflow_list_collections | Read | List CMS collections for a Webflow site. Collections are content models (e.g., "Blog Posts", "Team Members") that hold structured items. |
integration__webflow__webflow_list_items | webflow.webflow_list_items | Read | List items in a Webflow CMS collection. Returns paginated results with item IDs, field data, and draft/publish status. |
integration__webflow__webflow_get_item | webflow.webflow_get_item | Read | Get a single CMS item from a Webflow collection by its ID. Returns full field data including rich text, images, and references. |
integration__webflow__webflow_create_item | webflow.webflow_create_item | Write | Create a new item in a Webflow CMS collection. Pass field data as key-value pairs matching the collection's schema. Set live to true to publish immediately. |
integration__webflow__webflow_get_current_user | webflow.webflow_get_current_user | Read | Get the currently authenticated Webflow user. Returns user profile including name, email, and account details. |