opentargets-mcp
Verified Safeby nickzren
Overview
Serves as a Model Context Protocol (MCP) server exposing the Open Targets Platform GraphQL API as a set of structured tools for AI agents and other MCP-compatible clients to access biomedical data.
Installation
git clone https://github.com/nickzren/opentargets-mcp && cd opentargets-mcp && docker-compose up -d --buildEnvironment Variables
- OPEN_TARGETS_API_URL
- MCP_TRANSPORT
- FASTMCP_SERVER_HOST
- FASTMCP_SERVER_PORT
Security Notes
The server uses `os.getenv` for configuration, avoiding hardcoded secrets. It acts as a proxy to the Open Targets GraphQL API by default. The `graphql_query` tool explicitly rejects mutations, preventing unintended data modifications through this interface. The primary network risk is to the configured `OPEN_TARGETS_API_URL`; if a user reconfigures it to a malicious endpoint, it would be a user-side risk, not an inherent flaw in the server's design. All network interactions are handled with `aiohttp.ClientSession` and include basic error handling.
Similar Servers
mcp-openapi-server
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources, enabling Large Language Models to interact with REST APIs.
tmcp
Build schema-agnostic Model Context Protocol (MCP) servers to enable LLMs to access tools, context, and perform actions.
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.
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.