分子模型协议服务器

Molecule-MCP是一个通过模型上下文协议(MCP)将分子科学相关工具连接到Claude AI的服务器,使Claude能够直接交互和控制这些工具,作为科研助手进行分子建模。

  • by ChatMol
  • Python
  • 本地部署
  • 97 星标
  • 更新于
在 GitHub 查看 ChatMol/molecule-mcp

使用说明

分子MCP

分子MCP:用于分子的模型上下文协议服务器。 分子MCP通过模型上下文协议(MCP)将分子科学相关工具连接到Claude AI,使Claude能够 直接与这些工具交互并控制它们,并充当联合科学家这种集成实现了快速辅助分子建模。

安装

⚠️ 备注:Molecule MCP需要安装并运行Claude Desktop。

  1. 转到Claude>设置>开发人员>编辑配置>Claude_desktop_Config.json,以包含以下内容:
{
  "mcpServers": {
    "pymol": {
      "command": "/path/to/mcp",
      "args": [
        "run",
        "/path/to/molecule-mcp/pymol_server.py"
      ]
    },
    "chimerax": {
      "command": "/path/to/mcp",
      "args": [
        "run",
        "/path/to/molecule-mcp/ChimeraX_server.py"
      ]
    },
    "gromacs_copilot": {
      "command": "/path/to/mcp",
      "args": [
        "run",
        "/path/to/molecule-mcp/mcp_server.py"
      ]
    }
  }
}
  1. 安装mcp并获取脚本
pip install "mcp[cli]" chatmol
pip install git+https://github.com/ChatMol/gromacs_copilot.git # optional, for running gromacs_copilot
which mcp

将显示到mcp的路径。复制此路径以进行下一步并替换 /path/to/mcp 通往mcp的道路。

git clone https://github.com/ChatMol/molecule-mcp.git
cd molecule-mcp
pwd

将显示分子mcp的路径。复制此路径以进行下一步并替换 /path/to/molecule-mcp 通往分子mcp的道路。

免责声明

分子MCP按“原样”提供,不提供任何明示或暗示的保证。作者和贡献者否认所有保证,包括但不限于对适销性和特定用途适用性的暗示保证。用户使用此软件需自行承担风险。

对于因使用、误用或误解本软件或其输出而产生的任何后果,作者不承担任何责任。通过分子MCP获得的结果在用于研究、出版物或决策过程之前应进行独立验证。

本软件仅用于研究和教育目的。用户全权负责确保遵守其管辖范围内的适用法律、法规和道德标准。