Koskamo

Substack MCP Server

An MCP server that allows LLM clients to interact with Substack for automations such as creating and publishing posts, managing drafts, working with subscribers and analytics, browsing reader feeds, managing tags and comments, and uploading images.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Substack MCP Server logo, by Marco MoauroCommunity listingLocal stdioSource reviewed; not executedPublished by Marco Moauro
You need:To use the server, you need to retrieve 3 parameters: Session token Publication URL User ID
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 92 GitHub stars

What you can do with it

  • Create and publish posts
  • Manage drafts
  • Work with subscribers and analytics
  • Upload images

Source and maintenance

Community listingRegistry 1.3.2MIT
Last repository push
Latest release
v1.3.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

docker.io/marcomoauro/substack-mcp:v1.3.2

oci
docker.io/marcomoauro/substack-mcp:v1.3.2 package definition
{
  "transport": "stdio",
  "identifier": "docker.io/marcomoauro/substack-mcp:v1.3.2",
  "registryType": "oci",
  "environmentVariables": [
    {
      "name": "SUBSTACK_PUBLICATION_URL",
      "isRequired": true,
      "description": "Full URL of your Substack publication, including https://",
      "placeholder": "https://your-publication.substack.com"
    },
    {
      "name": "SUBSTACK_SESSION_TOKEN",
      "isRequired": true,
      "description": "Value of the substack.sid or connect.sid cookie from your authenticated Substack session"
    },
    {
      "name": "SUBSTACK_USER_ID",
      "isRequired": true,
      "description": "Numeric user ID returned by Substack's publication_user request",
      "placeholder": "123456789"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "substack-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SUBSTACK_PUBLICATION_URL=<YOUR_SUBSTACK_PUBLICATION_URL>",
        "-e",
        "SUBSTACK_SESSION_TOKEN=<YOUR_SUBSTACK_SESSION_TOKEN>",
        "-e",
        "SUBSTACK_USER_ID=<YOUR_SUBSTACK_USER_ID>",
        "docker.io/marcomoauro/substack-mcp:v1.3.2"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "<YOUR_SUBSTACK_PUBLICATION_URL>",
        "SUBSTACK_SESSION_TOKEN": "<YOUR_SUBSTACK_SESSION_TOKEN>",
        "SUBSTACK_USER_ID": "<YOUR_SUBSTACK_USER_ID>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "substack-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SUBSTACK_PUBLICATION_URL=<YOUR_SUBSTACK_PUBLICATION_URL>",
        "-e",
        "SUBSTACK_SESSION_TOKEN=<YOUR_SUBSTACK_SESSION_TOKEN>",
        "-e",
        "SUBSTACK_USER_ID=<YOUR_SUBSTACK_USER_ID>",
        "docker.io/marcomoauro/substack-mcp:v1.3.2"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "<YOUR_SUBSTACK_PUBLICATION_URL>",
        "SUBSTACK_SESSION_TOKEN": "<YOUR_SUBSTACK_SESSION_TOKEN>",
        "SUBSTACK_USER_ID": "<YOUR_SUBSTACK_USER_ID>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "substack-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SUBSTACK_PUBLICATION_URL=<YOUR_SUBSTACK_PUBLICATION_URL>",
        "-e",
        "SUBSTACK_SESSION_TOKEN=<YOUR_SUBSTACK_SESSION_TOKEN>",
        "-e",
        "SUBSTACK_USER_ID=<YOUR_SUBSTACK_USER_ID>",
        "docker.io/marcomoauro/substack-mcp:v1.3.2"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "<YOUR_SUBSTACK_PUBLICATION_URL>",
        "SUBSTACK_SESSION_TOKEN": "<YOUR_SUBSTACK_SESSION_TOKEN>",
        "SUBSTACK_USER_ID": "<YOUR_SUBSTACK_USER_ID>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "substack-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SUBSTACK_PUBLICATION_URL=<YOUR_SUBSTACK_PUBLICATION_URL>",
        "-e",
        "SUBSTACK_SESSION_TOKEN=<YOUR_SUBSTACK_SESSION_TOKEN>",
        "-e",
        "SUBSTACK_USER_ID=<YOUR_SUBSTACK_USER_ID>",
        "docker.io/marcomoauro/substack-mcp:v1.3.2"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "<YOUR_SUBSTACK_PUBLICATION_URL>",
        "SUBSTACK_SESSION_TOKEN": "<YOUR_SUBSTACK_SESSION_TOKEN>",
        "SUBSTACK_USER_ID": "<YOUR_SUBSTACK_USER_ID>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Substack MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.