postmd_create_documents_from_files
Publish multiple Markdown files as shareable web pages in a single API call. Set optional group, password, expiry date, or viewer theme for each batch.
Instructions
Publish several .md files in one call (bulk upload). Requires an API key with documents:write. The outer resultCode is 200 even if some files failed — check data.succeeded and each entry in data.results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | File every document in this group instead of the default group. | |
| password | No | Readers must supply this password to see the content. | |
| filePaths | Yes | Paths to .md files on the MCP server host. Each becomes its own document. | |
| 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. |