meds-mcp
by VISTA-Stanford
Overview
Provides a medical context protocol (MCP) server and a React-based chat interface for interacting with patient records via LLMs and medical ontologies, facilitating evidence review and patient data exploration.
Installation
uv run python src/meds_mcp/server/main.py --config configs/medalign.yamlEnvironment Variables
- REDIVIS_ACCESS_TOKEN
- VAULT_SECRET_KEY
Security Notes
The FastAPI server for the React interface enables CORS with `allow_origins=['*']`, which is a significant security risk for production deployments, as it allows any domain to access resources on the server. The system heavily relies on `secure-llm`, a private library that requires Stanford VPN connectivity and specific API credentials (`VAULT_SECRET_KEY`), placing a high dependency on a secured Stanford internal infrastructure and the library's unexamined implementation. MeiliSearch, used for faceted search, is expected to run locally; if it were exposed externally without authentication, it would pose a risk. The caching mechanism for the BM25 search index uses Python's `pickle`; while a content hash verifies the cache, untrusted cache data could theoretically lead to deserialization vulnerabilities if the hash or `bm25s` library were compromised. File operations for loading patient XMLs and managing cache directories appear to derive paths from controlled sources, mitigating path traversal risks. No direct `eval` or `exec` on unvalidated user input was found.
Similar Servers
cupertino
Cupertino is an Apple Documentation Crawler and Model Context Protocol (MCP) server, designed to crawl, index, and serve Apple's developer documentation, Swift Evolution proposals, and sample code to AI agents like Claude, enabling accurate, up-to-date, and offline API knowledge.
mcp-server-infranodus
Integrates InfraNodus knowledge graph and text network analysis capabilities into LLM workflows and AI assistants for advanced text analysis, content gap detection, and SEO optimization.
mcp-server-computer
This server acts as a Spring AI MCP Server component to provide cross-platform computer configuration information (OS, user, Java, and platform-specific details) to an AI agent.
dotbox-mcp
An MCP server that enables LLMs to execute .NET workloads in isolated Docker containers for C# code execution, project management, and web API hosting.