Back to Home
pankaj28843 icon

docs-mcp-server

Verified Safe

by pankaj28843

Overview

A Model Context Protocol (MCP) server that provides AI assistants with access to documentation sources through a unified search API.

Installation

Run Command
uv run python -m docs_mcp_server

Environment 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

Stats

Interest Score31
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars1
Forks0
Last Update2026-01-18

Tags

AI assistantsdocumentation searchBM25 scoringmulti-tenantweb crawlerGit synchronizationSQLite