Loading video...

Video Failed to Load

Go Home

The Cloudflare API has an incredible MCP. It uses Code Mode so you get access to the entire Cloudflare API (~2500 endpoints) in ~1k tokens. In this video we use the MCP to buy a domain, deploy a React app to it, have my agent check errors, fix them...

26,300 views • 2 months ago •via X (Twitter)

43 Comments

James Q Quick's profile picture
James Q Quick2 months ago

I've LOVED using it to buy domain names!!

Jilles Soeters's profile picture
Jilles Soeters2 months ago

So good!! Literally coming up with names, checking availability and price and just buy it. 2026 baby

Mert Koseoglu's profile picture
Mert Koseoglu2 months ago

@mattzcarey Code Mode @mattzcarey

安叫兽|Bird🕊️ 🔶 BNB's profile picture
安叫兽|Bird🕊️ 🔶 BNB2 months ago

这下代理不只是会写代码,还能直接把域名买了部署完

K.O.O's profile picture
K.O.O2 months ago

Video is cleeeeeaaaaaaaaaaaannnnnnnnnnnnnn!

Jilles Soeters's profile picture
Jilles Soeters2 months ago

❤️‍🔥

Ventrue's profile picture
Ventrue2 months ago

last time I used these cf mcps they had to be constantly reauthorized, one by one, it was pretty annoying

Jilles Soeters's profile picture
Jilles Soeters2 months ago

Which coding agent were you using? I’ve only authenticated once /w pi

Ventrue's profile picture
Ventrue2 months ago

I think codex? I havent tried on claude yet

James's profile picture
James2 months ago

MCP is making AI agents much more capable by giving them direct access to real tools and APIs. The ability to build, deploy, debug, and redeploy through one workflow is where agents get really interesting. @Jarvixdotlive

🇯🇵 human touched 🇯🇵's profile picture
🇯🇵 human touched 🇯🇵2 months ago

this is my priority today to-do, ty! 🤗🤍❤️🤍🥰 ive been meaning to do it for too long 🫣😶‍🌫️

blackbox's profile picture
blackbox2 months ago

2500 endpoints in ~1k tokens is the part worth stealing. most MCPs dump the whole schema into context, then act surprised when the agent forgets the task. buying domains from a chat window is either the future or how I end up owning nine of them.

Hamid's profile picture
Hamid2 months ago

amazing.

Natalie Cole's profile picture
Natalie Cole2 months ago

Let’s discuss a possible marketing partnership

Tony Dehnke - building 12v.Biz 🧰 & more's profile picture
Tony Dehnke - building 12v.Biz 🧰 & more2 months ago

Is this wrangler?

Jilles Soeters's profile picture
Jilles Soeters2 months ago

Wrangler deploys, Cloudflare MCP does the domain buying. Agent uses both in the video!

Riley Morgan's profile picture
Riley Morgan2 months ago

This has a bright future. DM me and let’s discuss a collaboration 👀

Karin Stone's profile picture
Karin Stone2 months ago

Your project caught my attention 🚀 Let’s discuss how we can work together, send me a DM

Marco Rossini's profile picture
Marco Rossini2 months ago

Code Mode solves schema cost beautifully. The production question is authority: buying a domain and deploying in one trace combines billing, DNS and code execution. Did you scope credentials per resource, or was this using an account-wide token? Broad discovery works best with narrow, reversible permissions.

Athos 🫧's profile picture
Athos 🫧2 months ago

Looking great so far. Free assistance anytime, drop me a DM.

Captain Mutant's profile picture
Captain Mutant2 months ago

The development looks promising, feel free to reach out 🔥

Preyforge's profile picture
Preyforge2 months ago

"agent checks errors, fixes them, re-deploys" is the loop I live in. the one habit that keeps it honest: I open the deployed thing myself instead of trusting the deploy output. done is a hypothesis until it's clicked.

David's profile picture
David2 months ago

Great video. Do you like it better than vercel?

Kevin ⚡️'s profile picture
Kevin ⚡️2 months ago

I Really like what you’re creating. Want some help? No charge, just reach out.

PuneetSingh⚡️'s profile picture
PuneetSingh⚡️2 months ago

2500 endpoints stuffed as tool schemas eats the window before work starts. Exposing them as code the agent writes against is the only shape that survives long runs.

Betaer's profile picture
Betaer2 months ago

Cloudflare 这套 MCP 确实省事,一个 token 打通 2500 个端点,代理自查自修的体验很惊艳。只是权限粒度太粗,一个全量 token 泄露基本等于整个账号沦陷,生产环境还是得按域拆分范围并配审计日志,视频里这点没提。

Yuval · AI builder's profile picture
Yuval · AI builder2 months ago

code mode is the fix for tool bloat. 2500 endpoints as 1k tokens instead of 300 tool defs eating your context. we cut ours down to like 6 tools for the same reason

Hira Jha's profile picture
Hira Jha2 months ago

The part I keep staring at is the agent buying a domain. Code Mode compresses the surface, but spend is the one call where a retry isn't free. An agent that reads an ambiguous error and tries again has just bought two.

Jilles Soeters's profile picture
Jilles Soeters2 months ago

Can you clarify? A retry for the same domain name would not result in a double charge.

Hira Jha's profile picture
Hira Jha2 months ago

Fair, you're right there. The name itself is the idempotency key, so attempt two comes back "already exists" rather than charged. I meant the spend calls with nothing unique behind them: a renew, a top-up. Nothing in those separates a retry from a genuine second buy.

🌎 Coin Hub - Go Global 🌎's profile picture
🌎 Coin Hub - Go Global 🌎2 months ago

Let’s talk⚡️dm us

Buswe's profile picture
Buswe2 months ago

Code Mode's win is the model writing TS against bindings that run in an isolate, so those huge API responses never touch the context.

Tristan Rhodes's profile picture
Tristan Rhodes2 months ago

When will the grok bot plugin use this?

Crypto Girl's profile picture
Crypto Girl2 months ago

Hey 👋 can you send me Dm.

orlie's profile picture
orlie2 months ago

Never used it, is it a remote server?

Jilles Soeters's profile picture
Jilles Soeters2 months ago

Yes and it’s fucking good

Cryptonian's profile picture
Cryptonian2 months ago

How do u avoid llm knowing ur access tokens.. it can read env

Brian Cheong's profile picture
Brian Cheong2 months ago

That is a very compelling token trade. Generated API calls still need an authorization surface a human can inspect.

Jilles Soeters's profile picture
Jilles Soeters2 months ago

Yeah most coding agents will have better rules. I am using pi with kind of a "yolo" mode in the video, so it doesn't ask me for permission unless I tell it to.

Alexey Vasilev's profile picture
Alexey Vasilev2 months ago

Code Mode trades an enumerated surface for a searchable one. Works when the agent already knows it wants Cloudflare. The tool list was a terrible context budget, but it was the only enumeration the model got. Once you import what you need, discovery is a step nobody owns.

Alex's profile picture
Alex2 months ago

2500 endpoints in ~1k tokens is genuinely wild. does it hold up when you start chaining those calls or does context blow up fast?

flisw0w's profile picture
flisw0w2 months ago

2500 endpoints in 1k tokens is just moving the context problem into the error messages

KD's profile picture
KD2 months ago

One of the best, @Cloudflare is amazing

Related Videos