@postnotion/mcp
v0.2.0
Published
Postnotion MCP server for publishing reviewable HTML docs and pulling comments.
Maintainers
Readme
Post Notion MCP
Post Notion MCP lets coding agents publish HTML docs to Post Notion, get a review URL, pull reviewer feedback, and push the next version to the same URL.
Install From npm
Use the public npm package in MCP clients:
npx -y @postnotion/mcpClaude Code:
claude mcp add --scope user --transport stdio postnotion -- npx -y @postnotion/mcpManual MCP config:
{
"command": "npx",
"args": ["-y", "@postnotion/mcp"],
"env": {
"POSTNOTION_API_BASE": "https://postnotion.com",
"POSTNOTION_CONVEX_URL": "https://rugged-hyena-579.convex.cloud"
}
}Fresh User Flow
- Add the MCP server to your client.
- In the agent, call
health_check. - If
health_checkreturnsneeds_auth, callauth_status. - Open the returned
verificationUrl, sign in to Post Notion, and approve access. - Call
complete_authwith the returneddeviceCode. - Call
health_checkagain. - Call
list_projects. - Reuse a matching project, or call
create_project. - Run
check_docon your HTML. - Call
push_docwithproject,slug,title, andmode.
After the user reviews the URL, call pull_threads or pull_comments, address
the feedback, call resolve_comment or set_status, then call push_doc again
with the same slug.
Claude Code From Source
From the repository root:
pnpm --filter @postnotion/mcp build
pnpm --filter @postnotion/mcp install:globalThe installer copies the built server to ~/.postnotion/postnotion-mcp.js. If the Claude
CLI is installed, it registers the postnotion MCP server. If not, it prints the JSON
you can paste into another MCP client.
Source install manual config:
{
"command": "node",
"args": ["/Users/you/.postnotion/postnotion-mcp.js"],
"env": {
"POSTNOTION_API_BASE": "https://postnotion.com",
"POSTNOTION_CONVEX_URL": "https://rugged-hyena-579.convex.cloud"
}
}health_check reports the active endpoints and credential source without
printing the raw key.
Environment
POSTNOTION_API_BASE: Post Notion HTTP/API origin. Defaults tohttps://postnotion.com.POSTNOTION_CONVEX_URL: Convex query/mutation origin. Defaults to the hosted Post Notion deployment.POSTNOTION_API_KEYorPOSTNOTION_MCP_API_KEY: Optional. Normally created byauth_statuspluscomplete_authand saved in~/.postnotion/config.json.POSTNOTION_CONFIG_PATH: Optional alternate config file path.
Legacy LOOP_API_BASE, LOOP_CONVEX_URL, LOOP_API_KEY,
LOOP_MCP_API_KEY, and LOOP_CONFIG_PATH aliases are still accepted for
existing source installs.
Optional Media Features
The core review loop does not require the local media pipeline. add_playable
uses local audio tooling, and ink OCR uses @huggingface/transformers plus
sharp. Run health_check with { "include_media": true } before using
add_playable.
