Mcp Viz Molecule 3D
mcp_viz_molecule_3d
Open in the interactive browser →
Generate interactive 3D molecular visualization from SMILES or XYZ coordinates. Returns an HTML snippet with an embedded py3Dmol viewer that can be displayed in notebooks or web interfaces. Supports multiple visualization styles (stick, sphere, cartoon) and can show multiple conformers.
Preview. This tool is available but has not yet completed Paramus output verification. Treat results as provisional.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
smiles |
string | no | SMILES string of the molecule to visualize. Either smiles or xyz must be provided. |
xyz |
string | no | XYZ format coordinates as a string. Either smiles or xyz must be provided. |
style |
string | no | Visualization style: one of 'stick', 'ball-and-stick', 'sphere', 'line', 'cartoon', 'cross'. Default: 'stick' |
color_scheme |
string | no | Atom coloring scheme |
background_color |
string | no | Background color (CSS color name or hex) |
width |
integer | no | Viewer width in pixels |
height |
integer | no | Viewer height in pixels |
spin |
boolean | no | Enable auto-rotation of the molecule |
num_conformers |
integer | no | Number of conformers to generate (only for SMILES input) |
optimize_geometry |
boolean | no | Run MMFF94 force field optimization on generated conformers |
output_path |
string | no | Workspace-relative file path for the figure. A bare file name is placed in the chat's files folder. |
auto_open |
boolean | no | Open the saved file in system default application. Only applies when output_path is provided. |
overwrite |
boolean | no | Overwrite existing file. If false and file exists, returns an error. |
Examples
SMILESXYZmolecular