AS

arcadia-science/agentic-pymol

开发工具

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

108 stars 22 forks 质量 73 趋势 20MIT

arcadia-science/agentic-pymol 是从 https://github.com/arcadia-science/agentic-pymol. 导入的 MCP 服务器候选

概览

arcadia-science/agentic-pymol 是从 https://github.com/arcadia-science/agentic-pymol. 导入的 MCP 服务器候选

概述(AI 翻译)

https://github.com/user-attachments/assets/43524828-0fcc-44e5-bcd6-c912e7f865b1

描述

一个轻量级模型上下文协议(MCP)服务器,将 PyMOL 作为通用代理的类型化工具表面暴露。

可以与 Claude Code、Claude Desktop、Codex 或任何兼容 MCP 的客户端一起使用,让你的代理控制一个开放的 PyMOL 会话,检查分子结构,运行 PyMOL 原生分析,并渲染所见。

Agentic PyMOL不是嵌入式聊天机器人,也不是分子工作台。它是功能智能体与你已使用的PyMOL会话之间的一个小桥梁。

你能做什么

请让你的代理直接使用PyMOL:

想简要展示能力,请看这段6分钟演示,展示如何利用Agentic PyMOL进行自然语言的有意义结构分析:

设计目标

  • 使用您已有的PyMOL。 可与您现有的PyMOL安装配合使用;支持PyMOL 2.6+。
  • 无封闭式聊天机器人。 PyMOL 是暴露给你的通用代理,而不是在自己的聊天界面中包裹 PyMOL。
  • **双向通信。

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

README

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

Agentic PyMOL

https://github.com/user-attachments/assets/43524828-0fcc-44e5-bcd6-c912e7f865b1

Description

A lightweight Model Context Protocol (MCP) server that exposes PyMOL as a typed tool surface for general-purpose agents.

Use it with Claude Code, Claude Desktop, Codex, or any MCP-compatible client to let your agent control an open PyMOL session, inspect molecular structures, run PyMOL-native analyses, and render what it sees.

Agentic PyMOL is not an embedded chatbot and not a molecular workbench. It is a small bridge between a capable agent and the PyMOL session you already use.

What you can do

Ask your agent to use PyMOL directly:

* Fetch ubiquitin, show it as cartoon, color by secondary structure, and render a PNG.
* Create a table of residues that are in contact with DNA in the DNA-binding protein 6EDC.
* Load these two structures, align chain A, report the RMSD, and show the regions that moved the most.
* Which of these 10 binders trigger a conformational shift in the target activation loop?

For a brief showcase of abilities, see this 6-minute demonstration of how you can use Agentic PyMOL to conduct meaningful structural analysis with natural language:

Design goals

  • Use the PyMOL you already have. Works with your existing PyMOL installation; PyMOL 2.6+ is supported.
  • No insular chatbot. PyMOL is exposed to your general-purpose agent rather than wrapping PyMOL in its own chat interface.
  • Two-way communication. The agent can manipulate the live PyMOL session and read structured information back out for reasoning, answers, and downstream work.
  • Typed over textual. Return objects, chains, coordinates, distances, RMSDs, views, sequences, and errors as data – not just “succeeded.”
  • PyMOL-native first. Stay focused on visualization, selection logic, geometry, alignments, rendering, and session inspection.
  • Lightweight and composable. Do not bundle docking, sequence search, conservation analysis, prediction services, or external biology APIs; let other tools handle those jobs.

Install

For a video walkthrough of the setup, watch this explanation:

Requires:

  • PyMOL 2.6+
  • uv
  • an MCP client, such as Claude Code or Claude Desktop

1. Clone and sync

git clone https://github.com/Arcadia-Science/agentic-pymol.git
cd agentic-pymol
uv sync

uv sync installs the agentic-pymol console script into .venv/bin/agentic-pymol.

2. Install the PyMOL plugin

In PyMOL:

  1. Open Plugin → Plugin Manager → Install New Plugin → Choose file…
  2. Select pymol_plugin/__init__.py from this repo.
  3. Open Plugin → agentic-pymol plugin → Start Listening.

[!WARNING]

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →