medium-ops

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

stdiocommunityservice

Package Details

Transportstdio
Runtimeuvx

Package Arguments

Positional
Position 0
mcp
Position 1
serve

Environment Variables

MEDIUM_INTEGRATION_TOKEN
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
Secret

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_XSRF
Secret

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

MEDIUM_CF_CLEARANCE
Secret

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.