Skip to main content

molcompose-mcp

An agent-safe MCP server that exposes the MolCompose figure workflow in UCSF ChimeraX as typed tools. Agents call the same canonical molcompose commands as the GUI panel — versioned presets, validated inputs, and a complete provenance record for every exported figure.

Requirements

  1. UCSF ChimeraX 1.12 with the ChimeraX-MolCompose bundle installed.
  2. Start the REST bridge inside ChimeraX:
remotecontrol rest start port 3000 json true

(Image export requires a windowed ChimeraX on macOS; analysis tools also work with --nogui.)

Run

pip install molcompose-mcp
molcompose-mcp --chimerax-url http://127.0.0.1:3000

Register the command above as an MCP stdio server in whichever client you use. The protocol is open and this server is not written against any one client; a command-line client is enough.

Most clients take the same shape of config:

{
  "mcpServers": {
    "molcompose": {
      "command": "molcompose-mcp",
      "args": ["--chimerax-url", "http://127.0.0.1:3000"]
    }
  }
}

Check your client's documentation for its configuration-file location rather than trusting a path written here, since client conventions change.

Optional: PythiaStudio ΔΔG

predict_ddg_pythiastudio fetches binding/stability ΔΔG from the PythiaStudio REST API and writes a tabular file that load_ddg then loads into ChimeraX. This is the only networked tool — the bundle itself never calls out, which keeps its zero-service dependency profile intact while the agent acts as the integration layer. Set PYTHIASTUDIO_API_KEY or pass a key explicitly.

Safety model

  • Figure work goes through the typed molcompose tools only.
  • Native passthrough is limited to an enumerated display-only whitelist (open, close, view, select, color, show, hide, ...).
  • Coordinate- or file-modifying commands are rejected with a structured error.
  • Every export writes <figure>.provenance.json with the client identity, timestamps, and the full command recipe.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molcompose_mcp-0.1.1.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molcompose_mcp-0.1.1-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file molcompose_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: molcompose_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for molcompose_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1b2a4c1e985b741d483d33244c802dec96cb22ce397a746c73247e6b2471b1c2
MD5 5153d9ac62446568950a0c84e57391f1
BLAKE2b-256 5d065cbb3106a068ce452c68edb68ce82bc2c10309f04613a04459348f4bd8c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcompose_mcp-0.1.1.tar.gz:

Publisher: release.yml on ChiaChunL/MolCompose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcompose_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: molcompose_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for molcompose_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4e1862168409f0e81961ea4bc5234a34760e9261143e653412d8df5b3d18e5
MD5 5046d48ef9cd76f5e5faed7b725c8338
BLAKE2b-256 0ea77d0c9b12460ad2b3493791e472166b56d52a26198fe9ca1d4ea434e6b50d

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcompose_mcp-0.1.1-py3-none-any.whl:

Publisher: release.yml on ChiaChunL/MolCompose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page