OP

opentargets/platform-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

37 stars 5 forks 质量 73 趋势 26Apache-2.0

官方MCP服务器实现,用于访问开放目标数据

概览

该软件包是开放靶点平台MCP的官方实现,使AI助手能够与开放靶点平台GraphQL API交互,该API是靶病关联和药物发现数据的综合资源。 - 🔍 : 利用基于类别的子模式获取并探索开放目标平台GraphQL模式的重点子集 - 🚀 : GraphQL模式在服务器启动时预先取取并缓存,以确保工具即时可用 - 📊 : 对开放目标平台API执行自定义GraphQL查询 - ⚡ : 高效地多次以不同参数执行同一查询 - 🔎 : 跨多种类型(目标、疾病、药物、变异、研究)搜索实体 - 🛠️ : 易用命令行界面用于启动服务器 - 🎯 (可选):使用jq进行服务器端JSON处理,以减少令牌消耗并提升性能。详情请参见jq过滤。

概述(AI 翻译)

** ⚠️ 免责声明:该项目目前处于实验阶段,正在积极开发中。功能、API 和文档可能会在不另行通知⚠️的情况下发生变更 **

开放目标平台API的模型上下文协议(MCP)服务器

该软件包是开放靶点平台MCP的官方实现,使AI助手能够与开放靶点平台GraphQL API交互,该API是靶病关联和药物发现数据的综合资源。

快速导航

  • 特色
  • 官方MCP服务器
  • 本地部署
  • 高级部署
  • 可用命令
  • 服务器设置
  • 可用工具
  • 战略
  • Claude桌面设置
  • 项目结构
  • 测试
  • 贡献
  • 许可证

特色

  • 🔍 基于类别的模式访问:利用基于类别的子模式获取并探索开放目标平台GraphQL模式的重点子集
  • 🚀 预取模式优化:GraphQL模式在服务器启动时预取并缓存,以确保工具即时可用
  • 📊 查询执行:针对Open Targets Platform API执行自定义GraphQL查询

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Open Targets Platform MCP

⚠️ DISCLAIMER: This project is currently experimental and under active development. Features, APIs, and documentation may change without notice ⚠️

Model Context Protocol (MCP) server for the Open Targets Platform API

This package is the official Open Targets Platform MCP server implementation that enables AI assistants to interact with the Open Targets Platform GraphQL API, a comprehensive resource for target-disease associations and drug discovery data.

Quick Navigation

Features

  • 🔍 Category-Based Schema Access: Fetch and explore focused subsets of the Open Targets Platform GraphQL schema using category-based subschemas
  • 🚀 Pre-fetched Schema Optimization: The GraphQL schema is pre-fetched and cached at server startup to ensure immediate availability for tools
  • 📊 Query Execution: Execute custom GraphQL queries against the Open Targets Platform API
  • ⚡ Batch Query Processing: Execute the same query multiple times with different parameters efficiently
  • 🔎 Entity Search: Search for entities across multiple types (targets, diseases, drugs, variants, studies)
  • 🛠️ CLI Tools: Easy-to-use command-line interface for starting the server
  • 🎯 jq Filtering (Optional): Server-side JSON processing using jq to reduce token consumption and improve performance. See jq Filtering for details.

Official MCP Server

The easiest way to use Open Targets Platform MCP is through the hosted service provided by Open Targets infrastructure at https://mcp.platform.opentargets.org/mcp

Local Deployment

Via uvx (Quick Start)

The fastest way to get started is using uvx, which will automatically download and run the package directly from GitHub.

Examples:

# Start HTTP server bound to localhost:8000 (default)
uvx --from git+https://github.com/opentargets/open-targets-platform-mcp otp-mcp

# Get help
uvx --from git+https://github.com/opentargets/open-targets-platform-mcp otp-mcp --help

# With jq filtering enabled
在 GitHub 查看完整 README

安装

uvx --from git+https://github.com/opentargets/open-targets-platform-mcp otp-mcp
新手?先看 mcpskill.org 教程 →