pymol-cursor-mcp
pymol-cursor-mcp
Steuern Sie PyMOL aus Cursor über das Model Context Protocol (MCP). Beschreiben Sie Strukturen und Stile in einfacher Sprache; der Assistent ruft PyMOL über XML‑RPC auf (run_command, run_python, pymol_get).
Dieses Projekt bündelt und dokumentiert einen Cursor-First-Workflow. Der gleiche MCP-Server funktioniert auch mit Claude Code, falls Sie dieses CLI bevorzugen.
Inspiration durch das Original: nagarh/pymol-claude-code (PyMOL + MCP für Claude Code). Dieses Repository erweitert diesen Ansatz um eine portable Cursor-Konfiguration, Prüfungen, Skripte und Installationsanleitungen.
Architektur (animiert)
Der gleiche Diagrammstil wie beim ursprünglichen flow.svg, aktualisiert für Cursor (cyanfarbener Knoten). Verwendet SVG/CSS-Animation (animateMotion, Keyframes). Falls Ihre Markdown-Vorschau statisch aussieht, öffnen Sie flow.svg direkt auf GitHub, um die vollständige Animation zu sehen.
Related MCP server: vmd-mcp
Was Sie erhalten
Komponente | Zweck |
| MCP-Server (stdio) → PyMOL XML‑RPC |
| Registriert den |
| Agenten-Hinweise für die Nutzung von PyMOL-Tools |
| Startet PyMOL mit |
| Integritätsprüfung: venv + MCP-Import + RPC zu PyMOL |
| Beispiel-PyMOL-Skript (Beschriftungen / Tasche) |
| Animiertes Architekturdiagramm (gleicher Stil wie im ursprünglichen Repository) |
Schnellinstallation
git clone https://github.com/truong128/pymol-cursor-mcp.git
cd pymol-cursor-mcp
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -U pip
pip install -r requirements.txt
deactivateInstallieren Sie PyMOL (conda‑forge empfohlen) und starten Sie dann RPC:
conda activate pymol_mcp # your env with pymol-open-source
pymol -ROder: ./scripts/start_pymol_for_mcp.sh (nach chmod +x).
In Cursor: Ordner öffnen → dieses Repository → Einstellungen → MCP → bestätigen, dass pymol verbunden ist → Cursor bei Bedarf neu starten.
python3 verify_stack.pySollte Folgendes ausgeben: OK: MCP import + PyMOL RPC at http://localhost:9123
Vollständige Schritt-für-Schritt-Anleitung: INSTALL.md
Tägliche Nutzung
Terminal:
pymol -Roder VS Code/Cursor Task: „PyMOL: start with XML-RPC“.Cursor: Chat / Agent mit geöffnetem Ordner verwenden.
Prompt: z. B. „Fetch 1hvr, cartoon on protein, sticks on ligand.“
Zusammenfassung der Änderungen gegenüber dem „Claude Code only“-Original
Thema | Hier |
IDE | Cursor primär; |
RPC URL |
|
Pfade |
|
Windows |
|
Überprüfung |
|
PyMOL-Start |
|
Fehlerbehebung
MCP getrennt: Siehe Cursor Ausgabe → MCP-Protokolle;
venvneu erstellen; Repository-Wurzel als Arbeitsbereich erneut öffnen.PyMOL-Fehler / fehlende
.dylib: Installieren Sie PyMOL von conda-forge in eine dedizierte Umgebung (siehe INSTALL.md).Remote/HPC: Führen Sie MCP dort aus, wo Ihr Editor läuft; tunneln Sie RPC (
PYMOL_RPC_URL, SSH-R) — Details in INSTALL.md.
Credits
PyMOL MCP-Idee und ursprünglicher Server: pymol-claude-code — Hemant Nagar.
Paketierung und Cursor-fokussierte Dokumentation: truong128.
Lizenz
MIT — siehe LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to control PyMOL for molecular visualization and structural biology analysis. It uniquely features screenshot capture capabilities that provide a visual feedback loop, allowing the AI to see and verify the results of its commands.MIT
- FlicenseNot gradedqualityDmaintenanceEnables control of VMD2 for molecular dynamics analysis through natural language, allowing users to load structures, set representations, measure distances, compute RMSD, and render images without Tcl scripting.6
- AlicenseNot gradedqualityFmaintenanceEnables natural language management of MikroTik routers through Cursor IDE by translating requests into RouterOS commands via API or SSH.4MIT
- AlicenseAqualityDmaintenanceEnables natural language control of UCSF ChimeraX for protein structure visualization, editing, and analysis through MCP clients.393MIT
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
GibsonAI MCP server: manage your databases with natural language
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/truong128/pymol-cursor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server