substack-ops
Substack CLI + 26-tool MCP server. Your IDE drafts replies via propose_reply. No API keys.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.5
- Listing updated
- 5 days ago
About substack-ops
substack-ops is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add substack-ops --env SUBSTACK_SESSION_TOKEN='<SUBSTACK_SESSION_TOKEN>' -- uvx substack-opsAdd to claude_desktop_config.json
{
"mcpServers": {
"substack-ops": {
"command": "uvx",
"args": [
"substack-ops"
],
"env": {
"SUBSTACK_SESSION_TOKEN": "<SUBSTACK_SESSION_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"substack-ops": {
"command": "uvx",
"args": [
"substack-ops"
],
"env": {
"SUBSTACK_SESSION_TOKEN": "<SUBSTACK_SESSION_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"substack-ops": {
"type": "stdio",
"command": "uvx",
"args": [
"substack-ops"
],
"env": {
"SUBSTACK_SESSION_TOKEN": "<SUBSTACK_SESSION_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"substack-ops": {
"command": "uvx",
"args": [
"substack-ops"
],
"env": {
"SUBSTACK_SESSION_TOKEN": "<SUBSTACK_SESSION_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"substack-ops": {
"command": "uvx",
"args": [
"substack-ops"
],
"env": {
"SUBSTACK_SESSION_TOKEN": "<SUBSTACK_SESSION_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SUBSTACK_PUBLICATION_URLYour Substack publication URL (e.g. https://you.substack.com/). Optional if set in ~/.cursor/mcp.json's mcpServers.substack-api.env.SUBSTACK_USER_IDYour Substack numeric user id. Optional if set in ~/.cursor/mcp.json.SUBSTACK_SESSION_TOKENYour Substack session cookie value (the s%3A... string). Required for authenticated calls. Easier path: run `substack-ops auth login --browser chrome` and the cookie is auto-grabbed.SUBSTACK_OPS_MCP_PATHOverride path to the mcp.json file the auth layer reads. Defaults to ~/.cursor/mcp.json.SUBSTACK_OPS_LLM_CMDOptional: override the host CLI used by the unattended daemon path (default: auto-detect claude / cursor-agent / codex on PATH). Use {prompt} placeholder if your CLI takes the prompt as an arg.
Pricing
Open source
Prices change. Check substack-ops.chavan.in before you buy.
substack-ops FAQ
Is substack-ops free?
Yes. substack-ops is open source, so you can use and self-host it for free.
How do I add substack-ops to Claude Code?
Run this command in your terminal: claude mcp add substack-ops --env SUBSTACK_SESSION_TOKEN='<SUBSTACK_SESSION_TOKEN>' -- uvx substack-ops
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.