Substack MCP
MCP server by gabriellsalesx Verified · npm:@gabriellsales
Substack MCP lets AI assistants write, revise, publish and read Substack posts and Notes. It is an unofficial Go binary that works with any stdio MCP client, including Claude Code, Cursor and Codex.
Install Substack MCP
Built from the published package, never by AI.
claude mcp add substack-mcp -- npx -y @gabriellsales/substack-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"substack-mcp": {
"args": [
"-y",
"@gabriellsales/substack-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"substack-mcp": {
"args": [
"-y",
"@gabriellsales/substack-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"substack-mcp": {
"args": [
"-y",
"@gabriellsales/substack-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add substack-mcp -- npx -y @gabriellsales/substack-mcp{
"mcpServers": {
"substack-mcp": {
"args": [
"-y",
"@gabriellsales/substack-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add substack-mcp npx -y @gabriellsales/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 block.
About
Substack MCP is an unofficial MCP server for Substack, written in Go and shipped as a single native binary with no Python, Node or bundled browser. It gives an AI assistant tools to write drafts in Markdown with images, revise them, duplicate, publish and delete drafts, read past posts, and post Notes. It uses the same internal API as the Substack website.
It works with any stdio MCP client, including Claude Code, Codex, OpenCode, Gemini CLI, Cursor and Claude Desktop. Login opens Substack in a supported local browser to capture the session, or a substack.sid cookie can be pasted. Tools that reach readers or delete data return a preview unless called with confirm set to true. It suits Substack writers who want to manage their publication from an AI assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
list_postsLists posts in the Substack publication.get_postReads a single post.create_draftCreates a draft from Markdown, with images, tags and formatting.update_draftRevises an existing draft, including its tags.duplicate_postMakes a copy of an existing post.publish_postPublishes a post, returning a preview until confirm is true.delete_draftDeletes a draft, returning a preview until confirm is true.upload_imageUploads an image to Substack's CDN for use in posts.list_tagsLists the tags that already exist in the publication.create_notePosts a Substack Note, returning a preview until confirm is true.
What you need
- A Substack account
- Chrome, Chromium, Brave or Edge for the browser login, or a substack.sid cookie
- Node.js for the npx install (optional)
- Go for go install (optional)
Try asking
- Write a draft post in Markdown about my latest topic and add tags.
- List my recent Substack posts and show the one from last month.
- Revise my draft with the new intro and show me a preview before publishing.
Good to know
- Unofficial and not affiliated with Substack Inc.
- Uses Substack's internal API, which may change without notice.
- Tables are converted into code blocks.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/gabriellsalesx/substack-mcp/main/install.sh | sh
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Substack MCP
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: common questions
Is Substack MCP an official Substack tool?
No. The source states it is unofficial and not affiliated with Substack Inc.
Does it need Node.js or Python to run?
The binary itself needs no Python, Node or bundled browser. Node.js is only one optional way to install it.
Can the assistant publish without my approval?
Publishing and deleting tools return a preview unless called with confirm set to true, so the agent must show what will happen first.
How do I install Substack MCP?
In Claude Code run claude mcp add substack-mcp -- npx -y @gabriellsales/substack-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Substack MCP the official server?
Substack MCP is published by npm:@gabriellsales from its verified domain in the official MCP Registry.
Is Substack MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Substack MCP safe to use?
It scores 62 of 100. Grades: maintenance B, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
Does Substack MCP 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.
