← Back to directory
S

Substack MCP Server

Community
Manage Substack publishing, readers, and analytics through MCP.
Category
Other #133 of 678
Stars
★ 96 Popular
Transport
stdio (local process)
Runtime
Node.js 22+ · Docker
Credentials
API key / credential required
License
MIT
Last commit
Tools
27
58FMRS · C

This is a third-party Substack MCP server that uses stdio and an authenticated web session. It covers publishing, subscriber, reader, and analytics workflows; assess the implications of session tokens, subscriber data, and publishing actions before use.

Strongest · Documentation 17/20 Weakest · Maintenance 7/20

Reliability
10/20
Security and permissions
10/20
Maintenance
7/20
Documentation
17/20
Setup experience
14/20
Why each score
Reliability 10/20
The README claims 27 tools and describes their inputs, outputs, some upstream behavior, and error handling. This review has only the README and manifest, with no source, committed tests, or CI evidence to verify startup, MCP handshake, tool implementations, or dependency behavior, so the static-calibration ceiling of 12 applies.
Security and permissions 10/20
The documentation says the server uses an authenticated session token, warns users to treat it like a password, and describes image-download guards, protection against deleting published posts, and email delivery being off by default. Tools can still publish content, comment, publicly restack, or delete drafts, with no explicit call-confirmation mechanism; credentials and data-flow controls cannot be checked without source. No evidence triggers a red line, but the permission scope and verification gaps warrant deductions.
Maintenance 7/20
The repository provides an MIT license and npm and Docker release paths; metadata lists 96 stars, one open issue, and an unarchived repository. These do not establish recent commits, dependency updates, issue response, or a security-response process, so the maintenance score is low.
Documentation 17/20
The README provides Node and Docker setup examples, credential instructions, tool inputs and outputs, limitations, and logging guidance. It is detailed, but the claims are not corroborated by source, and it lacks dependency-cost information, a compatibility matrix, and a clear security-reporting channel, so it does not merit full marks.
Setup experience 14/20
The documentation gives npx and Docker configurations for mainstream MCP clients, states the required Node.js version and three credentials, and provides a connection-verification step. Users still have to extract a session token and user ID manually from the browser, and there is no cross-platform or source/CI verification, so the score remains within the static limit of 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the networkChanges third-party account data

Best for

  • Publication owners or operators who want to manage Substack publishing and reader activity from an MCP client.
  • Users who can securely provide authenticated Substack session credentials and configure stdio.

Not for

  • Integrations that require an official public Substack API or do not use an authenticated session.
  • Users unable to secure a session token or unwilling to grant a client access to publication and account data.

Required permissions

  • Requires a publication URL, a Substack session cookie token, and a numeric user ID.
  • Session access may allow reading and changing publication content, subscribers, comments, and settings; the available scope depends on the session.
  • The upload_image path parameter can read a specified absolute file path on the machine running the server.

Risks and side effects

  • The session token is equivalent to a password; exposure could let someone use the Substack session.
  • Published posts cannot be unpublished through this server; sent email cannot be recalled, and email delivery defaults to off.
  • Comments are public under the account's name; a restack appears on the account profile and cannot be undone through this server.
  • Subscriber exports contain sensitive user data, and image path access should only be exposed to trusted clients.

Setup

Before you start

Runtime:Node.js 22+ · Docker

SUBSTACK_PUBLICATION_URL required The full URL of your Substack publication, available from its page address.
SUBSTACK_SESSION_TOKEN requiredsecret The value of the substack.sid or connect.sid cookie from an authenticated Substack session; find it in a request's headers in browser developer tools and keep it secret.
SUBSTACK_USER_ID required Your numeric Substack user ID; find the publication_user request in the browser Network panel and copy the id from its user object.
Other optional settings (1)
SUBSTACK_MCP_LOG_LEVEL optional Optional logging level, defaulting to info; supported values are silent, error, warn, info, and debug.

Node.js 22 or newer is required. Add the supplied MCP JSON configuration to your client, fill in the full publication URL, the authenticated session's substack.sid or connect.sid cookie value, and the numeric user ID, then restart the client. A Docker stdio package is also listed in the manifest. Keep the session token secret.

claude_desktop_config.json
{
  "mcpServers": {
    "substack": {
      "command": "npx",
      "args": ["-y", "substack-mcp@latest"],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com",
        "SUBSTACK_SESSION_TOKEN": "your-session-token",
        "SUBSTACK_USER_ID": "your-user-id"
      }
    }
  }
}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "substack": {
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp@latest"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com",
        "SUBSTACK_SESSION_TOKEN": "your-session-token",
        "SUBSTACK_USER_ID": "your-user-id"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.substack]
command = "npx"
args = ["-y", "substack-mcp@latest"]

[mcp_servers.substack.env]
SUBSTACK_PUBLICATION_URL = "https://your-publication.substack.com"
SUBSTACK_SESSION_TOKEN = "your-session-token"
SUBSTACK_USER_ID = "your-user-id"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add substack -e SUBSTACK_PUBLICATION_URL=https://your-publication.substack.com -e SUBSTACK_SESSION_TOKEN=your-session-token -e SUBSTACK_USER_ID=your-user-id -- npx -y substack-mcp@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the Substack MCP tools appear in your client's tool list, then ask it to list your five most recent drafts. The client should call list_posts and return drafts.

Troubleshooting

  1. If authentication fails, sign in to Substack again and obtain the current session token as described.
  2. Check that the publication URL is a full HTTPS URL, the user ID is numeric, and the token comes from substack.sid or connect.sid.
  3. If the server still fails after restarting the client, check the client's MCP logs; server logs go to stderr.
  4. To verify the connection, ask for the five most recent drafts; the expected call is list_posts with status set to drafts.

Things to try

Once connected, you can ask your AI assistant things like:

  • List my five most recent Substack drafts.
  • Show my subscriber count and email open rate for the last 30 days.
  • Read the comments on my most recent Substack post.
  • Publish this draft to the web without emailing subscribers.

Tools 27

create_draft_post writes
Create a post draft.
list_subscribers read-only
Filter and page through publication subscribers.
export_subscribers read-only
Export matching subscribers and their column values.
list_posts read-only
List draft, published, or scheduled posts.
get_draft read-only
Read a draft's full content and settings.
set_post_body destructive
Replace a draft body with a structured Substack document.
upload_image writes
Upload and host an image on Substack from a URL or local file.
update_draft writes
Partially update a draft's title, subtitle, or post settings.
Show 19 more tools
publish_draft destructive
Publish a draft; email delivery must be explicitly requested.
delete_draft destructive
Delete an unpublished draft.
get_publication read-only
Read publication settings.
get_user_profile read-only
Read the account profile associated with the current session.
list_publication_tags read-only
List publication tags.
get_post_tags read-only
Read a post's tags.
add_tag_to_post writes
Add an existing tag to a post, or create one when configured to do so.
get_post_comments read-only
Read comments on a post.
comment_on_post writes
Comment on a post under the account's name.
list_subscriptions read-only
List publications this account subscribes to.
list_reader_posts read-only
List posts in the reader inbox.
get_reader_post read-only
Read a reader post and its body when accessible to the session.
get_reader_feed read-only
Read the Substack Notes feed.
get_profile_feed read-only
Read Notes and posts published by an account.
get_comment_thread read-only
Read a Note and its replies.
restack_item destructive
Restack a Note.
get_publication_stats read-only
Read headline publication statistics.
get_post_stats read-only
Sort and page through post statistics by metric.
get_analytics read-only
Read supported publication-level analytics reports.

Use cases

Create, edit, and publish post drafts and manage post settings.
Review or export subscribers, subscriptions, and publication analytics.
Browse the reader inbox, Notes feed, comments, and post tags.
Upload images to Substack for use in post bodies or cover images.

Supported clients

Claude Desktop
CursorPartial support
Cline for VS CodePartial support
GitHub Copilot MCPPartial support
WindsurfPartial support

Listed from the project's documentation, not tested by this site.

Overview

Substack MCP Server lets MCP clients interact with the Substack API through an authenticated web session. Its 27 tools cover drafts and publishing, subscribers, tags, comments, reader feeds, image uploads, and analytics.

Similar servers

Source revision c148a3b17699 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/substack-mcp.svg)](https://followmcp.com/en/servers/substack-mcp)