medium-ops
MCPby 06ketan · v0.1.2
Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.
MCP configuration
Command
Environment
MEDIUM_INTEGRATION_TOKENsecretLegacy 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_SIDsecretMedium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.
MEDIUM_UIDMedium 'uid' cookie value. Required alongside sid for some authenticated endpoints.
MEDIUM_XSRFsecretMedium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).
MEDIUM_CF_CLEARANCEsecretCloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.
MEDIUM_USERNAMEYour Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch.
MEDIUM_OPS_MCP_PATHOverride path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.
MEDIUM_OPS_LLM_CMDOptional: 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.