pymol-cursor-mcp
pymol-cursor-mcp
Controla PyMOL desde Cursor mediante el Protocolo de Contexto de Modelo (MCP). Describe estructuras y estilos en lenguaje sencillo; el asistente llama a PyMOL a través de XML‑RPC (run_command, run_python, pymol_get).
Este proyecto empaqueta y documenta un flujo de trabajo centrado en Cursor. El mismo servidor MCP funciona con Claude Code si prefieres esa CLI.
Inspiración original: nagarh/pymol-claude-code (PyMOL + MCP para Claude Code). Este repositorio amplía esa idea con configuración, comprobaciones, scripts y documentación de instalación portátiles para Cursor.
Arquitectura (animada)
El mismo estilo de diagrama que el original flow.svg, actualizado para Cursor (nodo cian). Utiliza animación SVG/CSS (animateMotion, keyframes). Si tu vista previa de Markdown parece estática, abre flow.svg directamente en GitHub para ver el movimiento completo.
Related MCP server: vmd-mcp
Qué obtienes
Pieza | Propósito |
| Servidor MCP (stdio) → PyMOL XML‑RPC |
| Registra el servidor MCP |
| Sugerencias para el agente sobre el uso de herramientas de PyMOL |
| Inicia PyMOL con |
| Comprobación de integridad: venv + importación MCP + RPC a PyMOL |
| Script de ejemplo de PyMOL (etiquetas / bolsillo) |
| Diagrama de arquitectura animado (mismo estilo que el repositorio original) |
Instalación rápida
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
deactivateInstala PyMOL (se recomienda conda‑forge), luego inicia RPC:
conda activate pymol_mcp # your env with pymol-open-source
pymol -RO bien: ./scripts/start_pymol_for_mcp.sh (después de chmod +x).
En Cursor: Abrir carpeta → este repositorio → Configuración → MCP → confirma que pymol está conectado → reinicia Cursor si es necesario.
python3 verify_stack.pyDebería imprimir: OK: MCP import + PyMOL RPC at http://localhost:9123
Paso a paso completo: INSTALL.md
Uso diario
Terminal:
pymol -Ro Tarea de VS Code/Cursor: “PyMOL: start with XML-RPC”.Cursor: Chat / Agente con esta carpeta abierta.
Prompt: ej. “Fetch 1hvr, cartoon on protein, sticks on ligand.”
Resumen de cambios respecto al original “solo para Claude Code”
Tema | Aquí |
IDE | Cursor principal; |
URL RPC | Variable de entorno |
Rutas |
|
Windows |
|
Verificación |
|
Inicio de PyMOL |
|
Solución de problemas
MCP desconectado: consulta Salida → Registros MCP en Cursor; recrea
venv; vuelve a abrir la raíz del repositorio como espacio de trabajo.Errores de PyMOL /
.dylibfaltante: instala PyMOL desde conda-forge en un entorno dedicado (consulta INSTALL.md).Remoto/HPC: ejecuta MCP donde se ejecuta tu editor; túnel RPC (
PYMOL_RPC_URL, SSH-R) — detalles en INSTALL.md.
Créditos
Idea de PyMOL MCP y servidor original: pymol-claude-code — Hemant Nagar.
Empaquetado y documentación centrada en Cursor: truong128.
Licencia
MIT — consulta 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