Skip to content

Claude Code

Add the PostFlow MCP server to Claude Code with an API key or OAuth.

With an API key (works everywhere, including CI):

Terminal window
export POSTFLOW_API_KEY=pf_...
claude mcp add --transport http postflow https://postflow.biz.id/api/mcp \
--header "Authorization: Bearer $POSTFLOW_API_KEY"

Or sign in with OAuth instead of a key: add it without the header, then run /mcp in Claude Code, pick postflow and choose Authenticate.

Terminal window
claude mcp add --transport http postflow https://postflow.biz.id/api/mcp

Commit a .mcp.json at the project root. Claude Code expands ${VAR} from each person’s environment:

.mcp.json
{
"mcpServers": {
"postflow": {
"type": "http",
"url": "https://postflow.biz.id/api/mcp",
"headers": { "Authorization": "Bearer ${POSTFLOW_API_KEY}" }
}
}
}

Check it with claude mcp list. To give Claude Code PostFlow’s workflow without MCP, install the Agent Skill.