wegene-assistant MCP 服务器
WeGene Assistant 的 MCP 服务器,使用 LLM 分析用户的 WeGene 基因检测报告。
成分
资源
一旦用户获得授权,其帐户下的所有报告都将作为资源公开:
用于访问每个单独报告的自定义 wegene:// URI 方案
报告资源具有名称、描述和 application/json mimetype
工具
服务器实现了一个工具:
**wegene-oauth:**在浏览器中启动 WeGene Open API oAuth 流程
用户应在 120 秒内完成授权,以便 LLM 能够进一步访问报告。
**wegene-get-profiles:**读取用户 WeGene 账户下的个人资料列表
个人资料的名称和 ID 将返回以供 LLM 使用。
**wegene-get-report-info:**返回报告元信息,以便 LLM 知道有哪些可用的报告。
将返回报告名称、描述、端点等的列表
**wegene-get-report:**读取配置文件下的单个报告的结果
返回WeGene开放API平台指定的结果JSON
论点
report_endpoint:要检索的报告端点
report_id:要检索的报告的 ID
profile_id:用于检索报告的配置文件 ID
Related MCP server: MCP-Allure
配置
您将需要 WeGene Open API 密钥/秘密才能使用该项目。
将
.env.example复制为.env并更新文件中的密钥和秘密。
快速入门
安装
通过 Smithery 安装
要通过Smithery自动安装 Claude Desktop 的 WeGene Assistant:
本地安装
准备 MCP 服务器
克隆此项目
在项目根文件夹下运行
uv sync --dev --all-extras
Claude桌面配置
在 MacOS 上:
~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上:
%APPDATA%/Claude/claude_desktop_config.json
在配置文件中添加以下内容:
Appeared in Searches
- A search related to PHP web development or applications
- Resources and Tools for Data Analysis
- Researching Effective Methods for Developing AI Agents
- Replicating ChatGPT Memory Functionality for Task Management and Skill Tracking
- A guide on utilizing Python for solving numerical problems using internet resources