Skip to content
VS Code

substack-ops for VS Code

io.github.06ketan/substack-ops

Substack CLI + 26-tool MCP server. Your IDE drafts replies via propose_reply. No API keys.

client:VS Code transport:stdio runtime:pypi

Install substack-ops in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "substack-publication-url",
      "description": "SUBSTACK_PUBLICATION_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-user-id",
      "description": "SUBSTACK_USER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-session-token",
      "description": "SUBSTACK_SESSION_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-ops-mcp-path",
      "description": "SUBSTACK_OPS_MCP_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-ops-llm-cmd",
      "description": "SUBSTACK_OPS_LLM_CMD",
      "password": true
    }
  ],
  "servers": {
    "substack-ops": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "substack-ops"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "${input:substack-publication-url}",
        "SUBSTACK_USER_ID": "${input:substack-user-id}",
        "SUBSTACK_SESSION_TOKEN": "${input:substack-session-token}",
        "SUBSTACK_OPS_MCP_PATH": "${input:substack-ops-mcp-path}",
        "SUBSTACK_OPS_LLM_CMD": "${input:substack-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

substack-ops in other clients