Back to Home
successbyfailure icon

docmost-mcp

Verified Safe

by 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

Run Command
npm start

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-03

Tags

mcpdocmosthttpnodejsapi-gateway