Skip to main content

proteworks

Command line client and local MCP server for syncing Proteworks files and submitting allowlisted workflows. The default API is production. Set PROTEWORKS_API_URL only when testing against staging or a local stack.

uv tool install proteworks
proteworks login
proteworks organization list
proteworks organization set "My Org"
proteworks pull '~/My Files/campaigns/run/' ./run
proteworks push ./1UBQ.pdb '~/My Files/test/'
proteworks push ./run '~/My Files/campaigns/run/'

Quote wildcards so the shell does not expand them. A trailing slash on a remote path means a folder. proteworks --help lists every command.

Login returns to http://127.0.0.1:8765/callback. Add that exact URL to the Auth0 application's Allowed Callback URLs. The same URL is used in development and production.

MCP (Claude Science and other clients)

The same login and organization selection power a local MCP server. Install the MCP extra, sign in once with the CLI, then point your client at proteworks-mcp.

uv tool install 'proteworks[mcp]'
# or: pip install 'proteworks[mcp]'
proteworks login
proteworks organization set "My Org"

Claude Science

  1. Settings → Connectors → Add connector → Local command
  2. Command: proteworks-mcp
    (or uvx --from 'proteworks[mcp]' proteworks-mcp)
  3. Approve tools as needed

Example prompts: list ~/My Files/, dry-run pull a folder, pull it, push results back.

Optional coaching skills (not required for the server):

Import via Settings → Skills → Import from GitHub (or upload the folder). Hosts without a Skills UI still get conventions from MCP tool descriptions and this README.

Tools

Tool Purpose
auth_status Login state, API URL, active org (never the token)
organization_list / organization_set Choose organization (organization_set needs confirm=true)
list_files Browse a remote path; returns file_id + relative_path
pull / push Transfer with dry_run (default true); real transfers need confirm_transfer=true
list_workflows Allowlisted agent workflows (rf-diffusion3, proteinmpnn, refolding, structure-prediction, msa-generation)
get_workflow_schema Full schema with UI-matching defaults
prepare_workflow_submission Merge defaults + overrides; no submit (draft body)
submit_workflow Same merge, then submit
inspect_studio Inspect supported .studio (proteinmpnn / refolding / rf-diffusion3 / structure_prediction); normalized rows + scores
save_selected_studio Same as Studio Save selected → subset .studio uploaded + retention finalized (not yet for structure_prediction)
inspect_proteinmpnn_studio Legacy ProteinMPNN flat-row inspect (prefer inspect_studio)
prepare_refolding_from_proteinmpnn_studio Build refolding payload + SA handoff from MPNN studio selection (no submit)
get_execution / list_execution_results / cancel_execution Status / results / cancel (cancel_execution needs confirm=true)
estimate_workflow_cost Cost estimate from merged params (same validation as prepare)

Auth is shared with the CLI (OS keychain + ~/.config/proteworks/). There is no separate MCP login.

MCP safety env

Variable Purpose
PROTEWORKS_MCP_ROOT Local workspace root for pull/push (default: process cwd)
PROTEWORKS_MCP_READ_ONLY When 1/true, disables submit/push/cancel/save-selected
PROTEWORKS_STORAGE_HOST_ALLOWLIST Comma-separated host suffixes for signed URL follow (default: GCS hosts)
PROTEWORKS_MAX_STUDIO_BYTES Max .studio download size (default 80 MiB)
PROTEWORKS_STUDIO_INSPECT_LIMIT Default row page size for inspect_studio (default 50)

Staging smoke: auth_status → list_workflows → get_workflow_schema → prepare_workflow_submission → estimate_workflow_cost → submit_workflow → get_execution → cancel_execution (with confirm=true if still running).

Workflow submit

  1. list_files → get file_id for any structure input.
  2. get_workflow_schema for the workflow (rf-diffusion3, proteinmpnn, refolding, structure-prediction, or msa-generation).
  3. prepare_workflow_submission to review the merged payload (defaults match a fresh Studio form).
  4. submit_workflow when ready.

Refolding and Structure Prediction have no default predictor/MSA — agents must ask the user which methods and (when required) which MSA to use before prepare/submit. Structure Prediction also requires a user-provided complex (structure-prediction-complex-json). MSA generation has no default sequences — ask, then pass generated-fasta-inputs or fasta_files; use the run output folder as msa_output_folder downstream. From ProteinMPNN results: inspect_studio → ask → prepare_refolding_from_proteinmpnn_studio → submit_workflow.

.studio results: inspect_studio → filter by scores (e.g. pLDDT / Rg) → save_selected_studio to write a subset bundle (structure_prediction is inspect-only for now).

Payload shape matches Studio POST /api/v1/workflows/submit and is reserved for future shareable draft links (/app?workflowDraft=<id>) that open the form pre-filled without submitting.

Adding another workflow to the allowlist

In protein-studio:

  1. Extract buildXDefaultParameters + form init from that workflow’s UI.
  2. Implement buildXAgentSchema().
  3. Run npm run export-agent-schemas in frontend/; commit JSON under backend/app/data/agent_workflow_schemas/.
  4. Add the workflow id to allowlists (frontend export index, backend AGENT_WORKFLOW_ALLOWLIST, proteworks-cli AGENT_WORKFLOW_ALLOWLIST).
  5. Add default/parity tests; extend the workflows skill if needed.

No new MCP tool names are required.

Metadata

Release files for proteworks 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proteworks 0.1.4
File Size Uploaded Provenance Actions
proteworks-0.1.4.tar.gz 57.7 kB Without provenance Details for proteworks-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proteworks 0.1.4
File Interpreter ABI Platform Actions
proteworks-0.1.4-py3-none-any.whl Python 3 none any Details for proteworks-0.1.4-py3-none-any.whl

Total release size: 112.3 kB

Release files / proteworks-0.1.4.tar.gz

Download URL proteworks-0.1.4.tar.gz
Size 57.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a7720a901145cf473d61c6005a0b6719345ade493c6b47c7a97e8c67e6e2aa7f
BLAKE2b-256 checksum
How to use checksums
c23d285256932b74b53a3267ce817ab8a9352e134c930fa01081a2b23c4b90f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / proteworks-0.1.4-py3-none-any.whl

Download URL proteworks-0.1.4-py3-none-any.whl
Size 54.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23cd3aab127ad3347ebb60d9b456a817f1e79c7ff20fc9c5f50953f5cdbccb01
BLAKE2b-256 checksum
How to use checksums
c56edd031b07096fcdad1764b46ffde02699fcca88c30f2fd7aa787d03fddf1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for proteworks 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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