Back to Home
aserper icon

doc-mcp-server

by aserper

Overview

Provides LLM agents with real-time, structured access to documentation from various package managers and platforms to prevent hallucinations and ensure up-to-date information.

Installation

Run Command
rtfd

Environment Variables

  • GITHUB_TOKEN
  • VERIFIED_BY_PYPI

Security Notes

Critical vulnerability: The `convert_rst_to_markdown` function processes external reStructuredText (RST) content using `docutils.core.publish_parts`. Docutils is known to be unsafe for untrusted input as RST can execute arbitrary Python code, leading to Remote Code Execution (RCE) or Local File Inclusion (LFI). This poses a significant risk if the server processes a malicious PyPI README. Additionally, tools like `GitHubProvider.get_file_content` can fetch arbitrary file content from GitHub, potentially exposing sensitive data if directed by a malicious agent. The `DockerHubProvider._fetch_dockerfile` attempts to parse DockerHub descriptions for GitHub URLs to Dockerfiles, which could be abused. The `README.md` explicitly warns about 'indirect prompt injection' and 'malicious code execution.' No hardcoded secrets were found, and `GITHUB_TOKEN` is read from environment variables.

Similar Servers

Stats

Interest Score64
Security Score2
Cost ClassHigh
Avg Tokens10000
Stars9
Forks1
Last Update2025-12-05

Tags

documentationLLM agentAPIpackage managerreal-time data