All apps · 0 apps
Docmost-MCP-Wrapper
Docker app from BitCryptic's 2nd Repository
Overview
Readme
View on GitHubDocmost MCP Server
A Model Context Protocol (MCP) server for Docmost, enabling AI agents to search, create, modify, and organize documentation pages and spaces.
Features
Core Management
create_page: Smart creation tool. Creates content (via import) AND handles hierarchy (nesting under a parent) in one go.update_page: Update a page's content and/or title. Updates are performed via real-time collaboration (WebSocket).delete_page/delete_pages: Delete single or multiple pages at once.move_page: Organize pages hierarchically by moving them to a new parent or root.
Exploration & Retrieval
search: Full-text search across spaces with optional space filtering (query,spaceId).get_workspace: Get information about the current Docmost workspace.list_spaces: View all spaces within the current workspace.list_groups: View all groups within the current workspace.list_pages: List pages within a space (ordered byupdatedAtdescending).get_page: Retrieve full content and metadata of a specific page.
Technical Details
- Automatic Markdown Conversion: Page content is automatically converted from Docmost's internal ProseMirror/TipTap JSON format to clean Markdown for easy agent consumption. Supports all Docmost extensions including callouts, task lists, math blocks, embeds, and more.
- Smart Import API: Uses Docmost's import API to ensure clean Markdown-to-ProseMirror conversion when creating pages.
- Child Preservation: The
update_pagetool creates a new page ID but effectively simulates an in-place update by reparenting existing child pages to the new version. - Pagination Support: Automatically handles pagination for large datasets (spaces, pages, groups).
- Filtered Responses: API responses are filtered to include only relevant information, optimizing data transfer for agents.
Installation
npm install
npm run build
Configuration
This server requires the following environment variables to be set:
DOCMOST_API_URL: The full URL to your Docmost API (e.g.,https://docs.example.com/api).DOCMOST_EMAIL: The email address for authentication.DOCMOST_PASSWORD: The password for authentication.
usage with Claude Desktop / generic MCP Client
Add the following to your MCP configuration (e.g. claude_desktop_config.json):
{
"mcpServers": {
"docmost-local": {
"command": "node",
"args": ["./build/index.js"],
"env": {
"DOCMOST_API_URL": "http://localhost:3000/api",
"DOCMOST_EMAIL": "test@docmost.com",
"DOCMOST_PASSWORD": "test"
}
}
}
}
Development
# Watch mode
npm run watch
# Build
npm run build
License
MIT
Install Docmost-MCP-Wrapper on Unraid in a few clicks.
Find Docmost-MCP-Wrapper in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Related apps
Explore more like this
Explore allDetails
bitcryptic/docmost-mcp-wrapper:latestRuntime arguments
- Network
bridge- Shell
sh- Privileged
- false
Template configuration
Full URL to your Docmost API (not a secret). Default is the pygmy-bramble tailnet address.
- Default
- https://docmost.pygmy-bramble.ts.net/api
Host path to a plain-text file containing the bot account email. Create with: printf '%s' 'email@example.com' > /path/to/file. Must contain exactly the email with no trailing newline. Read-only inside container.
- Target
- /run/secrets/docmost_email
- Default
- /mnt/cache/appdata/docmost-mcp/secrets/email
Host path to a plain-text file containing the bot account password. Create with: printf '%s' 'password' > /path/to/file. Must contain exactly the password with no trailing newline. Read-only inside container.
- Target
- /run/secrets/docmost_password
- Default
- /mnt/cache/appdata/docmost-mcp/secrets/password
Port mcp-proxy listens on inside the container. This is the port you point agent MCP clients at over Tailscale. Do NOT forward this port on your router — access is via Tailscale only.
- Target
- MCP_PROXY_PORT
- Default
- 8088
Persistent Tailscale state directory. Prevents new node identity being created each restart. Host and container paths must be identical. When deploying multiple instances, each must have its own unique path (eg. change 'docmost-mcp' to 'docmost-mcp-bitcryptic').
- Target
- /mnt/cache/appdata/docmost-mcp/tailscale
- Default
- /mnt/cache/appdata/docmost-mcp/tailscale