AgentHubAgentHub

medium-ops

MCP ServerMCP Registry官方收录

io.github.06ketan/medium-ops · v0.1.2

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

概览

medium-ops 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "medium-ops": {
      "command": "uvx",
      "args": [
        "medium-ops"
      ]
    }
  }
}

环境变量

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.

相关资源

统一 Manifest

{
  "id": "io.github.06ketan/medium-ops",
  "type": "mcp-server",
  "version": "0.1.2",
  "displayName": "medium-ops",
  "description": "Medium CLI + 23-tool MCP server. Your IDE drafts replies. No API keys.",
  "repository": {
    "url": "https://github.com/06ketan/medium-ops",
    "source": "github"
  },
  "homepage": "https://medium-ops.chavan.in",
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "medium-ops",
        "version": "0.1.2",
        "runtimeHint": "uvx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "MEDIUM_INTEGRATION_TOKEN",
            "description": "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).",
            "isSecret": true
          },
          {
            "name": "MEDIUM_SID",
            "description": "Medium 'sid' cookie value from medium.com (Application → Cookies). Used for authenticated reads + dashboard GraphQL.",
            "isSecret": true
          },
          {
            "name": "MEDIUM_UID",
            "description": "Medium 'uid' cookie value. Required alongside sid for some authenticated endpoints."
          },
          {
            "name": "MEDIUM_XSRF",
            "description": "Medium 'xsrf' cookie value. Required for any dashboard write (post_response, publish_post, delete_post, draft updates).",
            "isSecret": true
          },
          {
            "name": "MEDIUM_CF_CLEARANCE",
            "description": "Cloudflare 'cf_clearance' cookie. Only required when Cloudflare challenges your IP for dashboard write calls.",
            "isSecret": true
          },
          {
            "name": "MEDIUM_USERNAME",
            "description": "Your Medium handle (without the @). Required for the public RSS read path so the client knows whose feed to fetch."
          },
          {
            "name": "MEDIUM_OPS_MCP_PATH",
            "description": "Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json."
          },
          {
            "name": "MEDIUM_OPS_LLM_CMD",
            "description": "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."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.06ketan/medium-ops",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.06ketan%2Fmedium-ops/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
medium-ops — MCP Server 安装与配置 · AgentHub