medium-ops

MCP

by 06ketan · v0.1.2

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

mcplocal

MCP configuration

stdio

Command

uvx medium-ops==0.1.2 mcp serve

Environment

  • MEDIUM_INTEGRATION_TOKENsecret

    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_SIDsecret

    Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.

  • MEDIUM_UID

    Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints.

  • MEDIUM_XSRFsecret

    Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).

  • MEDIUM_CF_CLEARANCEsecret

    Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.

  • MEDIUM_USERNAME

    Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch.

  • MEDIUM_OPS_MCP_PATH

    Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.

  • MEDIUM_OPS_LLM_CMD

    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.

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.