Skip to main content

medium-ops

io.github.06ketan/medium-ops

v0.1.2Updated May 3, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add medium-ops -- uvx medium-ops==0.1.2 mcp serve

Configuration

8 settings.

  • MEDIUM_INTEGRATION_TOKEN
    Env var· optional· secret
    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 var· optional· secret
    Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.
  • MEDIUM_XSRF
    Env var· optional· secret
    Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).
  • MEDIUM_CF_CLEARANCE
    Env var· optional· secret
    Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.
  • MEDIUM_UID
    Env var· optional
    Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints.
  • MEDIUM_USERNAME
    Env var· optional
    Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch.
Show 2 more
  • MEDIUM_OPS_MCP_PATH
    Env var· optional
    Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.
  • MEDIUM_OPS_LLM_CMD
    Env var· optional
    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.

Listed in the official MCP Registry since May 3, 2026. Mirrored daily; last checked Nov 26, 2026.