Skip to content

Deployment

You’ve built something locally and it works. Now you want to put it on the actual internet so other people can see it. You have to deploy it.

There are a few popular platforms for this. Vercel is probably the most common for anything built with React or Next.js. Netlify is similar, really good for static sites and simple apps. Cloudflare has Pages and Workers which are great for anything that needs to be fast everywhere.

All of these have their own CLI (Command Line Interface - a text-based way to interact with your computer by typing commands instead of clicking buttons.) tools which makes it easier for the agent to deploy for you. You can say “deploy this to Vercel” and the agent will run the Vercel CLI, push your code, and give you a live URL.

These tools also have something called MCPs (Model Context Protocol - a protocol for connecting AI models to external tools and data sources. Lets agents call APIs, read files, etc.), which let the agent interact with these services even more directly (similar to CLIs). It can check deployments, see logs, manage environment variables, all that.

The one thing to remember with deployment is environment variables. Your .env file doesn’t get deployed, that’s the point. So any secrets your app needs, you have to add them in the platform’s dashboard. Vercel has environment variables in project settings, Cloudflare has the same, they all do. If your app works locally but breaks when deployed, check your environment variables first.