Skip to main content
Glama

Wegene Assistant MCP Server

by xraywu

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:

npx -y @smithery/cli install @xraywu/mcp-wegene-assistant --client claude

本地安装

准备 MCP 服务器
  1. 克隆此项目

  2. 在项目根文件夹下运行uv sync --dev --all-extras

Claude桌面配置
  • 在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json

  • 在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

在配置文件中添加以下内容:

{ "mcpServers": { "wegene-assistant": { "command": "uv", "args": [ "--directory", "/path/to/wegene-assistant", "run", "wegene-assistant" ] } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xraywu/mcp-wegene-assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server