Substack MCP Server
MCP server by conorbronsdon Community
Substack MCP Server lets an AI assistant or terminal manage a Substack newsletter. It creates drafts, publishes Notes, reads analytics and handles consented subscribers. Long-form posts stay in draft.
Install Substack MCP Server
Built from the published package, never by AI.
claude mcp add substack-mcp-server -e SUBSTACK_PUBLICATION_URL=https://yourblog.substack.com -e SUBSTACK_SESSION_TOKEN=YOUR_SUBSTACK_SESSION_TOKEN -e SUBSTACK_USER_ID=12345 -- npx -y @conorbronsdon/substack-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"substack-mcp-server": {
"env": {
"SUBSTACK_USER_ID": "12345",
"SUBSTACK_SESSION_TOKEN": "YOUR_SUBSTACK_SESSION_TOKEN",
"SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com"
},
"args": [
"-y",
"@conorbronsdon/substack-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"substack-mcp-server": {
"env": {
"SUBSTACK_USER_ID": "12345",
"SUBSTACK_SESSION_TOKEN": "YOUR_SUBSTACK_SESSION_TOKEN",
"SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com"
},
"args": [
"-y",
"@conorbronsdon/substack-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"substack-mcp-server": {
"env": {
"SUBSTACK_USER_ID": "12345",
"SUBSTACK_SESSION_TOKEN": "YOUR_SUBSTACK_SESSION_TOKEN",
"SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com"
},
"args": [
"-y",
"@conorbronsdon/substack-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add substack-mcp-server --env SUBSTACK_PUBLICATION_URL=https://yourblog.substack.com --env SUBSTACK_SESSION_TOKEN=YOUR_SUBSTACK_SESSION_TOKEN --env SUBSTACK_USER_ID=12345 -- npx -y @conorbronsdon/substack-mcp{
"mcpServers": {
"substack-mcp-server": {
"env": {
"SUBSTACK_USER_ID": "12345",
"SUBSTACK_SESSION_TOKEN": "YOUR_SUBSTACK_SESSION_TOKEN",
"SUBSTACK_PUBLICATION_URL": "https://yourblog.substack.com"
},
"args": [
"-y",
"@conorbronsdon/substack-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Substack MCP Server in Antigravity CLI
gemini mcp add substack-mcp-server npx -y @conorbronsdon/substack-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the substack-mcp-server block.
About
Substack MCP Server connects an AI assistant or terminal to a Substack newsletter. It can prepare rich drafts, search the publication archive, publish Notes, inspect analytics, and manage free subscribers who have explicitly consented. It works across multiple publications.
The server cannot publish or delete long-form posts. Post tools only create and edit drafts, and the author reviews and publishes them in Substack's editor. Notes are different: the Note tools publish short posts immediately, with no preview step and no undo from the server. It runs over local stdio or self-hosted HTTP. The project is aimed at newsletter writers and publishers who want to work with Substack from their AI tools, using an account they are permitted to manage.
Written from the project's README and checked against it.
Tools it gives your assistant
create_draftCreates a Substack draft for a long-form post.search_postsSearches the publication archive for existing posts.export_draftExports a draft for review.preflight_draftChecks a draft before it is updated.plan_draft_updatePlans changes to an existing draft before applying them.update_draftUpdates an existing draft post.create_notePublishes a short-form Substack Note immediately.create_note_with_linkPublishes a short-form Note with a link, immediately.doctorRuns one bounded read per publication to confirm read access.statusShows offline configuration diagnostics.
What you need
- Node.js 22 or newer
- An authenticated Substack account with permission to manage the publication
- Playwright, optional, for browser login
| Setting | Needed | What it is |
|---|---|---|
SUBSTACK_Environment variable | Required | Your Substack publication URL (e.g., https://yourblog.substack.com) |
SUBSTACK_Environment variable, secret | Required | connect.sid cookie value from your Substack session |
SUBSTACK_Environment variable | Required | Your Substack user ID |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- How many Substack subscribers do I have?
- Create a draft post about my latest topic.
- Search my Substack archive for posts about pricing.
Good to know
- Cannot publish or delete long-form posts; those are published manually in Substack's editor.
- Note tools publish immediately, with no preview step and no undo.
- Community comments and restacks are experimental and consent-gated.
- Browser login verifies read access, not write permission.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Substack MCP Server
All alternatives →Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.
Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.
NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.
Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.
Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.
Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.
Substack MCP Server: common questions
Can it publish a newsletter post for me?
No. Long-form post tools only create and edit drafts. You review and publish them yourself in Substack's editor.
Are Substack Notes published right away?
Yes. create_note and create_note_with_link publish short-form Notes immediately, because Notes have no draft state on Substack.
Can it manage more than one publication?
The source says it works across publications. With multiple profiles, tools require an explicit publication key.
How do I install Substack MCP Server?
In Claude Code run claude mcp add substack-mcp-server -e SUBSTACK_PUBLICATION_URL=https://yourblog.substack.com -e SUBSTACK_SESSION_TOKEN=YOUR_SUBSTACK_SESSION_TOKEN -e SUBSTACK_USER_ID=12345 -- npx -y @conorbronsdon/substack-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Substack MCP Server the official server?
Substack MCP Server is a community project by conorbronsdon, not verified by a company domain.
Is Substack MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Substack MCP Server safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Substack MCP Server?
Does Substack MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
