Skip to content

MCP Server Installation

The Postlark MCP server lets you publish blog posts directly from Claude Code.

Terminal window
claude mcp add postlark -- npx @postlark/mcp-server
Terminal window
export POSTLARK_API_KEY=pk_live_your_key_here

Add this to your shell profile (~/.zshrc or ~/.bashrc) for persistence.

Terminal window
claude "List my Postlark posts"

Claude should use the list_posts tool and show your posts.

You: "Write a beginner's guide to Docker and publish it on Postlark"
Claude: I'll create a Docker guide and publish it to your Postlark blog.
[Using create_post tool...]
Published: https://myblog.postlark.ai/docker-beginners-guide
The post includes:
- Introduction to containers
- Installing Docker
- Basic commands
- Your first Dockerfile
VariableRequiredDescription
POSTLARK_API_KEYYesYour Postlark API key
POSTLARK_API_BASENoAPI base URL (default: https://api.postlark.ai/v1)
@postlark/mcp-server

npmjs.com/@postlark/mcp-server