Skip to main content

Docmost MCP Server

An implementation of the Model Context Protocol (MCP) that allows LLM-based tools (like Claude, Cursor, or Windsurf) to interact with a Docmost wiki.

Python 3.10+ License: MIT PyPI

Features

The server enables the following documentation management capabilities:

Space Management

  • Space Discovery: List and browse all accessible spaces where teams and projects store their documentation.
  • Space Details: Retrieve comprehensive information about specific spaces, including member counts and user permissions.

Page Discovery

  • Global Search: Perform full-text searches across all page titles and content in the workspace.
  • Hierarchical Navigation: Browse pages in a structured sidebar format, supporting both root-level and nested child pages.

Content & Metadata

  • Reading Content: Retrieve full page details, including content formatted for modern web editors.
  • Importing & Creating: Seamlessly create new pages or update existing ones by importing Markdown content.
  • Metadata Management: Manage page titles and icons to keep documentation organized and visually distinct.
  • Page Lifecycle: Support for creating blank page skeletons and permanently deleting or trashing unwanted content.

Integration with MCP Clients

Add the server to your mcpServers configuration:

{
  "mcpServers": {
    "docmost": {
      "command": "docmost-mcp",
      "env": {
        "DOCMOST_BASE_URL": "https://your-docmost-url.com",
        "DOCMOST_API_TOKEN": "your-api-token"
      }
    }
  }
}

Note: If docmost-mcp is not in your system PATH, use the full path to the executable (e.g., the output of where docmost-mcp on Windows or which docmost-mcp on Linux).

Technical Details

  • Architecture: Built with FastMCP for the server layer and httpx for asynchronous API communication.
  • Validation: Uses Pydantic for environment variable validation, ensuring failures happen at startup if the configuration is invalid.
  • Auth Lifecycle: Automatically manages session persistence for Community Edition and token-based authentication for Enterprise.
  • Error Handling: Specifically catches API errors (404s, 401s) and returns human-readable summaries to the LLM instead of raw crash data.

Development

# Clone and setup
git clone https://github.com/Dev789/docmost-mcp-server.git
cd docmost-mcp-server
python -m venv venv
source venv/bin/activate  # venv\Scripts\activate on Windows

# Editable install
pip install -e .

License

MIT

Metadata

Release files for docmost-mcp 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docmost-mcp 1.2.0
File Size Uploaded Provenance
docmost_mcp-1.2.0.tar.gz 16.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for docmost-mcp 1.2.0
File Interpreter ABI Platform
docmost_mcp-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 kB

Release files / docmost_mcp-1.2.0.tar.gz

Download URL docmost_mcp-1.2.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8a2e336d0789037b9d0cd210b2360d022711d1a3b20eb06b3d728a26e5619c41
BLAKE2b-256 checksum
How to use checksums
7bb5f523b31bf5c3c7608551535ccc80a03fbd06730fbb658e7a9e4eed2663c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / docmost_mcp-1.2.0-py3-none-any.whl

Download URL docmost_mcp-1.2.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17c5d9c32e3a744902663ed3e32c345efbb8138926b1605762a2f868a55a53c9
BLAKE2b-256 checksum
How to use checksums
9c023fb6ae55078b4c8bd89d6d67510da88fbae42303bea704c9ce44ddeefec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for docmost-mcp 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page