docs-mcp-server
Verified Safeby 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
npx docs-mcp-serverEnvironment 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
context7
Context7 MCP enhances LLM prompts by injecting up-to-date, version-specific documentation and code examples directly from source code, enabling more accurate and relevant code generation.
mcp
Provides AI assistants with direct, real-time access to official Microsoft Learn documentation to prevent hallucinations and retrieve accurate technical information.
apple-rag-mcp
This MCP server provides AI agents with comprehensive, real-time access to Apple's developer documentation and WWDC video transcripts using advanced RAG (Retrieval Augmented Generation) techniques, combining semantic, keyword, and AI-powered hybrid search.
Context-Engine
A Retrieval-Augmented Generation (RAG) stack for codebases, enabling context-aware AI agents for developers and IDEs through unified code indexing, hybrid search, and local LLM integration.