原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

substack-ops

作者:06ketan版本 0.3.5i★ –i在你的电脑上运行
注册名称io.github.06ketan/substack-ops

安装

概览

作者提供的说明(英文原文)

Substack CLI + 26-tool MCP server. Your IDE drafts replies via propose_reply. No API keys.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:SUBSTACK_SESSION_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SUBSTACK_PUBLICATION_URL, SUBSTACK_USER_ID, SUBSTACK_SESSION_TOKEN, SUBSTACK_OPS_MCP_PATH, SUBSTACK_OPS_LLM_CMD

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "substack-ops": {
      "command": "uvx",
      "args": [
        "substack-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_USER_ID": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_OPS_MCP_PATH": "your-value",
        "SUBSTACK_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add substack-ops --env SUBSTACK_PUBLICATION_URL=your-value --env SUBSTACK_USER_ID=your-value --env SUBSTACK_SESSION_TOKEN=your-value --env SUBSTACK_OPS_MCP_PATH=your-value --env SUBSTACK_OPS_LLM_CMD=your-value -- uvx substack-ops mcp serve

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "substack-ops": {
      "command": "uvx",
      "args": [
        "substack-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_USER_ID": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_OPS_MCP_PATH": "your-value",
        "SUBSTACK_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "substack-ops": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "substack-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_USER_ID": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_OPS_MCP_PATH": "your-value",
        "SUBSTACK_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SUBSTACK_PUBLICATION_URL env
    Your Substack publication URL (e.g. https://you.substack.com/). Optional if set in ~/.cursor/mcp.json's mcpServers.substack-api.env.
  • SUBSTACK_USER_ID env
    Your Substack numeric user id. Optional if set in ~/.cursor/mcp.json.
  • SUBSTACK_SESSION_TOKEN 机密 env
    Your Substack session cookie value (the s%3A... string). Required for authenticated calls. Easier path: run `substack-ops auth login --browser chrome` and the cookie is auto-grabbed.
  • SUBSTACK_OPS_MCP_PATH env
    Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.
  • SUBSTACK_OPS_LLM_CMD env
    Optional: override the host CLI used by the unattended daemon path (default: auto-detect claude / cursor-agent / codex on PATH). Use {prompt} placeholder if your CLI takes the prompt as an arg.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 06ketan 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32461 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32461 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 32461 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

substack-ops 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SUBSTACK_SESSION_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.5)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, dotnet-mcp

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

dotnet-mcp

作者:Skymly

MCP server for .NET symbols, XAML, source generators, and restricted workspace edit

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

substack-ops

Standalone Substack CLI + 26-tool MCP server for Cursor MCP, Claude MCP, OpenCode MCP, and any stdio MCP host. Your IDE drafts the replies. Zero AI API keys.

Site → [substack-ops.chavan.in](https://substack-ops.chavan.in) · Source → [06ketan/substack-ops](https://github.com/06ketan/substack-ops) · Glama → [mcp/servers/06ketan/substack-ops](https://glama.ai/mcp/servers/06ketan/substack-ops)

Posts, notes, comments, replies, reactions, restacks, recommendations, search, profiles, feeds, automations, MCP server, Textual TUI. One Python install, one binary, MIT licensed.

TL;DR — MCP-native (no API key, one command)

uvx substack-ops mcp install cursor          # or claude-desktop, claude-code, opencode, print

Restart your host. Then in chat:

"list unanswered comments on post 193866852"

"draft a warm reply to comment 12345"

"post that draft"

Your host's LLM (Cursor's, Claude's) does the drafting via the propose_reply / confirm_reply tools. No ANTHROPIC_API_KEY / OPENAI_API_KEY needed.

Wrong install?

This project is `substack-ops` on [PyPI](https://pypi.org/project/substack-ops/) — install with `uv` / `uvx`, not unrelated `npx` packages that appear when searching “Substack MCP”. Canonical listing: [Glama — 06ketan/substack-ops](https://glama.ai/mcp/servers/06ketan/substack-ops).

Works with (MCP)

These rows help discovery (search keywords); confirm each host’s current MCP docs before upgrading.

Open source–oriented hosts
HostDocumentationTypical wire-up
OpenCodeOpenCode MCP serversuvx substack-ops mcp install opencode
ContinueContinueuvx substack-ops mcp install print — paste the snippet into Continue’s MCP settings
ZedZedConfigure stdio MCP per Zed’s docs
ClineClineMCP setup per extension / marketplace docs
GooseGooseMCP extensions per Goose docs
Large commercial stacks
HostDocumentationTypical wire-up
CursorCursor MCPuvx substack-ops mcp install cursor
Claude (Desktop / Code)Claude Desktop, Claude Codemcp install claude-desktop / claude-code
GitHub CopilotCopilotMCP in VS Code / Copilot where supported — use print + host docs
ChatGPTOpenAIDeveloper / connector flows — often REST (Slideshot API) for tools without MCP
Google GeminiGeminiGemini CLI / IDE features per Google docs — stdio where supported
OpenCode (copy-paste)

Auto-install:

uvx substack-ops mcp install opencode

Manual (~/.config/opencode/opencode.json):

{

"mcp": { "substack-ops": { "type": "local", "command": ["uvx", "substack-ops", "mcp", "serve"], "enabled": true } } }

Optional version pin: use ["uvx", "substack-ops==0.3.5", "mcp", "serve"] (replace with current PyPI release).

Setup (dev / from source)

git clone https://github.com/06ketan/substack-ops && cd substack-ops

uv sync uv sync --extra mcp # mcp SDK for the MCP server (recommended) uv sync --extra tui # textual for the TUI uv sync --extra chrome # pycryptodome + keyring for Chrome cookie auto-grab

Auth defaults to ~/.cursor/mcp.json's mcpServers.substack-api.env. Override with env or .env. Or use one of the auth flows in auth login / auth setup.

uv run substack-ops auth verify

uv run substack-ops quickstart # 20-step tour

Command surface

Grouped by intent. Every write defaults to --dry-run; flip with --no-dry-run (and --yes-i-mean-it for the irreversible ones). All writes land in .cache/audit.jsonl and are dedup-checked against .cache/actions.db.

Auth (4)
CommandWhat it does
auth verifyConfirm the cookie works; print authed user/pub.
auth testSame as verify, exit non-zero on failure (CI-friendly).
`auth login --browser chrome\brave`Auto-grab cookie from local Chromium browser via macOS Keychain.
auth login --email me@x.comEmail magic-link → paste-the-link interactive flow.
auth setupInteractive paste of connect.sid cookie.
Read — Posts (8)
CommandWhat it does
`posts list [--pub] [--limit] [--sort new\top]`List posts from a publication (yours by default).
posts show [--pub]Post metadata (title, dates, reactions, comment count).
posts get --slug [--pub]Same as show but slug-only.
posts content [--md] [--pub]HTML body (auth-aware for paywalled). --md converts to Markdown.
posts stats Engagement counts — reactions, comments.
posts search [--pub] [--limit]Substack-side full-text search.
posts paywalled [--pub]Boolean: is this post paywalled?
posts react [--off] [--pub]Add (or remove with --off) a reaction. Defaults to ❤.
posts restack [--off]Restack a post (Substack does not support unrestack).
Read — Notes (5)
CommandWhat it does
notes list [--limit]Your published Notes.
notes show One note + its reply tree.
notes publish [--no-dry-run]Publish a top-level Note.
notes react [--off]React on any Note.
notes restack [--off]Restack a Note.
Read + Write — Comments (5)
CommandWhat it does
comments tree [--pub]Full nested comment tree as table.
comments export --out file.json [--pub]Same tree as JSON.
comments add [--pub] [--no-dry-run]New top-level comment.
`comments react --kind post\note [--off]`React on a comment.
`comments delete --kind post\note [--no-dry-run]`Destructive — your own comments only.
Reply engine (6)
CommandWhat it does
reply template --template thanksRule-based replies (no LLM).
reply review LLM drafts each, you [a]ccept / [e]dit / [s]kip / [q]uit.
reply bulk --out drafts.jsonDraft every comment to a file. Edit, set action: "approved".
reply note-bulk --out drafts.jsonSame for replies under a Note.
reply bulk-send drafts.json [--no-dry-run]Posts only approved rows. Dedup-checked.
reply auto --no-dry-run --yes-i-mean-itDraft + post immediately. 30s rate limit.
Read — Discovery (8)
CommandWhat it does
`feed list --tab for-you\subscribed\category-{slug}`Reader feed (the Substack app feed).
profile me / profile get Profile.
users get / users subscriptions Public user info + their subs.
podcasts list [--pub]Audio posts.
recommendations list [--pub]Pub's recommended publications.
authors list [--pub]Pub's contributor list.
categories list / categories get --name Substack's category taxonomy.
Automations (3)
CommandWhat it does
auto presetsList built-in YAML rules.
auto run One-shot run a preset.
auto daemon --interval 60Loop forever; logs to audit.
Operations + safety (3)
CommandWhat it does
audit search [--kind] [--target] [--status] [--since 7d]Query the JSONL audit log.
audit dedup-statusCounts in the dedup SQLite DB.
quickstart20-step interactive tour.
MCP server (3)
CommandWhat it does
mcp install [--dry-run]Auto-merge config into your host.
mcp servestdio MCP server (26 tools).
mcp list-toolsPrint the tool registry.
Other (1)
CommandWhat it does
tuiTextual TUI — 6 tabs (Notes, Posts, Comments, Feed, Auto, Profile).

Multi-publication

Every read command accepts --pub . Defaults to your own publication.

substack-ops posts list --pub stratechery --limit 5

substack-ops posts search "ai" --pub stratechery substack-ops recommendations list --pub stratechery

Reply modes

ModeWhat it doesSafety
templateYAML keyword/regex rules under src/substack_ops/templates/*.yamldry-run default
reviewLLM drafts each reply, you [a]ccept / [e]dit / [s]kip / [q]uitdry-run default + manual gate per comment
bulkLLM drafts every comment to drafts.json. Edit file, set action: "approved"offline review, dedup-checked on send
bulk-sendPosts only items with action: "approved"dry-run default; dedup DB prevents the M2 31-dup-replies regression
autoLLM drafts and posts immediatelyrequires --no-dry-run --yes-i-mean-it, 30s rate limit

After every live note-reply the engine re-fetches the new comment and asserts ancestor_path is non-empty. If empty, the audit row's result_status is flipped to "orphaned" (the M2 bug where parent_comment_id was silently dropped — now caught).

Automations

Built-in presets (auto presets):

  1. like-back — when someone reacts to your note, react to their latest note.
  2. auto-reply — same trigger, but post a templated thank-you.
  3. auto-restack — when a watchlist handle posts a new note, restack it.
  4. follow-back — when someone follows you, follow them back.

Custom YAML rules under ~/.config/substack-ops/auto/*.yaml. Loop with auto daemon --interval 60.

MCP server

substack-ops mcp install opencode          # auto-add to ~/.config/opencode/opencode.json

substack-ops mcp install cursor # auto-add to ~/.cursor/mcp.json substack-ops mcp install claude-desktop # auto-add to claude_desktop_config.json substack-ops mcp install claude-code

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx