Installation

Table of contents

  1. Prerequisites
  2. Step 1 — Create the Python environment
  3. Step 2 — Install the Claude Code CLI
  4. Step 3 — Verify the installation
  5. Step 4 — Install MCP servers
  6. Step 5 — Configure the cache
  7. Troubleshooting

Prerequisites

Tool Purpose Install guide
Python 3.10+ Core runtime python.org
Conda/Mamba Environment management miniforge
uv Lightweight CPU MCPs docs.astral.sh/uv
Node.js / npm Claude Code CLI nodejs.org
Docker (GPU support) Containerised MCP servers docs.docker.com
NVIDIA drivers + container toolkit GPU access inside Docker NVIDIA Container Toolkit

Verify your setup:

python --version       # >= 3.10
mamba --version        # or conda --version
uv --version
npm --version
docker --version
nvidia-smi             # GPU available
docker run --rm --gpus all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi  # GPU in Docker

Step 1 — Create the Python environment

git clone https://github.com/charlesxu90/CycPepMCP.git
cd CycPepMCP

mamba env create -f environment.yml -y
mamba activate cycpepmcp
pip install -r requirements.txt
pip install -e .

Step 2 — Install the Claude Code CLI

npm install -g @anthropic-ai/claude-code

Step 3 — Verify the installation

cpmcp avail      # List all available MCP servers
cpskill avail    # List all available workflow skills
claude --version

Step 4 — Install MCP servers

Each MCP declares one of three runtimes. cpmcp install detects it and does the right thing.

Runtime What cpmcp install does GPU Example MCPs
uv Creates a uv virtualenv and installs dependencies No cyclicchamp_mcp, haddock3_mcp, multicycgt_mcp, pharmpapp_mcp
docker Uses a local image if present, otherwise pulls from GHCR Yes rfpeptides_mcp, afcycdesign_mcp, boltz_mcp, alphafold3_mcp
python Runs the MCP’s quick_setup.sh to build a conda env No adcp_mcp, cyc_builder_mcp, cyclicpeptide_mcp
# Lightweight CPU MCP
cpmcp install cyclicchamp_mcp

# GPU MCP — local build is faster than pulling from GHCR
cd tool-mcps/afcycdesign_mcp && docker build -t afcycdesign_mcp:latest . && cd ../..
cpmcp install afcycdesign_mcp

# Check what is installed and registered
cpmcp status
claude mcp list

To build every Docker MCP locally:

for mcp_dir in tool-mcps/*/; do
  if [ -f "$mcp_dir/Dockerfile" ]; then
    name=$(basename "$mcp_dir")
    echo "Building $name..."
    docker build -t "${name}:latest" "$mcp_dir"
  fi
done

Installing a workflow skill installs its MCPs for you: cpskill install binder_design_rfpeptides pulls in rfpeptides_mcp, proteinmpnn_mcp, rosetta_kic_mcp and afcycdesign_mcp.

Step 5 — Configure the cache

Databases and model weights live under a single cache root, set by MACROMNEX_CACHE (default ~/.macromnex/cache):

$MACROMNEX_CACHE/
├── data/        # databases and reference data, one subpath per MCP
└── model/       # ML model weights
    ├── boltz/
    ├── alphafold2/params/
    ├── alphafold3/
    └── ...

Docker MCPs get their cache directories mounted as volumes automatically; uv and python MCPs receive MACROMNEX_CACHE as an environment variable. Directories are created during cpmcp install.

export MACROMNEX_CACHE=/data/macromnex/cache   # optional, defaults to ~/.macromnex/cache
cpmcp cache                                     # inspect the cache root and per-MCP subpaths

Model weights are large — AlphaFold3 and AlphaFold2 parameters alone run to tens of gigabytes. Point MACROMNEX_CACHE at a volume with room before installing the structure-prediction MCPs.

Troubleshooting

An MCP is installed but Claude Code cannot see it. Registration writes to ~/.claude.json. Check with claude mcp list, and re-register with cpmcp install <name>.

A Docker MCP fails with a GPU error. Verify docker run --rm --gpus all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi works. GPU MCPs are registered with --gpus all --ipc=host.

cpmcp status looks stale. Status is cached for five minutes in tool-mcps/mcp.status. Force a refresh with cpmcp status --refresh.

The registry disagrees with what is on disk. Run cpmcp sync.


Copyright © 2026 Charles XU. Distributed under the MIT License.