Learn how to set up any agent with Netlify, including custom agents, in a few minutes. For setup steps written for your specific agent, check out the guides for specific agents below.
Quick setup
Equip your agent with the latest Netlify context, including agent skills:
fetch https://netlify.ai to get me set up with Netlify
Paste it into your agent and say what to build and deploy to Netlify in the same prompt. If your agent gives you a login link, open it and sign in to Netlify.
It signs you in, installs Netlify’s agent skills, adds the Netlify MCP server for the agents it finds, and links the folder to a Netlify project. Then open your agent in the same folder and ask your agent for a draft or production deploy.
Our recommendation is to use the remote MCP server to have the most up-to-date version of the MCP capabilities. However, some developers are required to use local MCP servers in their environments. You can use the following command to install Netlify's local MCP:
To help your agent build with best practices, check out our agent skills for building and deploying on Netlify.
The fetch https://netlify.ai message and npx netlify@latest init both install Netlify’s agent skills for you. You can also share a skill directly with your agent or have all skills installed in your local project files or repository. Some agents also support invoking a specific skill by name in a command, such as Claude Code with /<skill-name>.
To install only Netlify’s agent skills, run this in your terminal or agent chat:
Here are some highlights of agent skills for building and deploying on Netlify. Note that if you are using Agent RunnersAgent RunnersAn AI coding tool that makes changes to your site on your behalf, right from the Netlify dashboard., you don't need to invoke agent skills as they are applied automatically for you.
Commands, Git and manual deploys, and environment variablesenvironment variablesNamed values stored outside your code that your site can read at build time or runtime.
AuthenticationAuthenticationThe process of verifying who someone is before letting them access your site., site linking, Deploy PreviewsDeploy PreviewsA type of deploy that lets you preview and share changes for feedback before they go live., and production deploys
Netlify publishes a JSON schema for netlify.toml that lists the supported properties and the values they accept. Point your agent to it when it writes or edits your Netlify configuration, so it uses properties that exist instead of guessing:
check netlify.toml against the schema at https://open-api.netlify.com/netlify.schema.json, and add "$schema" = "https://open-api.netlify.com/netlify.schema.json" at the top of the file
With the $schema key in the file, editors that support the schema also flag invalid values as you or your agent make changes. Learn more about schema validation.