Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Substack CLI + 26-tool MCP server. Your IDE drafts replies via propose_reply. No API keys.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SUBSTACK_PUBLICATION_URL, SUBSTACK_USER_ID, SUBSTACK_SESSION_TOKEN, SUBSTACK_OPS_MCP_PATH, SUBSTACK_OPS_LLM_CMD标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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 envSUBSTACK_USER_ID envSUBSTACK_OPS_MCP_PATH envSUBSTACK_OPS_LLM_CMD env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 06ketan 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP server for .NET symbols, XAML, source generators, and restricted workspace edit
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
uvx substack-ops mcp install cursor # or claude-desktop, claude-code, opencode, print
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.
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).
These rows help discovery (search keywords); confirm each host’s current MCP docs before upgrading.
| Host | Documentation | Typical wire-up |
|---|---|---|
| OpenCode | OpenCode MCP servers | uvx substack-ops mcp install opencode |
| Continue | Continue | uvx substack-ops mcp install print — paste the snippet into Continue’s MCP settings |
| Zed | Zed | Configure stdio MCP per Zed’s docs |
| Cline | Cline | MCP setup per extension / marketplace docs |
| Goose | Goose | MCP extensions per Goose docs |
| Host | Documentation | Typical wire-up |
|---|---|---|
| Cursor | Cursor MCP | uvx substack-ops mcp install cursor |
| Claude (Desktop / Code) | Claude Desktop, Claude Code | mcp install claude-desktop / claude-code |
| GitHub Copilot | Copilot | MCP in VS Code / Copilot where supported — use print + host docs |
| ChatGPT | OpenAI | Developer / connector flows — often REST (Slideshot API) for tools without MCP |
| Google Gemini | Gemini | Gemini CLI / IDE features per Google docs — stdio where supported |
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).
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
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.
| Command | What it does | |
|---|---|---|
auth verify | Confirm the cookie works; print authed user/pub. | |
auth test | Same 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.com | Email magic-link → paste-the-link interactive flow. | |
auth setup | Interactive paste of connect.sid cookie. |
| Command | What 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). |
| Command | What 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. |
| Command | What 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. |
| Command | What it does |
|---|---|
reply template --template thanks | Rule-based replies (no LLM). |
reply review | LLM drafts each, you [a]ccept / [e]dit / [s]kip / [q]uit. |
reply bulk --out drafts.json | Draft every comment to a file. Edit, set action: "approved". |
reply note-bulk --out drafts.json | Same 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-it | Draft + post immediately. 30s rate limit. |
| Command | What 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. |
| Command | What it does |
|---|---|
auto presets | List built-in YAML rules. |
auto run | One-shot run a preset. |
auto daemon --interval 60 | Loop forever; logs to audit. |
| Command | What it does |
|---|---|
audit search [--kind] [--target] [--status] [--since 7d] | Query the JSONL audit log. |
audit dedup-status | Counts in the dedup SQLite DB. |
quickstart | 20-step interactive tour. |
| Command | What it does |
|---|---|
mcp install [--dry-run] | Auto-merge config into your host. |
mcp serve | stdio MCP server (26 tools). |
mcp list-tools | Print the tool registry. |
| Command | What it does |
|---|---|
tui | Textual TUI — 6 tabs (Notes, Posts, Comments, Feed, Auto, Profile). |
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
| Mode | What it does | Safety |
|---|---|---|
template | YAML keyword/regex rules under src/substack_ops/templates/*.yaml | dry-run default |
review | LLM drafts each reply, you [a]ccept / [e]dit / [s]kip / [q]uit | dry-run default + manual gate per comment |
bulk | LLM drafts every comment to drafts.json. Edit file, set action: "approved" | offline review, dedup-checked on send |
bulk-send | Posts only items with action: "approved" | dry-run default; dedup DB prevents the M2 31-dup-replies regression |
auto | LLM drafts and posts immediately | requires --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).
Built-in presets (auto presets):
Custom YAML rules under ~/.config/substack-ops/auto/*.yaml. Loop with auto daemon --interval 60.
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
只显示了开头部分;其余内容请在仓库中阅读