Skip to main content

MCP Server for Docmost - Document Management Platform

Project description

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

Installation

Using uvx (Recommended)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_docmost-0.1.1.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_docmost-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_docmost-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_docmost-0.1.1.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mcp_docmost-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5a9ce6d82bbf7ee3a544964ef579a94d78efddaea4bfbbff0cdb9ffd0d2ad4c9
MD5 c9b1401decbb170a80a57c330619a51c
BLAKE2b-256 d3396b2133649db7117075522457950cdedd10d08a91a4f121c0bad47d08d403

See more details on using hashes here.

File details

Details for the file mcp_docmost-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_docmost-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mcp_docmost-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fea8956b3dda2d8a03c87a6ab1e3070423539c8a48d5f73b4535b74b534fd249
MD5 80f7e5c1334d082f578f430809d33392
BLAKE2b-256 ce7a574313d6759241bd2c998240302b144f052120a9b1687788707277615ffc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page