Skip to content
VS Code

Substack MCP Server for VS Code

io.github.marcomoauro/substack-mcp

Manage Substack publishing, subscribers, analytics, reader feeds, comments, and images through MCP.

client:VS Code transport:stdio runtime:npm

Install Substack MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "substack-publication-url",
      "description": "SUBSTACK_PUBLICATION_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-session-token",
      "description": "SUBSTACK_SESSION_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "substack-user-id",
      "description": "SUBSTACK_USER_ID",
      "password": true
    }
  ],
  "servers": {
    "substack-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "${input:substack-publication-url}",
        "SUBSTACK_SESSION_TOKEN": "${input:substack-session-token}",
        "SUBSTACK_USER_ID": "${input:substack-user-id}"
      }
    }
  }
}

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

Substack MCP Server in other clients