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
- UCSF ChimeraX 1.12 with the ChimeraX-MolCompose bundle installed.
- 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
molcomposetools 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.jsonwith 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b2a4c1e985b741d483d33244c802dec96cb22ce397a746c73247e6b2471b1c2
|
|
| MD5 |
5153d9ac62446568950a0c84e57391f1
|
|
| BLAKE2b-256 |
5d065cbb3106a068ce452c68edb68ce82bc2c10309f04613a04459348f4bd8c5
|
Provenance
The following attestation bundles were made for molcompose_mcp-0.1.1.tar.gz:
Publisher:
release.yml on ChiaChunL/MolCompose
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
molcompose_mcp-0.1.1.tar.gz -
Subject digest:
1b2a4c1e985b741d483d33244c802dec96cb22ce397a746c73247e6b2471b1c2 - Sigstore transparency entry: 2583234766
- Sigstore integration time:
-
Permalink:
ChiaChunL/MolCompose@dd733f869b1d616ed1819a478128c7e4d87743bc -
Branch / Tag:
refs/tags/mcp-v0.1.1 - Owner: https://github.com/ChiaChunL
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dd733f869b1d616ed1819a478128c7e4d87743bc -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b4e1862168409f0e81961ea4bc5234a34760e9261143e653412d8df5b3d18e5
|
|
| MD5 |
5046d48ef9cd76f5e5faed7b725c8338
|
|
| BLAKE2b-256 |
0ea77d0c9b12460ad2b3493791e472166b56d52a26198fe9ca1d4ea434e6b50d
|
Provenance
The following attestation bundles were made for molcompose_mcp-0.1.1-py3-none-any.whl:
Publisher:
release.yml on ChiaChunL/MolCompose
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
molcompose_mcp-0.1.1-py3-none-any.whl -
Subject digest:
7b4e1862168409f0e81961ea4bc5234a34760e9261143e653412d8df5b3d18e5 - Sigstore transparency entry: 2583234776
- Sigstore integration time:
-
Permalink:
ChiaChunL/MolCompose@dd733f869b1d616ed1819a478128c7e4d87743bc -
Branch / Tag:
refs/tags/mcp-v0.1.1 - Owner: https://github.com/ChiaChunL
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dd733f869b1d616ed1819a478128c7e4d87743bc -
Trigger Event:
push
-
Statement type: