substack-mcp
📰 Substack MCP (substack-mcp)
FastMCP 3.1+ Model Context Protocol (MCP) 服务器与面向 Substack 新闻通讯的先进 React Web 应用仪表盘。
快速开始 • 什么是 Substack? • 双重能力:搜索/阅读与草稿/发布 • 内置引导与帮助 • just 任务命令 • 文档
🧠 什么是 Substack?
Substack 是一个创立于 2017 年的独立发布平台与创作者网络。它让作家、记者、研究者、播客主和思想者能够将长篇新闻通讯直接发布到读者的电子邮箱和网络端。
+-----------------------------------------------------------------------------------+
| Substack Publication |
+----------------------------------------+------------------------------------------+
|
+-------------------+---------------+---------------+--------------------+
| | | |
v v v v
+---------+ +------------------+ +-------------------+ +-------------------+
| Posts | | Substack Notes | | Substack Chat | | Subscriber Tiers |
| (Email | | (Short-form | | (Community | | (Free, Monthly, |
| + Web) | | Social Feed) | | Messaging) | | Annual, Founder) |
+---------+ +------------------+ +-------------------+ +-------------------+📖 想深入了解吗? 请阅读完整的 Substack 入门指南,其中涵盖 Substack 的历史、平台架构、RSS 端点以及货币化策略。
Related MCP server: Substack Reader MCP Server
⚡ 双重能力:搜索与阅读 / 草稿与发布
substack-mcp 专为读者/研究者与创作者/发布者两类用户而设计:
工作流模式 | 是否需要认证? | 能力与特点 |
🔍 搜索与阅读 (公开模式) | 无需登录 | • 从任意 Substack 新闻通讯域名摄取 RSS feed• 在本地 SQLite 中离线全文搜索文章• 阅读面板与音频/播客详情• 将喜欢的文章加星标与收藏 |
✍️ 草稿与发布 (作者模式) | 需要 | • 暂存、编辑、更新 Substack 文章草稿• 将 Markdown 转换为带有付费发文( |
🚀 内置安装引导与帮助
为了让您在几分钟内快速上手,substack-mcp 在 Web 应用和文档中内置了交互式引导:
📱 交互式 Web 应用仪表盘(
http://127.0.0.1:1164):“引导”标签页:分步设置向导。
“帮助与系统诊断”标签页:提供 API 后端(
:11164)、SQLite 数据库、Substack Cookie 认证和本地 LLM 的动态健康检查卡片。“Cookie 提取教程”:可视化指南,教你如何从浏览器开发者工具(
F12)中复制substack.sid会话 Cookie 到设置页面。MCP 客户端集成代码片段:一键获取 Google Antigravity、Claude Desktop 和 Cursor 的接入端点。
📚 仓库指南:参见
INSTALL.md和docs/ONBOARDING.md。
⚙️ just 任务运行器命令
仓库中的所有常见任务均定义在 justfile 中:
# Run full quality check (lint + typecheck + pytest)
just check
# Run Python Pytest test suite
just test
# Lint backend (ruff) and webapp (biome)
just lint
# Format code (ruff format & biome format)
just format
# Static typecheck (pyright & tsc)
just typecheck
# Start unified dev servers (clears zombie ports, starts backend & webapp, opens browser)
just start
# Pack .mcpb desktop package
just mcpb-pack
# Build Tauri NSIS Windows installer
just tauri-build
# Run headless CUA smoke test
just cua-smoke⚡ 快速开始
1. 启动服务器与 Web 应用仪表盘
# Clone the repository
git clone https://github.com/sandraschi/substack-mcp.git
cd substack-mcp
# Launch backend (11163) and dashboard (11164) via just or PowerShell script
just start
# or: .\start.ps1Web 应用仪表盘将自动在您默认浏览器的 http://127.0.0.1:11164 地址打开。
2. 连接 AI 助手(Google Antigravity / Claude Desktop)
将您的 MCP 客户端配置指向 FastMCP Streamable HTTP 端点:
http://127.0.0.1:11163/mcp🛠️ Portmanteau MCP 工具集
工具 | 操作 | 描述 |
| 摄取 RSS,列出已跟踪的新闻通讯,搜索文章 | |
| 暂存草稿,编辑内容,渲染 Markdown HTML | |
| 跟踪订阅者指标、文章阅读量和打开率 | |
| 阅读文章评论,暂存讨论回复 |
📁 子包文档
📖 Substack 入门指南(
docs/SUBSTACK_PRIMER.md) —— 什么是 Substack、平台结构、历史于於生态。🎨 Web 应用仪表盘(
webapp/) —— Vite、React、Tailwind CSS 与 Biome 配置。⚙️ 后端包(
substack_mcp/) —— FastAPI、FastMCP 3.1+、本地 LLM 引擎与 SQLite 数据库。
📄 许可证
基于 MIT License 发布。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables interaction with Substack publications through natural conversation, allowing users to create posts with cover images, publish notes, manage content, and retrieve profile information.82
- AlicenseNot gradedqualityDmaintenanceEnables users to manage and read Substack content directly within Claude, including listing subscriptions and fetching full post details. It supports searching within newsletters and retrieving recent feeds using authenticated browser cookies.1MIT
- AlicenseAqualityFmaintenanceEnables AI tools to programmatically manage Substack content, including creating drafts, publishing posts, and posting to Substack Notes. It supports image uploads, live blogging, and document formatting compatible with Substack's ProseMirror editor.118MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading from and optionally drafting to a Substack publication via Claude, using unofficial JSON endpoints and RSS feed.1MIT
Related MCP Connectors
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/substack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server