Firestack product
MCP server for blog publishing
Our own MCP server that lets an AI assistant draft, illustrate and publish posts on the Firestack blog, with a human approving every post.
- Client
- Firestack
- Industry
- Developer tools
- Timeline
- 2 weeks
- Year
- 2026
Case study
We publish technical posts every week. Writing happened in an AI assistant, but publishing meant copying Markdown, uploading images and editing the database by hand.
We wanted the assistant to do the busy work without ever publishing something a person had not read first.
Requirement analysis
Draft-first workflow
Every new post is saved as a draft; publishing is a separate step.
Secure access
OAuth sign-in so only the studio can use the tools.
Image uploads
Cover images uploaded and served from our own storage.
Instant updates
Published posts appear on the site without a redeploy.
Implemented solution
We added an MCP endpoint to the website with tools for posts, categories and images, protected by OAuth and backed by the same Postgres database the blog reads.
Typed tools
Each tool validates its input with zod before touching the database.
On-demand revalidation
Publishing refreshes only the pages that changed.
Approval gate
The assistant shows the draft and waits for a yes before publishing.
Output pipeline
What we delivered, in the order it was handed over.
MCP endpoint
Nine tools for drafting, editing and publishing posts.
OAuth server
Sign-in and token flow for MCP clients.
Image storage
Cover uploads to Vercel Blob, served from our domain.
Writing skill
A reusable assistant skill with our house style and checklist.
Results
- from finished draft to live post
- 15 min
- posts published without review
- 0
- MCP tools in production
- 9