Substack MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUBSTACK_USER_ID | Yes | Your Substack User ID | |
| SUBSTACK_SESSION_TOKEN | Yes | Your Substack session token (the value of the connect.sid cookie, usually starting with s%3A) | |
| SUBSTACK_PUBLICATION_URL | Yes | Your Substack URL, including custom domain if you have one (e.g., https://newsletter.yourdomain.com or https://yourblog.substack.com) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_subscriber_countA | Get the current subscriber count for your Substack publication. Returns |
| list_published_postsA | List published posts with pagination. Returns title, date, slug, and URL for each post. |
| list_draftsB | List draft posts. Returns title, creation date, and audience for each draft. |
| get_postA | Get the full content of a published post by ID. Returns title, body HTML, metadata. |
| get_draftA | Get the full content of a draft post by ID. Returns title, body, metadata. |
| get_post_commentsA | Get comments on a published post. Returns commenter name, comment body, date, and reaction counts. |
| get_sectionsA | List your publication's sections (categories). Returns each section's id and name. Use a section id as |
| get_post_analyticsA | Get performance stats (views, emails sent/delivered/opened, signups, subscribes, estimated value, comments, reactions) for a published post by ID. Substack has no per-post stats endpoint, so this searches your 500 most recent published posts for the ID; returns a not-found note if it isn't among them. |
| list_scheduled_postsA | List posts scheduled for future publication, soonest first. Read-only visibility into what's queued — scheduling itself is done in Substack's editor (this server does not schedule, publish, or delete long-form posts). Returns id, title, audience, and scheduled time ( |
| create_draftA | Create a new draft post. Accepts markdown body which is converted to Substack's format. Does NOT publish — creates a draft only. |
| update_draftA | Update an existing draft post. Only works on unpublished drafts. Accepts markdown body. |
| upload_imageA | Upload an image to Substack's CDN. Provide exactly one of |
| create_noteA | Create a Substack Note (short-form content). Accepts markdown text. PUBLISHES IMMEDIATELY to your public Notes feed — Notes have no draft state on Substack, and this server has no delete tools, so there is no undo from here. |
| create_note_with_linkA | Create a Substack Note with a link attachment, displayed as a rich card below the note text. PUBLISHES IMMEDIATELY to your public Notes feed — same caveats as create_note: no draft state, no undo from this server. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/conorbronsdon/substack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server