Commit Graph

4 Commits

Author SHA1 Message Date
Max Nikitin
6cde1fddfc fix: stringify comment content and use cursor-based pagination
Docmost comment API requires `content` as a JSON string, not a JSON object.
Also, comments use cursor-based pagination (nextCursor/prevCursor) instead
of page-based pagination used by other endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 13:59:39 +03:00
Max Nikitin
a739d62318 feat: add comment support (list, get, create, update, delete)
Add 5 new MCP tools for managing Docmost page comments:
- list_comments: list all comments on a page (paginated)
- get_comment: retrieve a single comment by ID
- create_comment: create page-level or inline comments with replies
- update_comment: update existing comment content
- delete_comment: remove a comment

Comment content is automatically converted between Markdown (agent-facing)
and ProseMirror/TipTap JSON (Docmost API). Uses the existing
markdown-converter for reading and a new markdown-to-json utility
for writing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 12:33:39 +03:00
Moritz Krause
493ce01254 feat: Introduce markdown converter and auth utilities, alongside various client and server-side updates and dependency changes. 2026-02-01 04:24:41 +01:00
Moritz Krause
0900260765 feat: implement initial Docmost Model Context Protocol (MCP) server for documentation management. 2026-02-01 00:05:22 +01:00