# Substack MCP Server

> Manage Substack publishing, readers, and analytics through MCP.

- **URL**: https://followmcp.com/en/servers/substack-mcp
- **Category**: Other
- **Origin**: Community
- **Stars**: 96
- **FMRS Score**: 58/100 (Grade C)
- **Source**: https://github.com/marcomoauro/substack-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 22+, Docker
- **Auth**: API key / credential required

## 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.

## 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
- 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.

## Client config (JSON)
```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"
      }
    }
  }
}
```

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