substack-api-mcp MCP Server

Substack does not provide a native public API for publishing posts.

Local serverstdio

What is the substack-api-mcp Server?

substack-api-mcp is an MCP project maintained in the alxgntv/substack-api-mcp repository. The maintainer describes its purpose as “Substack does not provide a native public API for publishing posts”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /ABSOLUTE/PATH/TO/Substack-API-MCP/.venv/bin/substack-api-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares APISUBSTACK_API_KEY, SUBSTACK_PUBLICATION_URL, SUBSTACK_SID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
test_connectionVerify substack.sid and return profile
create_postCreate draft / publish now / schedule (+ optional tags)
get_draftFetch draft by id
pangram_detectionPangram AI-text / AI-slop check on a draft
update_draftUpdate draft fields
publish_postPublish existing draft
schedule_postSchedule existing draft
delete_draftDelete draft
list_tagsList publication tags
create_tagCreate tag
set_tagsEnsure + attach tags
get_post_tagsList tags on a post/draft
create_noteCreate a Substack Note (optional link attachment)
delete_noteDelete a Substack Note by id

How to install the substack-api-mcp Server

{
  "mcpServers": {
    "substack-api": {
      "command": "/ABSOLUTE/PATH/TO/Substack-API-MCP/.venv/bin/substack-api-mcp",
      "args": [],
      "env": {
        "APISUBSTACK_API_KEY": "YOUR_APISUBSTACK_API_KEY",
        "SUBSTACK_PUBLICATION_URL": "https://yourname.substack.com",
        "SUBSTACK_SID": "YOUR_SUBSTACK_SID_VALUE"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
APISUBSTACK_API_KEYDeclared in the maintainer’s client configuration.Check documentation
SUBSTACK_PUBLICATION_URLDeclared in the maintainer’s client configuration.Check documentation
SUBSTACK_SIDDeclared in the maintainer’s client configuration.Check documentation