KosmoKrator

productivity

Netlify MCP Integration for OpenAI Agents SDK

Connect Netlify to OpenAI Agents 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 OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Netlify MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

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

OpenAI Agents 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