Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUBSTACK_API_KEY | Yes | Your Substack API key (connect.sid cookie value from substack.com) | |
| SUBSTACK_HOSTNAME | Yes | Your Substack hostname (e.g., yourname.substack.com) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_own_profile | Get your own Substack profile information |
| get_profile_posts | Get your recent Substack posts |
| create_note | Create a new Substack note (short-form post) |
| create_note_with_link | Create a new Substack note with a link attachment |
| get_post | Get a specific Substack post by ID with full content |
| get_post_comments | Get comments for a specific Substack post |
| get_notes | Get your recent Substack notes (short-form posts) |
| create_post | Create and publish a full Substack blog post with optional cover image |