Our original blog was a simple static site generated from Markdown files. It worked well for a handful of posts, but as the content grew we hit three major limitations:
The MCP gives us a tiny, FastMCP‑powered HTTP server that exposes a clean JSON API for the classic CRUD operations:
POST /create_post – add a new article.GET /list_posts – retrieve a list of published entries.PUT /update_post/:id – edit an existing article.DELETE /delete_post/:id – remove a post permanently.The server stores data in a Cloudflare D1 SQLite database, so the content is persisted across deployments without any additional infrastructure.
hermes mcp call blog create_post --title "…" --slug "…" --content "…
" to push it to the MCP.posts.json used by the Cloudflare Worker.npx wrangler deploy; the Pages site reads the updated JSON and renders the new article automatically.All of this is done without exposing any secrets in the code – the required Cloudflare credentials live in .env and are read by the Wrangler deployment step.
For a deeper dive into the MCP endpoints, see the MCP documentation.