AS

arcadia-science/agentic-pymol

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

108 stars 22 forks Качество 73 Тренд 20MIT

arcadia-science/agentic-pymol — это кандидат на сервер MCP, импортированный из https://github.com/arcadia-science/agentic-pymol.

Обзор

arcadia-science/agentic-pymol — это кандидат на сервер MCP, импортированный из https://github.com/arcadia-science/agentic-pymol.

Обзор (машинный перевод)

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

Описание

Лёгкий сервер Model Context Protocol (MCP), который предоставляет PyMOL в виде типизированной поверхности инструмента для универсальных агентов.

Используйте его вместе с Claude Code, Claude Desktop, Codex или любым совместимым с MCP клиентом, чтобы ваш агент мог управлять открытой сессией PyMOL, инспектировать молекулярные структуры, запускать PyMOL-нативные анализы и отображать то, что он видит.

Agentic PyMOL — это не встроенный чат-бот и не молекулярный рабочий стол. Это небольшой мост между компетентным агентом и сессией PyMOL, которую вы уже используете.

Что ты можешь сделать

Попросите вашего агента использовать PyMOL напрямую:

Для краткого обзора способностей смотрите эту 6-минутную демонстрацию того, как можно использовать Agentic PyMOL для проведения содержательного структурного анализа с использованием естественного языка:

Цели дизайна

  • Используйте уже имеющийся PyMOL. Работает с вашей существующей установкой PyMOL; поддерживается PyMOL 2.6+.
  • Нет островного чат-бота. PyMOL доступен для вашего универсального агента, а не обворачивает его в собственный чат-интерфейс.
  • **Двусторонняя связь.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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]

Открыть полный README на GitHub

Установка

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

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →