Model Context Protocol server

Substack
from an
AI agent

Gives an AI assistant full access to a Substack publication: drafts, publish, subscribers, analytics, tags, comments, Notes, and the reader feed. Session cookie auth, deployed on Vercel.

27 toolsStreamable HTTPNo client authVercel

Point any MCP client at this endpoint. No authentication needed on the client side: credentials live server-side in environment variables.

https://substack.pmcosta.dev/mcp

Write

Create drafts, set structured post bodies with headings, lists, code blocks, images and paywalls. Update metadata, publish with email control, upload images.

Measure

Headline stats, 16 analytics reports, per-post metrics across 43 fields, subscriber filtering with 48 columns and 18 operators, full CSV export.

Read

Your inbox, the Notes feed, any post in full from any publication, comment threads, profile feeds, subscriptions, tags, and restacks.

PropertyValue
27Tools: drafts, publish, subscribers, analytics, tags, comments, Notes, reader, images, restacks
CookieServer-side session cookie auth. No client credentials needed.
StreamableMCP transport over HTTP, stateless, no persistent process
48Subscriber columns: filter, sort, search, and export with 18 operators
16Analytics reports: retention, churn, growth, referrals, ARR, overlap, and more
MITBased on marcomoauro/substack-mcp, rewired for Vercel
MIT License

Read it, fork it, deploy your own

View the source