alliance-docs-mcp
Verified Safeby CARTE-Toronto
Overview
Serves Digital Research Alliance of Canada's technical documentation via a Model Context Protocol (MCP) server, offering search, categorization, related page discovery, and LLM-optimized content access.
Installation
uv run python -m alliance_docs_mcp.serverEnvironment Variables
- MEDIAWIKI_API_URL
- DOCS_DIR
- USER_AGENT
- SEARCH_INDEX_DIR
- DISABLE_SEARCH_INDEX
- RELATED_INDEX_DIR
- RELATED_MODEL_NAME
- RELATED_BACKEND
- DISABLE_RELATED_INDEX
- DISABLE_STRIP_HTML
Security Notes
The project demonstrates good security practices, including explicit path sanitization in `storage.py` (`_title_to_filename`, `_resolve_page_path`) and leveraging established libraries like `BeautifulSoup` for HTML stripping during conversion to prevent XSS. No `eval` or obvious hardcoded secrets are present in the provided code; sensitive configurations like API URLs use environment variables with sensible defaults. The use of `requests` with a retry strategy for external API calls and `FastMCP` for serving indicates robust network handling. Potential security considerations include the inherent supply chain risk of downloading external `sentence-transformer` models for related-page embeddings (though a default well-known model, `all-MiniLM-L6-v2`, is used), and potential for high resource consumption from complex search queries if not externally rate-limited, which would typically be handled at an infrastructure level.
Similar Servers
ls-mcp
Command-line tool for discovering, analyzing, and reporting on Model Context Protocol (MCP) server configurations in a local development environment.
codebadger
A containerized Model Context Protocol (MCP) server providing static code analysis using Joern's Code Property Graph (CPG) technology.
mcp-reference
A reference processing tool for Markdown documents, providing automated reference extraction, citation renumbering, bibliography generation, and related literature recommendation functions, integrated via Model Context Protocol (MCP) into Trae IDE.
gemini-daily-mcp-compressed
Provides a token-optimized API server for integrating Google Gemini CLI with applications like Claude, focusing on reducing tool schema overhead for cost efficiency.