docs-mcp-server
Verified Safeby pankaj28843
Overview
A Model Context Protocol (MCP) server that provides AI assistants with access to documentation sources through a unified search API.
Installation
uv run python -m docs_mcp_serverEnvironment Variables
- DOCS_NAME
- DOCS_ENTRY_URL
- DOCS_SITEMAP_URL
- OPERATION_MODE
- DOCS_FALLBACK_EXTRACTOR_ENABLED
- DOCS_FALLBACK_EXTRACTOR_ENDPOINT
- DOCS_FALLBACK_EXTRACTOR_API_KEY_ENV
- GITHUB_TOKEN
- SIGNOZ_API_KEY
- SIGNOZ_EMAIL
- SIGNOZ_PASSWORD
- DOCS_SKIP_BOOT_AUDIT
- DOCS_BOOT_AUDIT_TIMEOUT
Security Notes
The server uses `subprocess.run` for external tools like `ripgrep` and `docker`, and for internal scripts like `index_audit`. While these are part of the intended functionality and generally handled carefully (e.g., arguments constructed from `Path` objects to prevent shell injection), they expand the attack surface if dependencies are compromised or user-supplied paths are not adequately sanitized. Network operations for crawling, Git syncing, and optional external article extraction introduce risks related to untrusted content sources and external service dependencies. Secrets (e.g., Git authentication tokens, fallback extractor API keys) are configured to be loaded from environment variables, which is a good practice. SQL queries in `sqlite_storage.py` and `segment_search_index.py` appear to be parameterized, mitigating SQL injection risks. Overall, the project demonstrates an awareness of security best practices, but reliance on external configurable services requires diligent user configuration and trust.
Similar Servers
mcp
Provides AI assistants with direct, secure access to the latest official Microsoft documentation to prevent hallucinations and verify code.
docs-mcp-server
The Documentation MCP Server indexes documentation from web sources, local files, and package registries, making it searchable via the Model Context Protocol (MCP) and providing semantic search capabilities to AI coding assistants.
docfork
Provides live-synced, context-aware, and version-accurate documentation to AI models, preventing hallucinations and context bloat for developer tasks.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.