KosmoKrator

productivity

Netlify MCP Integration for Vercel AI SDK

Connect Netlify to Vercel AI 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Netlify MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI 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