KosmoKrator

productivity

Netlify CLI for Coding Agents

Use the Netlify CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Netlify CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Netlify CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Netlify CLI for Coding Agents
kosmokrator integrations:configure netlify --set access_token="$NETLIFY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call netlify.netlify_get_current_user '{}' --json

Discovery Before Execution

Agents and scripts can inspect Netlify docs and schemas before choosing a function.

kosmo integrations:docs netlify --json
kosmo integrations:docs netlify.netlify_get_current_user --json
kosmo integrations:schema netlify.netlify_get_current_user --json
kosmo integrations:search "Netlify" --json
kosmo integrations:list --json

Useful Netlify CLI Functions

FunctionTypeParametersDescription
netlify.netlify_get_current_user Read none Get details of the currently authenticated Netlify user. Returns user ID, email, name, and account info.
netlify.netlify_get_deploy Read deploy_id Get detailed information about a specific Netlify deploy, including its state, build log, and commit details.
netlify.netlify_get_site Read site_id Get detailed information about a specific Netlify site, including its ID, name, URL, build settings, and deploy status.
netlify.netlify_list_deploys Read site_id, page, per_page List deploys for a Netlify site. Returns deploy IDs, states, branches, and commit references.
netlify.netlify_list_dns_zones Read page, per_page List all DNS zones configured in Netlify. Returns zone IDs, domain names, and nameservers.
netlify.netlify_list_forms Read site_id List all forms for a Netlify site. Returns form IDs, names, paths, and submission counts.
netlify.netlify_list_sites Read name, page, per_page List all Netlify sites. Returns site IDs, names, URLs, and build status. Use this to discover site identifiers needed for deploy and form operations.

Automation Notes

Related Netlify CLI Pages