mcp-docs-server
Verified Safeby Sri-Manikandan
Overview
A Streamlit and FastAPI-based client for an AI agent that uses an LLM to search various technical documentation platforms via web search.
Installation
python api/main.pyEnvironment Variables
- ANTHROPIC_API_KEY
- SERPER_API_KEY
- SERVER_SCRIPT_PATH
Security Notes
The FastAPI application uses `CORSMiddleware` with `allow_origins=["*"]`, which is a significant security risk for any public-facing API as it permits requests from any domain. The `server_script_path` used to launch the MCP server is configurable via environment variables; if an attacker can control this path, it could lead to arbitrary code execution. No direct `eval` or clear obfuscation found. External HTTP requests are made to Serper API and arbitrary URLs for documentation fetching, which are controlled by the tool's logic but involve external services.
Similar Servers
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.
blz
Provides fast, local documentation search and retrieval for AI agents, using llms.txt files for line-accurate citations.
Docker_MCPGUIApp
This repository provides a starter template for building full-stack AI assistants that integrate with real-world tools using Docker MCP Gateway and a Large Language Model.
flowbite-svelte-mcp
Provides Flowbite-Svelte documentation and component information to an MCP client (LLM) via a set of exposed tools.