Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUBSTACK_USER_IDNoYour numeric user id. Optional; resolved automatically when absent.
SUBSTACK_MCP_HOMENoWhere session and queue live.~/.substack-mcp
SUBSTACK_MCP_HOSTNoHTTP bind address.127.0.0.1
SUBSTACK_MCP_PORTNoHTTP port.8788
SUBSTACK_AUDIT_LOGNoAppend-only log of attempted writes, e.g. /path/to/audit.log
SUBSTACK_MCP_TOKENNoBearer token for HTTP.
SUBSTACK_READ_ONLYNoDisable every write. Set to '1' to expose only read tools.0
SUBSTACK_USER_AGENTNoOverride the browser signature.Chrome
SUBSTACK_MAX_RETRIESNoRetries on 429 and 5xx.3
SUBSTACK_PUBLICATIONSNoJSON array for several publications, e.g. [{"publication_url":"one.substack.com","session_token":"..."},{"publication_url":"two.substack.com","session_token":"..."}]
SUBSTACK_SESSION_TOKENNoThe connect.sid cookie value
SUBSTACK_PUBLICATION_URLNoYour publication, e.g. example.substack.com
SUBSTACK_ALLOW_DESTRUCTIVENoAllow publish and delete. Set to '0' to disallow destructive tools.1
SUBSTACK_REQUEST_TIMEOUT_MSNoPer-request deadline in milliseconds.30000
SUBSTACK_MCP_ALLOWED_ORIGINSNoExtra origins beyond localhost.
SUBSTACK_MIN_REQUEST_INTERVAL_MSNoMinimum spacing between requests in milliseconds.350

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/navidmoazzez/substack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server