docmost-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCMOST_URL | Yes | The URL of your Docmost instance (e.g. https://docs.example.com) | |
| DOCMOST_EMAIL | Yes | The email address of your Docmost account. Edits are attributed to this account in page history, so each person should use their own. | |
| DOCMOST_PASSWORD | Yes | The password of your Docmost account. The account must not have MFA enabled. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Docmost wiki access. Every page argument accepts a page id, slug id or page URL. Read a page with get_page before changing it. For small changes use replace_page_text with text copied exactly from get_page output. To rewrite, add to or remove the part of a page under one heading, use update_page with heading. For whole-body rewrites use update_page with operation replace and pass the updatedAt from your read as expectedUpdatedAt. To undo changes, find the revision with list_page_history and pass its historyId to restore_page. Markdown bodies must not repeat the page title as a leading # heading. To comment on a sentence, pass create_comment a quote copied from get_page.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_workspaceA | Returns the workspace with its member count, the account this server is signed in as with its email and role, and the spaces that account can see with the space ids the other tools take. |
| list_membersA | Lists the workspace's active members with their names, emails and roles, sorted by name and paged by cursor, for finding the exact name an @[Full Name] mention in a comment needs. |
| create_spaceA | Creates a space, which needs a workspace admin, with this account as its admin, and returns the space id the other tools take. |
| update_spaceA | Renames a space or changes its slug or description, which needs space admin rights; a new slug changes the space's URL. |
| list_pagesA | Browses the page tree, listing the top-level pages of a space or the direct children of a page in sidebar order, all at once up to 1000, with whether each has children; to search, filter by label or see recent pages, use find_pages. |
| find_pagesA | Finds pages by full-text search, by label or in a space's trash, or with none of those lists the most recently updated pages, optionally within one space. |
| get_pageA | Returns a window of a page, or of one saved revision of it, as Markdown along with its id, URL, labels, path from the space root and line counts, or just one heading's section, or only the headings with their line numbers. |
| list_page_historyA | Lists a page's saved revisions, newest first and paged by cursor, with each revision's id, title, author, contributors and time; pass an id to get_page to read that revision or to restore_page to put it back. |
| list_page_linksA | Lists the pages that link to a page, or the pages it links to, most recently updated first and paged by cursor, for checking what would point at a page before moving or deleting it. |
| create_pageA | Creates a page from Markdown at the root of a space or under a parent page, and returns its id and URL; titles need not be unique, so an existing page with the same title is left alone. |
| update_pageA | Writes Markdown to a page, replacing, appending to or prepending to the whole body or, with heading, only the part under that heading, which can also be deleted, and can rename the page, change its icon, or in a call of their own add and remove labels; a whole-body replace is refused on pages holding content Markdown cannot carry, such as mentions or comments. |
| replace_page_textA | Replaces an exact piece of text in a page, changing plain text in the live document so it merges with anyone editing and keeps comments, mentions and formatting, with Docmost saving it within 45 seconds, and rewriting the whole body from Markdown only when the change needs Markdown. |
| move_pageA | Moves a page and its subpages under another page or to the root of a space, including into another space, placing it last among its new siblings, or with copy copies them there without their comments. |
| delete_pageA | Moves a page and its subpages to the space's trash, from which they can be restored, and never deletes anything permanently. |
| restore_pageA | Restores a page and its subpages from the trash to where they were, or to the space root when the old parent is still in the trash, or with historyId puts that saved revision back as the page's body and title, keeping diagrams, mentions and formatting. |
| list_commentsA | Lists the comment threads on a page with their replies, authors, text and the quoted text each one is attached to. |
| create_commentA | Posts a comment on a page, attached to a quoted piece of text when quote is given, or a reply in a comment's thread when parentCommentId is given, and notifies the people it mentions. |
| update_commentA | Replaces the text of one of this account's own comments, or resolves or reopens a thread by its top comment's id, which Docmost before 0.98 allows only with an Enterprise licence. |
| delete_commentA | Permanently deletes a comment and removes its highlight from the page, deleting a whole thread only when deleteReplies is set. |
| upload_attachmentA | Uploads a local image or file of up to 50 MB to a page and returns its URL and a Markdown image or link to place in the page with replace_page_text or update_page. |
| list_attachmentsA | Lists the files and images uploaded to a page, newest first, with each file's id, name, type, size, uploader and URL. |
| delete_attachmentA | Permanently deletes a file or image uploaded to a page, which needs space admin rights, leaving a broken image or link wherever the page still shows it. |
| export_pagesA | Saves a page as a Markdown or HTML file, or as a .zip when it includes subpages or attachments, or every page of a space as a .zip, which needs space admin rights, to a path on the machine running this server and returns the path and size. |
| import_pagesA | Creates pages from a .md or .html file, a .zip, or a folder of them on the machine running this server through Docmost's importer, which nests pages by folder, links pages and uploads images, at the space root or under parentPageId. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 24 tools
Tools target distinct resources and actions, and descriptions clearly separate list_pages (tree browsing) from find_pages (search/filter/recent/trash). The main overlap is update_page versus replace_page_text, but their guidance on Markdown rewrites versus exact live-text edits is clear enough for selection.
Names consistently use snake_case verb_noun phrasing such as get_workspace, list_pages, create_comment, and delete_attachment. Qualifiers like list_page_history and replace_page_text follow the same convention without mixing camelCase or vague verbs.
At 24 tools this is on the heavy side, but each maps to a distinct operation across workspace, spaces, pages, comments, and attachments. The surface is broad but not obviously redundant for a full-featured wiki integration.
Page operations are especially complete, covering create/read/update/replace/move/restore/delete/history/links/import/export, while comments and attachments have create/list/update/delete coverage. Minor gaps remain around space deletion and member administration, but core wiki workflows are covered.