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.
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
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 22+ · Docker
SUBSTACK_PUBLICATION_URL
The full URL of your Substack publication, available from its page address.
SUBSTACK_SESSION_TOKEN
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
Your numeric Substack user ID; find the publication_user request in the browser Network panel and copy the id from its user object.
SUBSTACK_MCP_LOG_LEVEL
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.
{
"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.
{
"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).
[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).
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.
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.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
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.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision c148a3b17699 Data synced 2026-12-05 Read the FMRS scoring method Markdown