feat: add check_new_comments tool for efficient comment polling
New tool that checks for comments created after a given timestamp. Scoping options: - By space (spaceId) — checks all pages in the space - By subtree (parentPageId) — checks only descendants of a page Uses updatedAt pre-filtering to minimize API calls: only pages updated after the target timestamp are checked for comments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,7 @@ A Model Context Protocol (MCP) server for [Docmost](https://docmost.com/), enabl
|
||||
- **`create_comment`**: Create a page-level or inline comment. Content is provided as Markdown and automatically converted to ProseMirror JSON. Supports replies via `parentCommentId`.
|
||||
- **`update_comment`**: Update an existing comment's content (creator only).
|
||||
- **`delete_comment`**: Delete a comment (creator or space admin only).
|
||||
- **`check_new_comments`**: Check for new comments across a space (or a page subtree) since a given timestamp. Efficiently filters by `updatedAt` before fetching comments.
|
||||
|
||||
### Technical Details
|
||||
|
||||
|
||||
Reference in New Issue
Block a user