The Substack Automation Blueprint
by Burk
$19
Substack has no public API. No developer portal, no API key, nothing.
This guide shows you how to build your own automation anyway: a command line tool that turns Markdown files into Substack drafts, uploads images, and posts Notes.
Plus an MCP server on top, so Claude (or ChatGPT or other AI tools that use MCPs) can draft and post for you mid-conversation.
It's the exact blueprint behind my own publishing workflow: the endpoints, the document schemas, the authentication trick, and working, tested code.
What's inside:
How Substack's private API works, including the custom domain trap
The draft/live split that makes safe automation possible
Markdown to Substack's document format, with a full converter
Image uploads and the JSON, not multipart, trap
Notes, their simpler schema, and dry-run safety
A complete CLI, then an MCP server wrapped around it
The downsides and the fine print
32 pages, PDF. You'll need Node.js, a Substack publication, and some comfort with a terminal. No prior reverse-engineering experience required.