AmadeusBio.ai
AmadeusBio.ai
DocumentsBlogsAboutEducationGetting StartedNapari Integration & SetupPyMOL Plugin IntegrationGalaxy Plugin

PyMOL Plugin Integration

Installation guide and usage instructions for the PyMOL MCP plugin, including safe command wrapper configuration.

PyMOL Plugin Installation & Usage

Updating the Plugin

If you have an older version of the plugin currently running in PyMOL, you must update it to ensure compatibility with the mcp_start command.

Installation Steps

1. Open PyMOL

Launch the PyMOL application on your machine.

2. Open Plugin Manager

Navigate to Plugin > Plugin Manager in the top menu.

3. Remove Old Version

Go to the Installed Plugins tab. Locate and remove any previous versions of the MCP plugin.

4. Install New Version

Go to the Install New Plugin tab. Select the directory containing the updated __init__.py and .ui files.

5. Restart PyMOL

Close PyMOL completely and relaunch it to finalize the installation.

Running from the Command Line

Once the plugin is installed and the mcp_start command is registered, you can launch it directly from your terminal.

Usage

Open your terminal or command prompt and execute:

pymol -d "mcp_start"

Configuring the PyMOL Command

To avoid environment conflicts and enable the standard pymol command from any terminal interface, we recommend using an isolated "Safe Commands" directory wrapper rather than adding the PyMOL installation directly to your system PATH.

1. Create the "Safe Commands" Directory Open PowerShell and create a dedicated folder for your global commands:

mkdir C:\Users\<user>\MyCommands

2. Add to PATH

  • Go to your Windows Environment Variables -> Path -> Edit.
  • Click New, add C:\Users\<user>\MyCommands, and click OK to save.

3. Create the Batch Wrapper

  • Inside the MyCommands folder, create a new text document and name it pymol.bat (ensure Windows is not hiding the .txt extension).
  • Edit the file, paste the following code, and save:
@echo off
"C:\Users\<user>\AppData\Local\Schrodinger\PyMOL2\pymol.exe" %*

(Note: Adjust the path if your PyMOL executable is named differently, like pyMOLWin.exe, or installed in a different location).

Open your terminal and create a symbolic link from your PyMOL application to your local bin directory:

sudo ln -s /Applications/PyMOL.app/Contents/MacOS/PyMOL /usr/local/bin/pymol

Open your terminal and create a symbolic link from your PyMOL executable to your local bin directory:

sudo ln -s /path/to/extracted/pymol/folder/pymol /usr/local/bin/pymol

Verification

Open a new terminal or command prompt session and verify the setup by triggering PyMOL in headless (-c) and quiet (-q) mode:

pymol -cq

(If successful, the terminal will process the command without launching the GUI or printing startup logs.)

Napari Integration & Setup

Installation guide for isolating Napari, setting up the napari-mcp socket plugin, and configuring command wrappers to connect to Claude Code.

Galaxy Plugin

Setting up the galaxy plugin by providing claude code API access to operate galaxy remotely

On this page

PyMOL Plugin Installation & UsageUpdating the PluginInstallation Steps1. Open PyMOL2. Open Plugin Manager3. Remove Old Version4. Install New Version5. Restart PyMOLRunning from the Command LineUsageConfiguring the PyMOL CommandVerification