The traditional book publishing workflow is a terrible return on a writer’s time. You spend hours reading an agent’s Manuscript Wish List (MSWL), extracting their precise sub-genre requirements, and manually rewriting the hook of your query letter. Then, you pay a typesetter to format your manuscript. I recently finished a 80,000-word manuscript on human optimization and metabolic health, and I refused to participate in that legacy friction. Instead, I treated it as a data problem and built an autonomous publishing node. Here is the stack and architecture for anyone looking to build something similar. The Ingestion Engine (Next.js + Supabase) I built a secure gateway where I load my master book proposal, author dossier, and target themes. It acts as a sovereign data vault. The Agentic Scraper Instead of reading MSWLs manually, the tool scrapes the agent’s exact parameters and cross-references them against my manuscript’s themes, instantly outputting a highly tailored query letter designed specifically for that agent’s psychological profile. The Typesetting Node (Model Context Protocol) This is the most powerful part. I built a local Node.js server wrapped in the new Model Context Protocol (MCP). I connected it directly to Claude Pro. Now, when I finish rewriting a chapter, I just tell Claude: “Compile this.” Claude autonomously triggers the local MCP node, bypasses the chat interface, and generates a perfectly formatted, 6x9 print-ready PDF using a custom geometric typography script. What used to take months of manual labor and thousands of dollars in formatting fees now takes about 45 seconds of compute time. If you are building Agentic AI tools, look heavily into MCP. The ability to let an LLM execute local typesetting scripts changes everything. If you are a writer or founder and just want to bypass the legacy system without building this from scratch, I opened up terminal access to the node here: https://publish.mahastrategies.com/ (It’s a $19 monthly access to cover the compute). Happy to answer any questions about the MCP integration or the Next.js auth setup if anyone is building in this space. submitted by /u/Magayone
Originally posted by u/Magayone on r/ArtificialInteligence
