Web Development

AstroBaaS — Self-Hosted Headless CMS & Backend on Astro

A self-hosted, TypeScript-native headless CMS and backend built on Astro, with a content admin built in — one Node process, and an MCP server so AI agents can read and write content.

TypeScript Astro Node.js libSQL MCP
AstroBaaS — Self-Hosted Headless CMS & Backend on Astro

Key Features

  • REST API with scoped bearer keys, CORS, signed webhooks, /openapi.json and /llms.txt
  • Typed SDK (astrobaas/client) and CLI
  • MCP server as its own zero-dependency package (npx -y astrobaas-mcp) for AI agents
  • Posts, pages, media, revisions, autosave, custom types and taxonomies
  • Commerce in the core, off by default: products, stock, orders, shipping, tax
  • Three storage drivers: lowdb, libSQL doc-blob, libSQL relational
  • Strict CSP, sanitised HTML, rate limits; production build refuses default password and placeholder secrets
  • Dockerfile plus systemd, nginx and Caddy configs

Results & Impact

Status: Open source, early release — September 2026
Licensed GPL-3.0-or-later
About a year of work: ~1,000 commits and 100 pull requests
In production for months: 2 small e-shops and 10+ business websites and blogs
Known limits: pre-alpha; no external security audit yet; payment providers not yet verified against their live sandboxes; plugins compiled in at build time, by design