{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.marcomoauro/substack-mcp",
  "slug": "io.github.marcomoauro.substack-mcp",
  "title": "Substack MCP Server",
  "summary": "Manage Substack publishing, subscribers, analytics, reader feeds, comments, and images through MCP.",
  "version": "1.3.2",
  "serverKey": "substack-mcp",
  "pageUrl": "http://23.23.102.237/tool/io.github.marcomoauro.substack-mcp",
  "installMdUrl": "http://23.23.102.237/tool/io.github.marcomoauro.substack-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T02:12:10.805682508Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp@1.3.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add substack-mcp -e 'SUBSTACK_PUBLICATION_URL=<SUBSTACK_PUBLICATION_URL>' -e 'SUBSTACK_SESSION_TOKEN=<SUBSTACK_SESSION_TOKEN>' -e 'SUBSTACK_USER_ID=<SUBSTACK_USER_ID>' -- npx -y substack-mcp@1.3.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"substack-mcp@1.3.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"<SUBSTACK_PUBLICATION_URL>\",\n        \"SUBSTACK_SESSION_TOKEN\": \"<SUBSTACK_SESSION_TOKEN>\",\n        \"SUBSTACK_USER_ID\": \"<SUBSTACK_USER_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"substack-mcp@1.3.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"<SUBSTACK_PUBLICATION_URL>\",\n        \"SUBSTACK_SESSION_TOKEN\": \"<SUBSTACK_SESSION_TOKEN>\",\n        \"SUBSTACK_USER_ID\": \"<SUBSTACK_USER_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SUBSTACK_PUBLICATION_URL\",\n      \"id\": \"substack-publication-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SUBSTACK_SESSION_TOKEN\",\n      \"id\": \"substack-session-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SUBSTACK_USER_ID\",\n      \"id\": \"substack-user-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"substack-mcp@1.3.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"${input:substack-publication-url}\",\n        \"SUBSTACK_SESSION_TOKEN\": \"${input:substack-session-token}\",\n        \"SUBSTACK_USER_ID\": \"${input:substack-user-id}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.substack-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"substack-mcp@1.3.2\"]\nenv = { \"SUBSTACK_PUBLICATION_URL\" = \"<SUBSTACK_PUBLICATION_URL>\", \"SUBSTACK_SESSION_TOKEN\" = \"<SUBSTACK_SESSION_TOKEN>\", \"SUBSTACK_USER_ID\" = \"<SUBSTACK_USER_ID>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SUBSTACK_PUBLICATION_URL",
        "-e",
        "SUBSTACK_SESSION_TOKEN",
        "-e",
        "SUBSTACK_USER_ID",
        "docker.io/marcomoauro/substack-mcp:v1.3.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add substack-mcp -e 'SUBSTACK_PUBLICATION_URL=<SUBSTACK_PUBLICATION_URL>' -e 'SUBSTACK_SESSION_TOKEN=<SUBSTACK_SESSION_TOKEN>' -e 'SUBSTACK_USER_ID=<SUBSTACK_USER_ID>' -- docker run -i --rm -e SUBSTACK_PUBLICATION_URL -e SUBSTACK_SESSION_TOKEN -e SUBSTACK_USER_ID docker.io/marcomoauro/substack-mcp:v1.3.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"SUBSTACK_PUBLICATION_URL\",\n        \"-e\",\n        \"SUBSTACK_SESSION_TOKEN\",\n        \"-e\",\n        \"SUBSTACK_USER_ID\",\n        \"docker.io/marcomoauro/substack-mcp:v1.3.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"<SUBSTACK_PUBLICATION_URL>\",\n        \"SUBSTACK_SESSION_TOKEN\": \"<SUBSTACK_SESSION_TOKEN>\",\n        \"SUBSTACK_USER_ID\": \"<SUBSTACK_USER_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"SUBSTACK_PUBLICATION_URL\",\n        \"-e\",\n        \"SUBSTACK_SESSION_TOKEN\",\n        \"-e\",\n        \"SUBSTACK_USER_ID\",\n        \"docker.io/marcomoauro/substack-mcp:v1.3.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"<SUBSTACK_PUBLICATION_URL>\",\n        \"SUBSTACK_SESSION_TOKEN\": \"<SUBSTACK_SESSION_TOKEN>\",\n        \"SUBSTACK_USER_ID\": \"<SUBSTACK_USER_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SUBSTACK_PUBLICATION_URL\",\n      \"id\": \"substack-publication-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SUBSTACK_SESSION_TOKEN\",\n      \"id\": \"substack-session-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SUBSTACK_USER_ID\",\n      \"id\": \"substack-user-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"substack-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"SUBSTACK_PUBLICATION_URL\",\n        \"-e\",\n        \"SUBSTACK_SESSION_TOKEN\",\n        \"-e\",\n        \"SUBSTACK_USER_ID\",\n        \"docker.io/marcomoauro/substack-mcp:v1.3.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"SUBSTACK_PUBLICATION_URL\": \"${input:substack-publication-url}\",\n        \"SUBSTACK_SESSION_TOKEN\": \"${input:substack-session-token}\",\n        \"SUBSTACK_USER_ID\": \"${input:substack-user-id}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.substack-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"SUBSTACK_PUBLICATION_URL\", \"-e\", \"SUBSTACK_SESSION_TOKEN\", \"-e\", \"SUBSTACK_USER_ID\", \"docker.io/marcomoauro/substack-mcp:v1.3.2\"]\nenv = { \"SUBSTACK_PUBLICATION_URL\" = \"<SUBSTACK_PUBLICATION_URL>\", \"SUBSTACK_SESSION_TOKEN\" = \"<SUBSTACK_SESSION_TOKEN>\", \"SUBSTACK_USER_ID\" = \"<SUBSTACK_USER_ID>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "SUBSTACK_PUBLICATION_URL",
      "required": true,
      "secret": false,
      "description": "Full URL of your Substack publication, including https://",
      "help": "Full URL of your Substack publication, including https://",
      "placeholder": "<SUBSTACK_PUBLICATION_URL>"
    },
    {
      "name": "SUBSTACK_SESSION_TOKEN",
      "required": true,
      "secret": true,
      "description": "Value of the substack.sid or connect.sid cookie from your authenticated Substack session",
      "help": "Value of the substack.sid or connect.sid cookie from your authenticated Substack session",
      "placeholder": "<SUBSTACK_SESSION_TOKEN>"
    },
    {
      "name": "SUBSTACK_USER_ID",
      "required": true,
      "secret": false,
      "description": "Numeric user ID returned by Substack's publication_user request",
      "help": "Numeric user ID returned by Substack's publication_user request",
      "placeholder": "<SUBSTACK_USER_ID>"
    }
  ],
  "expectedTools": [
    "create_draft_post",
    "set_post_body",
    "upload_image",
    "list_subscribers",
    "export_subscribers",
    "list_posts",
    "get_draft",
    "update_draft",
    "publish_draft",
    "delete_draft",
    "get_publication",
    "get_user_profile",
    "list_publication_tags",
    "get_post_tags",
    "add_tag_to_post",
    "get_post_comments",
    "comment_on_post",
    "list_subscriptions",
    "list_reader_posts",
    "get_reader_post",
    "get_reader_feed",
    "get_profile_feed",
    "get_comment_thread",
    "restack_item",
    "get_publication_stats",
    "get_post_stats",
    "get_analytics"
  ],
  "agentSteps": [
    "Ask the user for: SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: create_draft_post, set_post_body, upload_image, list_subscribers, export_subscribers, list_posts, get_draft, update_draft, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T02:12:10.805682508Z"
}
