A four-step path to an agent-ready Astro site: content in an Astro CMS, API/CLI/MCP surfaces generated from one schema, and an edge layer that absorbs spikes while agents call functions instead of clicking.
Astro is a content-first web framework, and EmDash 1.0 shows what a production Astro stack looks like when agents are first-class readers: a CMS with an editor-facing admin plus an API, a CLI, and a built-in MCP server over the same content. The explainer walks four checkpoints: anchor content in the CMS, expose it as API, CLI, and MCP, generate those clients from one API definition through Forge's OpenAPI pipeline, and harden the edge with object caching, a pooled database adapter, and sandboxed plugins. Each checkpoint ends in a concrete outcome, from editors publishing without a deploy to surviving multi-thousand-RPS spikes without taking down the origin.
FAQ
Why expose a CLI and an MCP server when the CMS already has an API?
Agents often work better with a callable command or tool than with a raw REST endpoint. Cloudflare's cf CLI defaults to JSON with condensed formatting to keep token use low, and EmDash ships an API, a CLI, and a built-in MCP server over the same content so an agent can pick the surface that fits its context budget.
Do we have to hand-write SDKs and CLIs for every API surface we expose?
No. Forge runs in CI on each API repository, lints every change, and generates preview builds of the CLI, docs, and SDKs from an OpenAPI definition. That keeps new surfaces in sync without a hand-written client for every consumer.
What breaks first when agent traffic spikes hit an Astro site?
The origin and its database connection pool. Cloudflare migrated its own blog to EmDash and handled millions of pageviews per week with spikes up to 5,000 RPS, which is what drove KV object caching and a Hyperdrive database adapter into the stack.
A five-step how-to for scaling AI adoption across engineering teams: federate ownership, ship one shared paved path, let builders own their tools, measure throughput, and feed bottlenecks back into the path.
Clang's constant interpreter evaluates constant expressions at compile time, so the bill lands on your build, not your binary. This five-checkpoint guide shows where that memory goes and how to keep it small.
Clairic is a System One extraction model that turns unstructured input into typed values in a single forward pass. This five-step flow shows how to declare fields, call it, and use the results.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.