Skip to content
MCP server

medium-ops

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.2
Listing updated
5 days ago

About medium-ops

medium-ops is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add medium-ops --env MEDIUM_INTEGRATION_TOKEN='<MEDIUM_INTEGRATION_TOKEN>' --env MEDIUM_SID='<MEDIUM_SID>' --env MEDIUM_XSRF='<MEDIUM_XSRF>' --env MEDIUM_CF_CLEARANCE='<MEDIUM_CF_CLEARANCE>' -- uvx medium-ops

Add to claude_desktop_config.json

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<MEDIUM_SID>",
        "MEDIUM_XSRF": "<MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<MEDIUM_SID>",
        "MEDIUM_XSRF": "<MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "medium-ops": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<MEDIUM_SID>",
        "MEDIUM_XSRF": "<MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<MEDIUM_SID>",
        "MEDIUM_XSRF": "<MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<MEDIUM_SID>",
        "MEDIUM_XSRF": "<MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MEDIUM_INTEGRATION_TOKENLegacy 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_SIDMedium '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_XSRFMedium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).
  • MEDIUM_CF_CLEARANCECloudflare '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.

Pricing

Open source

Prices change. Check medium-ops.chavan.in before you buy.

medium-ops FAQ

Is medium-ops free?

Yes. medium-ops is open source, so you can use and self-host it for free.

How do I add medium-ops to Claude Code?

Run this command in your terminal: claude mcp add medium-ops --env MEDIUM_INTEGRATION_TOKEN='<MEDIUM_INTEGRATION_TOKEN>' --env MEDIUM_SID='<MEDIUM_SID>' --env MEDIUM_XSRF='<MEDIUM_XSRF>' --env MEDIUM_CF_CLEARANCE='<MEDIUM_CF_CLEARANCE>' -- uvx medium-ops

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers