Back to Home
dbcls icon

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

Run Command
docker container run --rm -d -p 8001:8000 -e NCBI_API_KEY="your-ncbi-key" localhost/togo-mcp:dev

Environment 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

Stats

Interest Score30
Security Score7
Cost ClassLow
Avg Tokens392
Stars1
Forks1
Last Update2026-01-19

Tags

Biological DatabasesSPARQLRDFLLM IntegrationData Science