MCP server providing Substack Publisher API access. Enables agents to interact with Substack publications programmatically.
- TypeScript, ES modules, Node 18+
@modelcontextprotocol/sdkwith stdio transportzodfor input validation- Native
fetchfor Substack Publisher API calls (no HTTP framework)
- This is a self-managed repo (dkships/substack-publisher-mcp)
- Keep secrets out of committed files — use
.envvia dotenv - Return raw structured data from tools — let the LLM do synthesis
- All API clients in their own module under
src/ - Handle errors with
isError: trueresponses - Use
registerTool/registerResourcefor MCP registration - Test manually via MCP client after changes
- Codex has an enabled
found-substackMCP server pointing atdist/index.js; runnpm run buildafter source changes before testing through Codex MCP. - Use inherited
SUBSTACK_API_KEY_*env vars; never copy token values into config or docs.
See ~/.agents/AGENTS.md. For this MCP server: sources = code and Substack API responses.
- Changes compile (
npm run build) - MCP server starts without errors (
npm start)
- Owner: David Kelly
- Last Updated: 2026-05-02