docmost-mcp
Verified Safeby successbyfailure
Overview
A lightweight HTTP MCP server acting as an API gateway to interact with a Docmost instance, exposing its functionalities as discoverable tools.
Installation
npm startEnvironment Variables
- DOCMOST_BASE_URL
- DOCMOST_API_TOKEN
- DOCMOST_EMAIL
- DOCMOST_PASSWORD
- PORT
- READ_ONLY
Security Notes
The server uses environment variables for sensitive credentials (API token or email/password), which is a good practice. It explicitly requires Node.js v18+ for native `fetch`, avoiding external dependencies. Input parsing (`parseJsonBody`) includes a size limit (5MB) to mitigate large body attacks. CORS is set to `*`, which is common for API gateways but means clients should implement their own origin restrictions if necessary. Tool parameters are validated for presence by the `DocmostClient`, but not extensively against the `inputSchema` definitions in `src/server.js` before execution, relying on the underlying Docmost API for full validation.
Similar Servers
mcp-server-nodejs-api-docs
Provides up-to-date Node.js API documentation and release schedule information as a service via the Model Context Protocol.
header-test-mcp
An MCP server designed for debugging custom header implementations in MCP hosts/clients by providing a tool to retrieve request headers.
mcp_server_client
A Node.js server that exposes a "create-user" tool, designed to be integrated with LLMs via the Model Context Protocol SDK.
docmost-mcp
Provides a lightweight HTTP and JSON-RPC interface, implementing the MCP protocol, to interact with a Docmost instance, enabling agents to read and write pages and spaces.