Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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 medium-ops on PyPI — install with uv / uvx, not unrelated npx packages from “Medium MCP” searches. Canonical listing: Glama — 06ketan/medium-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 medium-ops mcp install opencode |
| Continue | Continue | uvx medium-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 medium-ops mcp install cursor |
| Claude (Desktop / Code) | Claude Desktop, Claude Code | mcp install claude-desktop / claude-code |
| GitHub Copilot | Copilot | MCP in VS Code where supported — use print + host docs |
| ChatGPT | OpenAI | Connector flows — often REST for tools without MCP |
| Google Gemini | Gemini | Gemini CLI / IDE features per Google docs |
Auto-install:
Manual (~/.config/opencode/opencode.json):
Optional version pin: ["uvx", "medium-ops==0.1.2", "mcp", "serve"] (replace with current PyPI release).
Medium exposes three usable surfaces and we use all of them:
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.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).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.
Auth is read from ~/.cursor/mcp.json's mcpServers.medium-ops.env (or
medium-api / medium). Override with env or .env.
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.
| Command | What it does |
|---|---|
auth verify | Probe both integration token (/me) and sid cookie (GraphQL Viewer). |
auth test | Same but exits non-zero on failure (CI-friendly). |
auth setup | Interactive: paste token / sid / uid / username to .env. |
| Command | What it does |
|---|---|
posts list [--user] [--limit] | Latest stories by a user (default: self). |
posts show <id_or_url> | Story metadata (title, clap count, response count). |
posts content <id> [--md] | Body HTML (or Markdown with --md). |
posts search <query> [--limit] | Medium-side full-text search. |
| `posts publish -t "..." -f body.md [--pub] [--status draft | public |
| Command | What it does |
|---|---|
responses list <post_id> [--limit] | Top-level responses table. |
responses tree <post_id> [--out file.json] | Full response + reply tree JSON. |
responses add <post_id> "body" [--parent <r_id>] [--no-dry-run] | Post a response or reply. |
| Command | What it does |
|---|---|
claps count <post_id> | Total claps. |
claps give <post_id> [--claps N] [--no-dry-run] | Clap 1-50 times. Dedup-protected. |
| Command | What it does |
|---|---|
feed list [--tab home|following|tag-{slug}] [--limit] | Reader feed. |
profile me | Your full profile (GraphQL). |
profile get <username> | Any user's public profile. |
profile stats [--days N] | Per-post views / reads / fans (dashboard scrape). |
profile publications | Publications you can publish to (integration token). |
| Command | What it does |
|---|---|
reply template <post_id> --template thanks | Rule-based replies (no LLM). |
reply bulk <post_id> --out drafts.json | Draft every response to a file. |
reply bulk-send drafts.json [--no-dry-run] | Post only action=approved rows. Dedup-checked. |
| 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. |
| Command | What it does |
|---|---|
mcp install <cursor|claude-desktop|claude-code|opencode|print> [--dry-run] | Auto-merge config into your host. |
mcp serve | stdio MCP server (22 tools). |
mcp list-tools | Print the tool registry. |
| Command | What it does |
|---|---|
quickstart | Print a quickstart checklist. |
| Mode | What it does | Safety |
|---|---|---|
template | YAML keyword rules under src/medium_ops/templates/*.yaml | dry-run default |
bulk | LLM drafts every response to drafts.json. Edit, set action: "approved" | offline review, dedup-checked on send |
bulk-send | Posts only items with action: "approved" | dry-run default; dedup DB prevents dup replies |
MCP propose_reply → confirm_reply | Host LLM drafts, you approve per-item, token-gated | 5-min token TTL, idempotent, no API key |
Manual config snippet:
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/medium-ops)<a href="https://allmcps.com/mcp/medium-ops"><img src="https://allmcps.com/api/badge/medium-ops?style=directory" alt="Medium Ops on AllMCPs" /></a>