postmd_create_document_from_file
Create a shareable PostMD web document directly from a Markdown file on the server host, avoiding the need to paste large content.
Instructions
Same as postmd_create_document, but reads the Markdown from filePath on the machine running this MCP server — use it for large files instead of pasting the body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Defaults to the file name without .md. | |
| groupId | No | File the document in this group instead of the default group (needs an API key). | |
| fileName | No | Upload filename. Defaults to the basename of filePath. | |
| filePath | Yes | Path to a .md file on the MCP server host, read as UTF-8. Prefer an absolute path. | |
| password | No | Readers must supply this password to see the content. | |
| viewerStyle | No | Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable. | |
| shareEndDate | No | yyyyMMdd. The document stops being served after this date. Omit for no end date. |