06 / UNDER THE HOOD

Technical

Longer write-ups on how the things I build actually work: data pipelines, MCP servers, agents and the infrastructure around them.

Let Cloudflare Do the Login

Our customers ask Claude and ChatGPT about their solar plants. Cloudflare Access and an MCP server portal handle who gets in, so we didn't have to build auth. The cf CLI lets my agent set it up without a browser.

MCPCloudflareAccessAgents

Write Many, Merge on Read

Our Dagster steps kept fighting over the same Postgres rows. Now they append events to Cloudflare Basin streams, a sink lands them in Iceberg, and the reader decides which version wins.

DagsterCloudflareBasinIcebergDuckDBData Pipelines

One MCP Server for Claude and ChatGPT

We put our solar plant data behind a remote MCP server on Cloudflare, with Auth0 for login. Going stateless saved us. Auth was the hard part.

MCPCloudflareAuth0LLM

One Durable Object Per Site

Users write their own threshold rules. Each site gets one Durable Object that checks them. The database owns the rules, the object owns the checking, and a version number keeps them honest.

CloudflareDurable ObjectsWorkersMonitoring