Skip to main content

substack-ops

io.github.06ketan/substack-ops

v0.3.5Updated May 3, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add substack-ops -- uvx substack-ops==0.3.5 mcp serve

Configuration

5 settings.

  • SUBSTACK_SESSION_TOKEN
    Env var· optional· secret
    Your Substack session cookie value (the s%3A... string). Required for authenticated calls. Easier path: run `substack-ops auth login --browser chrome` and the cookie is auto-grabbed.
  • SUBSTACK_PUBLICATION_URL
    Env var· optional
    Your Substack publication URL (e.g. https://you.substack.com/). Optional if set in ~/.cursor/mcp.json's mcpServers.substack-api.env.
  • SUBSTACK_USER_ID
    Env var· optional
    Your Substack numeric user id. Optional if set in ~/.cursor/mcp.json.
  • SUBSTACK_OPS_MCP_PATH
    Env var· optional
    Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.
  • SUBSTACK_OPS_LLM_CMD
    Env var· optional
    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.

Listed in the official MCP Registry since May 3, 2026. Mirrored daily; last checked Nov 26, 2026.