Back to Home
arabold icon

docs-mcp-server

Verified Safe

by arabold

Overview

The Documentation MCP Server indexes documentation from various sources (web, local files, registries) and makes it semantically searchable via vector embeddings, primarily for AI coding assistants.

Installation

Run Command
npx docs-mcp-server

Environment Variables

  • OPENAI_API_KEY
  • GOOGLE_API_KEY
  • BEDROCK_AWS_REGION
  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • DOCS_MCP_AUTH_ISSUER_URL
  • DOCS_MCP_AUTH_AUDIENCE
  • PLAYWRIGHT_LAUNCH_ARGS
  • PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH
  • LOG_LEVEL
  • POSTHOG_API_KEY

Security Notes

The project uses `node:vm`'s `createContext` and `runInContext` within `HtmlJsExecutorMiddleware` for sandboxed JavaScript execution embedded in scraped HTML content. While sandboxed, `node:vm` requires careful isolation to prevent subtle bypasses, and this is explicitly noted as a warning in the code regarding browser API replication. However, it is used for content processing, not arbitrary user command execution. The system also fetches arbitrary external URLs as part of its core function; this is mitigated by scope controls, rate limiting, and robust error handling. SQL database interactions use prepared statements to prevent injection. HTML output is sanitized using DOMPurify where appropriate (e.g., search results). Custom headers propagation and basic auth handling are implemented for network requests, indicating an awareness of secure communication. Overall, security concerns related to its core function of processing untrusted external content appear to be handled with diligence.

Similar Servers

Stats

Interest Score99
Security Score8
Cost ClassMedium
Avg Tokens500
Stars822
Forks101
Last Update2025-12-06

Tags

DocumentationAISearchEmbeddingsWeb Scraping