Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUBSTACK_SID | Yes | Your Substack session ID cookie value (substack.sid) | |
| SUBSTACK_PUBLICATION | Yes | Your Substack publication URL (e.g., your-publication.substack.com) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| substack_create_draft | Create a new Substack draft post |
| substack_update_draft | Update an existing draft's content |
| substack_append_to_draft | Append content to an existing draft (for live blogging) |
| substack_add_code_block | Add a code block to a draft |
| substack_add_image | Add an image to a draft |
| substack_publish | Publish a draft to your Substack |
| substack_post_note | Post a short note (like a tweet) |
| substack_get_drafts | List all drafts |
| substack_get_posts | List published posts |
| substack_live_blog_start | Start a live blogging session |
| substack_live_blog_end | End the current live blogging session |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Substack Drafts | List of all draft posts |
| Substack Posts | List of published posts |
| Substack Profile | Your Substack profile |
| Live Blog Session | Current live blogging session state |