My AI Bought My Domain for $2.20. I Just Typed Yes

My AI Bought My Domain for $2.20. I Just Typed Yes

Here's a sentence I still can't quite believe: my AI bought a domain for me. Not "suggested one" — it checked availability across six TLDs, compared prices, asked for my confirmation, paid, connected the domain to my hosting and verified that HTTPS works. I never opened a single dashboard.

To understand why that matters, let me rewind a bit.

Some time ago I discovered a now well-known feature in ChatGPT called Sites. In a nutshell, it lets you do far more than generate a website (landing page, ecommerce, whatever) — it also takes care of all the heavy lifting that comes after the code is written: packaging, deployment, (sub)domain registration and so on. Still a ChatGPT domain by default, mind you, but a few more clicks and you can attach your own domain to your brand new website.

That's great — but it has one caveat: to a large extent, you're still locked into ChatGPT. And don't get me wrong, this isn't a ChatGPT problem. It's the same trade-off you make with almost every 1-click "generate, deploy and register" service out there.

I like to decide for myself, so I used to do it the "old" way:

  • generate the site with AI
  • let AI deploy it through a CLI like Netlify's

…and then came the manual part:

  • search for a domain
  • register / buy the domain
  • configure it in the hosting provider (e.g. Netlify)

Especially that second half was tedious — and, until recently, unavoidable.

Luckily, one of the largest domain providers, Namecheap (others hopefully do the same), now provides an MCP that lets you automate this entire process from A to Z.

The result? You can literally publish a complete AI-generated website entirely for free, plus a few dollars per year for the domain, in less than 10 minutes.

No vendor lock.
No subscription.
Just code and share. Period.

Disclaimer: I have no affiliation whatsoever with any of these products. They just happen to be, in my opinion, (some of) the best on the market — tools that simply work and keep up with the tech, so I love sharing them with others.

Sound interesting? Here's how it works.

Ingredients

  • A Netlify account (you can apply the exact same concept to any other hosting provider)
  • A smart AI (I love Claude Code for this job)
  • A complete contact profile in that Namecheap account: address, city, postal code, country, state/province and phone. The purchase fails at the very last step if a single field is missing — and yes, Germany still needs a state/province for .xyz. This one cost me two failed purchase attempts before I figured it out.

A Namecheap account (they have an MCP — if you know another registrar that has one, it might work there too).

One tip I can't stress enough: create a dedicated account and top it up with just a few bucks. That way, if you have other high-stakes domains, the AI can't touch them.

High-level steps

  • Configure the Namecheap MCP: Namecheap MCP — Tools Reference - Domains - Namecheap.com
  • Configure the Netlify MCP: npx -y add-mcp https://mcp.netlify.com/mcp — Agent setup overview | Netlify Docs
  • (Optional) configure the Netlify CLI as an alternative to the Netlify MCP (honestly my preference, but feel free to use the MCP directly)
  • Generate a website with AI (or take something you already have)
  • Deploy it to Netlify
  • Search for a (free) domain using AI
  • Register the domain
  • Configure Netlify to use the domain
  • Test it
Data Privacy | Imprint