Skip to content
VS Code

medium-ops for VS Code

io.github.06ketan/medium-ops

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

client:VS Code transport:stdio runtime:pypi

Install medium-ops in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "medium-integration-token",
      "description": "MEDIUM_INTEGRATION_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-sid",
      "description": "MEDIUM_SID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-uid",
      "description": "MEDIUM_UID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-xsrf",
      "description": "MEDIUM_XSRF",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-cf-clearance",
      "description": "MEDIUM_CF_CLEARANCE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-username",
      "description": "MEDIUM_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-ops-mcp-path",
      "description": "MEDIUM_OPS_MCP_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "medium-ops-llm-cmd",
      "description": "MEDIUM_OPS_LLM_CMD",
      "password": true
    }
  ],
  "servers": {
    "medium-ops": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "medium-ops"
      ],
      "env": {
        "MEDIUM_INTEGRATION_TOKEN": "${input:medium-integration-token}",
        "MEDIUM_SID": "${input:medium-sid}",
        "MEDIUM_UID": "${input:medium-uid}",
        "MEDIUM_XSRF": "${input:medium-xsrf}",
        "MEDIUM_CF_CLEARANCE": "${input:medium-cf-clearance}",
        "MEDIUM_USERNAME": "${input:medium-username}",
        "MEDIUM_OPS_MCP_PATH": "${input:medium-ops-mcp-path}",
        "MEDIUM_OPS_LLM_CMD": "${input:medium-ops-llm-cmd}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

medium-ops in other clients