← Index

medium-ops

io.github.06ketan/medium-ops·v0.1.0·Developer Tools
Quality Score
90
/100

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

§01  Install
Claude Desktop (uvx)
{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<your-medium_integration_token>",
        "MEDIUM_SID": "<your-medium_sid>",
        "MEDIUM_UID": "<medium_uid>",
        "MEDIUM_XSRF": "<your-medium_xsrf>",
        "MEDIUM_CF_CLEARANCE": "<your-medium_cf_clearance>",
        "MEDIUM_USERNAME": "<medium_username>",
        "MEDIUM_OPS_MCP_PATH": "<medium_ops_mcp_path>",
        "MEDIUM_OPS_LLM_CMD": "<medium_ops_llm_cmd>"
      }
    }
  }
}
§02  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.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
§04  Alternatives in Developer Tools