medium-ops

io.github.06ketan/medium-ops

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "<your MEDIUM_INTEGRATION_TOKEN>",
        "MEDIUM_SID": "<your MEDIUM_SID>",
        "MEDIUM_XSRF": "<your MEDIUM_XSRF>",
        "MEDIUM_CF_CLEARANCE": "<your MEDIUM_CF_CLEARANCE>"
      }
    }
  }
}
Environment variables
  • 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_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.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.2
Registry
active
Published
5/3/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that medium-ops is listed here — it’s also the link we check for a free listing.

medium-ops — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-06ketan-medium-ops?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="medium-ops — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![medium-ops — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-06ketan-medium-ops?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.