VP

vrtejus/pymol-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

69 stars 14 forks 품질 63 트렌드 0MIT

vrtejus/pymol-mcp는 https://github.com/vrtejus/pymol-mcp.]에서 수입된 MCP 서버 후보입니다

개요

vrtejus/pymol-mcp는 https://github.com/vrtejus/pymol-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

PyMOL-MCP는 PyMOL을 모델 Context Protocol (MCP)을 통해 Claude AI에 연결하여 PyMOL을 직접 상호 작용하고 제어합니다. 이 강력한 통합은 대화 형 구조 생물학, 분자 시각화 및 자연 언어를 통해 분석 할 수 있습니다.

https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36] [T0]] [T0]] [T0]] [T0]] [T0]] [T0]] [T0]] [T0] [T0] [T0]] [T0] [T0] [T0]] [T0]] [T0] [T0] [T0] [T0] [T0]] [T0] [T0]] [T0] [T0] [T0]] [T0]] [T0] [T0] [T0]] https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36] https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36]]] https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36]]]]]] [[https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36]]]]]]] [[[[[[https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36]]]]]]]]]]]]]] [[[[[[[https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36]]]]]]]]]]]]]]]]]] [[[[[[[[[[[[[[[[[[[[[[

특징

-두방향 통신: 소켓 기반 서버를 통해 Claude AI를 PyMOL에 연결 -Intelligent 명령 파싱: PyMOL 명령을 위한 자연적인 언어 처리

  • ** Molecular 시각화 제어 **: 표현, 색상 및 보기
  • Structural Analysis: 측정, 정렬 및 기타 분석 수행 -Code 실행: Claude에서 PyMOL의 arbitrary Python 코드를 실행

설치 가이드

# 필수품

  • 시스템에 설치된 PyMOL
  • 데스크탑용 Claude
  • Python 3.10 이상
  • 지

단계 1: UV 패키지 관리자 설치

** macOS에서:**

Windows에서:

다른 플랫폼을 위해, UV 임명 가이드를 방문하십시오.

단계 2: 저장소를 복제

단계 3: 환경 설정

Python 가상 환경 만들기:

** macOS/리눅스: **

Windows에서:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

PyMOL-MCP: Integrating PyMOL with Claude AI

PyMOL-MCP connects PyMOL to Claude AI through the Model Context Protocol (MCP), enabling Claude to directly interact with and control PyMOL. This powerful integration allows for conversational structural biology, molecular visualization, and analysis through natural language.

https://github.com/user-attachments/assets/687f43dc-d45e-477e-ac2b-7438e175cb36

Features

  • Two-way communication: Connect Claude AI to PyMOL through a socket-based server
  • Intelligent command parsing: Natural language processing for PyMOL commands
  • Molecular visualization control: Manipulate representations, colors, and views
  • Structural analysis: Perform measurements, alignments, and other analyses
  • Code execution: Run arbitrary Python code in PyMOL from Claude

Installation Guide

Prerequisites

  • PyMOL installed on your system
  • Claude for Desktop
  • Python 3.10 or newer
  • Git

Step 1: Install the UV Package Manager

On macOS:

brew install uv

On Windows:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
set Path=C:\Users\[YourUsername]\.local\bin;%Path%

For other platforms, visit the UV installation guide.

Step 2: Clone the Repository

git clone https://github.com/vrtejus/pymol-mcp
cd pymol-mcp

Step 3: Set Up the Environment

Create and activate a Python virtual environment:

python -m venv venv

On macOS/Linux:

source venv/bin/activate

On Windows:

venv\Scripts\activate

Step 4: Install Dependencies

With the virtual environment activated:

pip install mcp

Step 5: Configure Claude Desktop

  1. Open Claude Desktop
  2. Go to Claude > Settings > Developer > Edit Config
  3. This will open the claude_desktop_config.json file
  4. Add the MCP server configuration:
{
  "mcpServers": {
    "pymol": {
      "command": "[Full path to your venv python]",
      "args": ["[Full path to pymol_mcp_server.py]"]
    }
  }
}

For example:

{
  "mcpServers": {
    "pymol": {
      "command": "/Users/username/pymol-mcp/venv/bin/python",
      "args": ["/Users/username/pymol-mcp/pymol_mcp_server.py"]
    }
  }
}

Note: Use the actual full paths on your system. On Windows, use forward slashes (/) instead of backslashes.

Step 6: Install the PyMOL Plugin

  1. Open PyMOL
  2. Go to Plugin → Plugin Manager
  3. Click on “Install New Plugin” tab
  4. Select “Choose file…” and navigate to the cloned repository
  5. Select the pymol-mcp-socket-plugin/__init__.py file
  6. Click “Open” and follow the prompts to install the plugin

Usage

Starting the Connection

  1. In PyMOL:

    • Go to Plugin → PyMOL MCP Socket Plugin
    • Click “Start Listening”
    • The status should change to “Listening on port 9876”
  2. In Claude Desktop:

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "pymol": { "command": "[Full path to your venv python]", "args": ["[Full path to pymol_mcp_server.py]"] } } }