productivity
Netlify MCP Integration for LangChain
Connect Netlify to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Netlify 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.
Netlify MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-netlify": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=netlify",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=netlify --write=deny Why Use KosmoKrator Here
Expose only Netlify 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.
Netlify Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Netlify integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__netlify__netlify_get_current_user | netlify.netlify_get_current_user | Read | Get details of the currently authenticated Netlify user. Returns user ID, email, name, and account info. |
integration__netlify__netlify_get_deploy | netlify.netlify_get_deploy | Read | Get detailed information about a specific Netlify deploy, including its state, build log, and commit details. |
integration__netlify__netlify_get_site | netlify.netlify_get_site | Read | Get detailed information about a specific Netlify site, including its ID, name, URL, build settings, and deploy status. |
integration__netlify__netlify_list_deploys | netlify.netlify_list_deploys | Read | List deploys for a Netlify site. Returns deploy IDs, states, branches, and commit references. |
integration__netlify__netlify_list_dns_zones | netlify.netlify_list_dns_zones | Read | List all DNS zones configured in Netlify. Returns zone IDs, domain names, and nameservers. |
integration__netlify__netlify_list_forms | netlify.netlify_list_forms | Read | List all forms for a Netlify site. Returns form IDs, names, paths, and submission counts. |
integration__netlify__netlify_list_sites | netlify.netlify_list_sites | Read | List all Netlify sites. Returns site IDs, names, URLs, and build status. Use this to discover site identifiers needed for deploy and form operations. |