togomcp
by dbcls
Overview
Provides a Model Context Protocol (MCP) server for LLM agents to access and query over 20 specialized biological and biomedical RDF databases, enabling complex data integration and knowledge discovery for research and evaluation.
Installation
docker container run --rm -d -p 8001:8000 -e NCBI_API_KEY="your-ncbi-key" localhost/togo-mcp:devEnvironment Variables
- NCBI_API_KEY
Security Notes
The server uses `httpx` for external network calls and environment variables (`NCBI_API_KEY`) for API keys, which are good practices. However, as an MCP server, it processes LLM-generated inputs for SPARQL queries and file operations. The `save_MIE_file` function in `togo_mcp/admin.py` constructs a file path as `f"mie/{dbname}.yaml"` where `dbname` is provided by the LLM. Without explicit input sanitization, this could be vulnerable to path traversal (e.g., `dbname="../../malicious.txt"`), allowing an LLM to write files outside the intended directory. Additionally, any system executing LLM-generated SPARQL queries against a backend database inherently carries risks of denial-of-service or information leakage if the RDF store itself is not rigorously secured against complex, potentially malicious queries.
Similar Servers
sparql-llm
An LLM-powered agent for generating, validating, and executing SPARQL queries against biomedical knowledge graphs, utilizing Retrieval-Augmented Generation (RAG) with endpoint-specific metadata and schema for improved accuracy.
knowledgebase-mcp
A standardized Model Context Protocol (MCP) server that aggregates and provides AI systems with access to diverse biomedical knowledge bases and analysis tools.
registry
Registry for discovering Model Context Protocol (MCP) servers relevant to biomedical research, facilitating tool discovery and integration for AI assistants.
data-commons-mcp
A server that facilitates natural language search for open-access scientific datasets and tools using a Large Language Model (LLM) and the Model Context Protocol (MCP).