Repository navigation
1.1.0
Added
whoamireturnsaccount_url, the page where a member sees and revokes
connected apps and tokens.get_space: details of one space, with its member count and your role.duplicate_page: copy a page with its child pages, in the same space or
into another space.move_page_to_space: move a page with its child pages to another space.update_comment: change the text of one of your own comments; the
previous text is returned.get_page_outline,get_sectionandreplace_section: read and change
one section of a long page.replace_sectiontakes the section's hash
fromget_sectionand refuses to write if the section changed since, and
warns when Docmost's Markdown conversion also changed text elsewhere.update_pageandreplace_sectiontakedry_runto show the change as a
diff without writing it.list_page_history,get_page_versionanddiff_page: the versions
Docmost saves of a page, read as Markdown, and a diff between the current
body, a version and a snapshot. Versions are stored by Docmost as
ProseMirror JSON; the server converts them to Markdown laid out like
Docmost's own.list_backlinks,list_labels,find_pages_by_label,add_labelsand
remove_label(Docmost 0.90 or newer).searchtakestitle_onlyandlabels(Docmost 0.96 or newer) and
created_by_me.- Links to pages of the same Docmost in Markdown written by the server are
stored as internal links, so Docmost counts them as backlinks. suggest: quick lookup of pages, people and groups by name, as Docmost's
search box does.get_page_tree: several levels of a page tree in one call, limited by
depth and page count; branches not read are listed to continue from.list_space_members,list_workspace_membersandlist_groups.- A new
adminscope, never granted unless ticked, forcreate_space,
update_space,add_space_members(users by email, groups by name) and
change_space_member_role. Docmost still checks the member's own rights.
WithALLOWED_SPACESset, only spaces in that list can be created or
renamed to. Removing members and deleting spaces are not offered. get_pagetakesformat="json"to return the body as Docmost's
ProseMirror JSON, with colors, merged cells, columns, diagrams and
mentions that Markdown loses.replace_page_json: replace a page body with a ProseMirror document. It is
checked against Docmost's editor schema before it is sent, because Docmost
silently drops what it cannot read; if what Docmost stored differs from
what was sent, the previous body is put back. Snapshots taken before such
a write hold JSON, sorestore_snapshotbrings the formatting back too.get_pageandget_page_outlinelist inmarkdown_losesthe formatting of
a page that Markdown cannot hold (found by a Markdown round trip on Docmost
0.97: colors, highlights, underline, alignment, merged or colored cells,
columns, tabs, mentions, embeds, diagrams, files).update_pagereplace and
replace_sectionrefuse to remove it unlessdrop_formattingis set, and
point toreplace_page_jsoninstead.restore_page_version: put a page body back to a version from
list_page_history, exactly as Docmost saved it.export_pageandexport_space: Docmost's own Markdown or HTML export. A
single page comes back in the result; a zip (a page with its children or
files, a whole space) as a download link to this server, valid for ten
minutes and bound to the member, which streams the file from Docmost and
stores nothing.list_attachments(Docmost 0.96 or newer),get_attachment(with a
download link, and the text of small text files) andupload_attachment
(base64, up to 10 MB), which by default adds the file at the end of the
page as an image or a file block.- Tools that need a newer Docmost than the connected one say so instead of
failing with a Docmost error.
Changed
- README: a note near the top that the project is independent from
Docmost, Inc. and that Docmost is their trademark.
Fixed
- The account and consent pages leave space between the scopes box and the
button below it.
Image: ghcr.io/bbik52/docmost-mcp-remote:1.1.0