← Back to Plugins
MCP Server MCP

substack-ops

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

uvx substack-ops

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "registryBaseUrl": "https://pypi.org",
      "identifier": "substack-ops",
      "version": "0.3.5",
      "runtimeHint": "uvx",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "value": "mcp",
          "type": "positional"
        },
        {
          "value": "serve",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "Your Substack publication URL (e.g. https://you.substack.com/). Optional if set in ~/.cursor/mcp.json's mcpServers.substack-api.env.",
          "name": "SUBSTACK_PUBLICATION_URL"
        },
        {
          "description": "Your Substack numeric user id. Optional if set in ~/.cursor/mcp.json.",
          "name": "SUBSTACK_USER_ID"
        },
        {
          "description": "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.",
          "isSecret": true,
          "name": "SUBSTACK_SESSION_TOKEN"
        },
        {
          "description": "Override path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.",
          "name": "SUBSTACK_OPS_MCP_PATH"
        },
        {
          "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.",
          "name": "SUBSTACK_OPS_LLM_CMD"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...