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

medium-ops

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

安装

概览

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

Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: MEDIUM_INTEGRATION_TOKEN, MEDIUM_SID, MEDIUM_UID, MEDIUM_XSRF, MEDIUM_CF_CLEARANCE, MEDIUM_USERNAME, MEDIUM_OPS_MCP_PATH, MEDIUM_OPS_LLM_CMD

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "your-value",
        "MEDIUM_SID": "your-value",
        "MEDIUM_UID": "your-value",
        "MEDIUM_XSRF": "your-value",
        "MEDIUM_CF_CLEARANCE": "your-value",
        "MEDIUM_USERNAME": "your-value",
        "MEDIUM_OPS_MCP_PATH": "your-value",
        "MEDIUM_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add medium-ops --env MEDIUM_INTEGRATION_TOKEN=your-value --env MEDIUM_SID=your-value --env MEDIUM_UID=your-value --env MEDIUM_XSRF=your-value --env MEDIUM_CF_CLEARANCE=your-value --env MEDIUM_USERNAME=your-value --env MEDIUM_OPS_MCP_PATH=your-value --env MEDIUM_OPS_LLM_CMD=your-value -- uvx medium-ops mcp serve

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "your-value",
        "MEDIUM_SID": "your-value",
        "MEDIUM_UID": "your-value",
        "MEDIUM_XSRF": "your-value",
        "MEDIUM_CF_CLEARANCE": "your-value",
        "MEDIUM_USERNAME": "your-value",
        "MEDIUM_OPS_MCP_PATH": "your-value",
        "MEDIUM_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "medium-ops": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "medium-ops",
        "mcp",
        "serve"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "your-value",
        "MEDIUM_SID": "your-value",
        "MEDIUM_UID": "your-value",
        "MEDIUM_XSRF": "your-value",
        "MEDIUM_CF_CLEARANCE": "your-value",
        "MEDIUM_USERNAME": "your-value",
        "MEDIUM_OPS_MCP_PATH": "your-value",
        "MEDIUM_OPS_LLM_CMD": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • MEDIUM_INTEGRATION_TOKEN 机密 env
    Legacy Medium Integration Token (api.medium.com/v1/*). Optional. Generate at medium.com/me/settings → 'Integration tokens' (note: Medium stopped issuing new tokens in 2023).
  • MEDIUM_SID 机密 env
    Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.
  • MEDIUM_UID env
    Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints.
  • MEDIUM_XSRF 机密 env
    Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).
  • MEDIUM_CF_CLEARANCE 机密 env
    Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.
  • MEDIUM_USERNAME env
    Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch.
  • MEDIUM_OPS_MCP_PATH env
    Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.
  • MEDIUM_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

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

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

常见问题

medium-ops 安全吗?

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

它需要哪些密钥或代码?

你需要填写:MEDIUM_INTEGRATION_TOKEN, MEDIUM_SID, MEDIUM_XSRF, MEDIUM_CF_CLEARANCE

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Fomu 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昨天更新
安装

Fomu MCP

作者:gabrielmahia

Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.

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

作者的 README

打开 README

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

medium-ops

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

Stories, responses, claps, feed, profiles, stats, reply engine, MCP server. One Python install, one binary, MIT licensed. Sibling of substack-ops.

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

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

Restart your host. Then in chat:

"list unanswered responses on post abc123def456"

"draft a warm reply to response r1"

"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 `medium-ops` on [PyPI](https://pypi.org/project/medium-ops/) — install with `uv` / `uvx`, not unrelated `npx` packages from “Medium MCP” searches. Canonical listing: [Glama — 06ketan/medium-ops](https://glama.ai/mcp/servers/06ketan/medium-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 medium-ops mcp install opencode
ContinueContinueuvx medium-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 medium-ops mcp install cursor
Claude (Desktop / Code)Claude Desktop, Claude Codemcp install claude-desktop / claude-code
GitHub CopilotCopilotMCP in VS Code where supported — use print + host docs
ChatGPTOpenAIConnector flows — often REST for tools without MCP
Google GeminiGeminiGemini CLI / IDE features per Google docs
OpenCode (copy-paste)

Auto-install:

uvx medium-ops mcp install opencode

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

{

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

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

Why a hybrid

Medium exposes three usable surfaces and we use all of them:

  1. Public RSS (reads, no auth). medium.com/feed/@{user} returns the author's ~10 most recent stories with body_html, pubDate, tags, hero image, and dc:creator. Zero credentials, faster than GraphQL, stable. Used by default for list_posts / get_post / get_post_content. Inspired by Portfolio_V2's blog page.
  2. Dashboard GraphQL (authenticated reads). medium.com/_/graphql + medium.com/_/api/* with the sid cookie. Used as a fallback when you ask for more than ~10 posts, when the post isn't in the RSS window, or for things RSS can't give you (responses, claps, feed, stats, search).
  3. Official REST (writes). api.medium.com/v1/* with an Integration Token. Supports createPost, createPostInPublication, getUser, getPublications. That's it.

Force a specific transport with --source rss|graphql|auto on posts list, posts show, and posts content. The dashboard + GraphQL endpoints are undocumented and Medium can change them at any time. See Known gaps.

Setup (dev / from source)

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

uv sync uv sync --extra mcp # mcp SDK for the MCP server (recommended) uv sync --extra tui # textual for the TUI

Auth is read from ~/.cursor/mcp.json's mcpServers.medium-ops.env (or medium-api / medium). Override with env or .env.

uv run medium-ops auth verify

uv run medium-ops quickstart

Command surface

Every write defaults to --dry-run. Flip with --no-dry-run. All writes land in .cache/audit.jsonl and are dedup-checked against .cache/actions.db.

Auth (3)
CommandWhat it does
auth verifyProbe both integration token (/me) and sid cookie (GraphQL Viewer).
auth testSame but exits non-zero on failure (CI-friendly).
auth setupInteractive: paste token / sid / uid / username to .env.
Read — Stories (5)
CommandWhat it does
posts list [--user] [--limit]Latest stories by a user (default: self).
posts show Story metadata (title, clap count, response count).
posts content [--md]Body HTML (or Markdown with --md).
posts search [--limit]Medium-side full-text search.
`posts publish -t "..." -f body.md [--pub] [--status draftpublicunlisted]`Publish via integration token.
Read + Write — Responses (3)
CommandWhat it does
responses list [--limit]Top-level responses table.
responses tree [--out file.json]Full response + reply tree JSON.
responses add "body" [--parent ] [--no-dry-run]Post a response or reply.
Read + Write — Claps (2)
CommandWhat it does
claps count Total claps.
claps give [--claps N] [--no-dry-run]Clap 1-50 times. Dedup-protected.
Read — Discovery + Profile (5)
CommandWhat it does
`feed list [--tab home\following\tag-{slug}] [--limit]`Reader feed.
profile meYour full profile (GraphQL).
profile get Any user's public profile.
profile stats [--days N]Per-post views / reads / fans (dashboard scrape).
profile publicationsPublications you can publish to (integration token).
Reply engine (3)
CommandWhat it does
reply template --template thanksRule-based replies (no LLM).
reply bulk --out drafts.jsonDraft every response to a file.
reply bulk-send drafts.json [--no-dry-run]Post only action=approved rows. Dedup-checked.
Operations + safety (2)
CommandWhat it does
audit search [--kind] [--target] [--status] [--since 7d]Query the JSONL audit log.
audit dedup-statusCounts in the dedup SQLite DB.
MCP server (3)
CommandWhat it does
mcp install [--dry-run]Auto-merge config into your host.
mcp servestdio MCP server (22 tools).
mcp list-toolsPrint the tool registry.
Other (1)
CommandWhat it does
quickstartPrint a quickstart checklist.

Reply modes

ModeWhat it doesSafety
templateYAML keyword rules under src/medium_ops/templates/*.yamldry-run default
bulkLLM drafts every response to drafts.json. Edit, set action: "approved"offline review, dedup-checked on send
bulk-sendPosts only items with action: "approved"dry-run default; dedup DB prevents dup replies
MCP propose_reply → confirm_replyHost LLM drafts, you approve per-item, token-gated5-min token TTL, idempotent, no API key

MCP server

medium-ops mcp install opencode          # ~/.config/opencode/opencode.json

medium-ops mcp install cursor # auto-add to ~/.cursor/mcp.json medium-ops mcp install claude-desktop # auto-add to claude_desktop_config.json medium-ops mcp install claude-code # uses claude mcp add medium-ops mcp install print # print the snippet only medium-ops mcp serve # stdio server medium-ops mcp list-tools # 22 tools

Manual config snippet:

{

"mcpServers": { "medium-ops": { "command": "medium-ops", "args": ["mcp", "serve"] } } }

If the mcp SDK is not installed, the server falls back to a minimal stdin/stdout JSON-line dispatcher:

echo '{"tool":"list_posts","args":{"limit":3}}' | medium-ops mcp serve
MCP-native draft loop (no API key)

The safety + drafting stack that makes the unattended mode safe:

ToolWhat it does
get_unanswered_responsesWorklist — responses where you haven't replied.
propose_replyDry-run only. Returns a token + payload preview.
confirm_replyPosts the staged reply by token. Idempotent via dedup DB. Token TTL 5 min.
bulk_draft_replies / send_approved_draftsFile-based offline review loop.
audit_search / dedup_statusRead the audit log + dedup counts.

LLM strategy

Two layers, both free:

  1. MCP-native (default). Host LLM drafts via propose_reply / confirm_reply. No env vars, no API key. Use this for interactive replies.
  2. Subprocess CLI (daemon path). For reply bulk when no human is in the loop. Auto-detects claude (Claude Code), cursor-agent, or codex on PATH. Override with MEDIUM_OPS_LLM_CMD.

There is no paid-API-key path.

Auth setup

Medium has two auth layers that map to different feature surfaces:

  1. Integration Token — Authorization: Bearer . Used against api.medium.com/v1/*. Gets you: publish_post, list_own_publications. Token generation at https://medium.com/me/settings → "Integration tokens". Note: Medium stopped issuing new tokens in 2023. If you never generated one, the write path will 401 and you'll have to use the sid-cookie response path for any writes.
  2. sid cookie — from medium.com (Application → Cookies → sid). Used against medium.com/_/graphql and medium.com/_/api/*. Gets you: all reads (stories, responses, claps, feed, stats, profile), plus clap_post and post_response (fragile — undocumented).
medium-ops auth verify

medium-ops auth test medium-ops auth setup medium-ops auth har ./medium.har # ingest a Chrome dev

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

问 PopNx