Skip to main content
Glama

MCP Docmost Server

Model Context Protocol (MCP) server for Docmost - an open-source collaborative documentation platform.

Features

  • Pages: Get, search, list, create, update, delete pages

  • Spaces: List, get, create spaces

  • Comments: List and add comments on pages

  • Users: Get current user, list workspace members

  • History: View page revision history

  • Export: Export pages to markdown, HTML, or PDF

Related MCP server: MCP Atlassian

Installation

uvx mcp-docmost

Using pip

pip install mcp-docmost

Configuration

Getting Auth Token

  1. Login to Docmost in your browser

  2. Open Developer Tools (F12) → Application → Cookies

  3. Copy the authToken cookie value

Add to Kiro MCP Config

Add to .kiro/settings/mcp.json:

{
  "mcpServers": {
    "docmost": {
      "command": "uvx",
      "args": ["mcp-docmost"],
      "env": {
        "DOCMOST_URL": "https://your-docmost-instance.com",
        "DOCMOST_AUTH_TOKEN": "your-auth-token-here"
      }
    }
  }
}

Available Tools

Page Operations

Tool

Description

docmost_get_page

Get page info and content by ID or slug

docmost_search_pages

Search pages by query text

docmost_list_pages

List pages in a space or under parent

docmost_create_page

Create a new page

docmost_update_page

Update page title or content

docmost_delete_page

Delete a page

Space Operations

Tool

Description

docmost_list_spaces

List all spaces in workspace

docmost_get_space

Get space info by ID or slug

docmost_create_space

Create a new space

Comment Operations

Tool

Description

docmost_list_comments

List comments on a page

docmost_add_comment

Add a comment to a page

User Operations

Tool

Description

docmost_get_current_user

Get current authenticated user

docmost_list_members

List workspace members

History & Export

Tool

Description

docmost_get_page_history

Get page revision history

docmost_export_page

Export page (markdown/html/pdf)

Example Usage

User: Search for pages about "AI gợi ý"
Assistant: [calls docmost_search_pages with query="AI gợi ý"]

User: Get the content of page yQQmTbt8it
Assistant: [calls docmost_get_page with page_id="yQQmTbt8it"]

User: List all spaces
Assistant: [calls docmost_list_spaces]

Development

# Install dependencies
cd mcp-docmost
uv sync

# Run server directly
uv run python -m mcp_docmost.server

License

MIT

Available Tools

13 tools
docmost_add_commentC

Add a comment to a page.

Inputs: page_id (required), content (required), parent_comment_id.

docmost_create_pageC

Create a new page in Docmost.

Inputs: title (required), space_id (required), parent_page_id, content_text.

docmost_delete_pageC

Delete a page from Docmost.

Inputs: page_id (required).

docmost_get_current_userB

Get information about the currently authenticated user.

Inputs: no named parameters.

docmost_get_pageB

Get page information and content by ID or slug. Returns title, metadata, and full content.

Inputs: page_id (required), include_content.

docmost_get_page_historyB

Get revision history of a page.

Inputs: page_id (required), limit.

docmost_get_spaceC

Get space information by ID or slug.

Inputs: space_id (required).

docmost_list_commentsC

List comments on a page.

Inputs: page_id (required), limit.

docmost_list_membersC

List all members in the workspace.

Inputs: limit.

docmost_list_pagesC

List pages in a space or under a parent page.

Inputs: space_id, parent_page_id, page.

docmost_list_spacesB

List all spaces in the workspace.

Inputs: limit, page.

docmost_recent_pagesC

Get recently updated pages in a space.

Inputs: space_id (required).

docmost_update_pageC

Update an existing page's title or content.

Inputs: page_id (required), title, content_text.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 13 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. Each tool targets a specific resource (page, comment, space, user, member) and action (add, create, delete, get, list, update, recent), making misselection unlikely. For example, docmost_get_page, docmost_list_pages, and docmost_recent_pages serve different but complementary functions without overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with the 'docmost_' prefix, using snake_case throughout. The verbs are clear and standardized (add, create, delete, get, list, update, recent), and nouns are specific (comment, page, user, history, space, members). There are no deviations or mixed conventions.

    Tool Count5/5

    With 13 tools, the count is well-scoped for a document management system like Docmost. Each tool earns its place by covering essential operations for pages, comments, spaces, users, and members, without being overly sparse or bloated. This aligns with typical MCP servers that handle 3-15 tools effectively.

    Completeness5/5

    The tool surface provides complete CRUD/lifecycle coverage for the Docmost domain. It includes create, read, update, and delete operations for pages and comments, along with listing and retrieval for spaces, members, and users. No obvious gaps exist; agents can perform full workflows from page creation to commenting and history tracking.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers