← All docs

OpenClaw

Install:

openclaw skills install postmcp

Create a scoped key:

postmcp auth token --name openclaw --scopes posts.read,posts.draft,posts.schedule,posts.publish,media.upload,accounts.read,usage.read --json
export POSTMCP_API_BASE_URL=https://api.postmcp.dev
export POSTMCP_API_KEY=pmcp_key_...
export POSTMCP_WORKSPACE_ID=wrk_...

Use POSTMCP_API_BASE_URL=https://api.postmcp.dev for production OpenClaw runs. Keep the workspace ID and scoped API key in the shell, agent runner, or secrets store that launches OpenClaw.

Use dry-run previews unless the user clearly asks to schedule or publish.

Example prompts:

Post this update to LinkedIn and Bluesky tomorrow at 9am.

Schedule this image to Instagram and Facebook Page next Monday.

Create a draft for X, LinkedIn, and Threads but do not publish.

Show me all scheduled posts for this week.

Delete the scheduled Telegram post for Friday.