Free prompt · Claude Code · Vercel MCP
Register a domain and connect it to your Vercel site
One paste into Claude Code buys the domain through Vercel, points it at your site and tests that it works. It shows you the price first and spends nothing until you say yes.
- You get: the domain live on your site with HTTPS and a www redirect, a test log with a prediction next to each result, and a report of what you paid and what is public.
- You need: a project deployed on Vercel, and the Vercel MCP connected to Claude Code with access to the team that owns it. The domain is charged to that team’s default card.
Paste into Claude Code
Open Claude Code in the project whose site should get the domain. Copy this, fill in the first line (or leave it blank and Claude will ask), and paste it in:
Register a domain for this project and connect it to its Vercel site.
Domain I want: ____________ (if blank, ask me; suggest nothing I didn't ask for)
Ground rules
- Spending money and sharing my personal details are my decisions. Never buy, and never fill in a
registrant detail, without my explicit yes in this chat. Never take contact details from anywhere but
my own message here (not git config, not files, not my accounts).
- Change nothing in Vercel beyond adding this domain to this one project. No other domain, project
setting, DNS record or deployment.
- If a step fails or something looks different from what this prompt expects, stop and tell me.
1. Find the scope
- Read .vercel/
How it works
It stops and tells you if a step fails or anything looks different from what it expects.
Find the project
Reads the project and team IDs from .vercel/project.json, tells you the current production URL, and notes how the site is built.
Quote
Checks the domain is free, gets a quote, and shows every disclosure in a table: price, term, auto-renew, no refunds, which card. Then waits for your yes.
Your contact details
Asks for the registrant details the domain needs, and tells you first which of them may become public.
Buy
Gets a fresh quote and buys only if the price and auto-renew match what you approved. Then waits until the order completes.
Connect
Adds the domain to the project, and www with a 308 redirect to it. Completes any verification and lists the domains.
Test
Writes a prediction for each test before running it: DNS, HTTPS, redirects, headers, pages matching your build, the old URL, and what WHOIS shows.
It never does
- Buy without your explicit yes to that exact price and auto-renew setting
- Take your contact details from anywhere but your own message: not git config, not files, not your accounts
- Buy the same domain twice without asking you
- Change anything else in Vercel: no other domain, project setting, DNS record or deployment
- Change a file that points to the old URL without asking, or push or merge its test log
Your part
- Name the domain you want
- Approve the price and the auto-renew setting
- Type your registrant details into the chat
- Confirm the registrar's verification email: an unverified contact can get the domain suspended
Questions
What does it cost?
The prompt is free. The domain costs what Vercel quotes, plus any tax or fees, and is charged to your Vercel team's default card. Registrations are non-refundable, which is why the prompt shows you the quote and waits for your yes.
Which of my details become public?
It depends on the registrar and the domain ending. The prompt tells you what it expects before you type anything, says plainly when it doesn't know, and after the purchase reads the public record to show you exactly what is visible.
What do I need before I start?
A project already deployed on Vercel, Claude Code, and the Vercel MCP connected with access to the team that owns the project.
Does it work in Cowork?
Not tried. It was written for Claude Code with the Vercel MCP connected.
Has it been tested?
The prompt it was made from was run once, in November 2026, to buy a .com and connect it to a static site on Vercel. This general version has not been run on another project yet.
A prompt does one job. The course teaches you to write your own.
Learn the hat each decision needs (product, design, marketing) and the words to direct AI in it, so you can build and market your product without hiring.