Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MEDIUM_INTEGRATION_TOKEN, MEDIUM_SID, MEDIUM_UID, MEDIUM_XSRF, MEDIUM_CF_CLEARANCE, MEDIUM_USERNAME, MEDIUM_OPS_MCP_PATH, MEDIUM_OPS_LLM_CMD「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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_UID envMEDIUM_USERNAME envMEDIUM_OPS_MCP_PATH envMEDIUM_OPS_LLM_CMD envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント 06ketan で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:MEDIUM_INTEGRATION_TOKEN, MEDIUM_SID, MEDIUM_XSRF, MEDIUM_CF_CLEARANCE
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.2)がレジストリに届いたのは6 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Recta
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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.
Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
uvx medium-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 `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).
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:
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).
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.
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
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 | 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 draft | public | unlisted]` | Publish via integration token. |
| Command | What 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. |
| Command | What it does |
|---|---|
claps count | Total claps. |
claps give [--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 | 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 --template thanks | Rule-based replies (no LLM). |
reply bulk --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 [--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 |
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
The safety + drafting stack that makes the unattended mode safe:
| Tool | What it does |
|---|---|
get_unanswered_responses | Worklist — responses where you haven't replied. |
propose_reply | Dry-run only. Returns a token + payload preview. |
confirm_reply | Posts the staged reply by token. Idempotent via dedup DB. Token TTL 5 min. |
bulk_draft_replies / send_approved_drafts | File-based offline review loop. |
audit_search / dedup_status | Read the audit log + dedup counts. |
Two layers, both free:
propose_reply / confirm_reply. No env vars, no API key. Use this for interactive replies.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.
Medium has two auth layers that map to different feature surfaces:
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.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
冒頭だけを表示しています。続きはリポジトリで読めます