KosmoKrator

productivity

Netlify MCP Integration for Claude Agent SDK

Connect Netlify to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Netlify 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.

Netlify MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Netlify 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.

Netlify Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Netlify integration catalog.

MCP toolSource functionTypeDescription
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.

Related Netlify Pages