Protein mutation effect prediction using MutCompute neural networks via Docker
An MCP (Model Context Protocol) server for protein mutation analysis with 12 tools:
- analyze_mutation_hotspots -- Identify critical and flexible protein regions
- calculate_mutation_llh -- Calculate log-likelihood scores for mutations
- validate_pdb_file -- Validate PDB file compatibility
- submit_mutation_prediction -- Predict mutation effects from PDB structures
- submit_batch_mutation_prediction -- Batch processing of multiple PDB files
- submit_mutcompute_pipeline -- Run the full MutCompute analysis pipeline
- get_job_status / get_job_result / get_job_log / cancel_job / list_jobs -- Job management
- list_example_data -- List available example files
The fastest way to get started. A pre-built Docker image is automatically published to GitHub Container Registry on every release.
# Pull the latest image
docker pull ghcr.io/macromnex/mutcompute_mcp:latest
# Register with Claude Code (runs as current user to avoid permission issues)
claude mcp add mutcompute_mcp -- docker run -i --rm --user `id -u`:`id -g` -v `pwd`:`pwd` ghcr.io/macromnex/mutcompute_mcp:latestNote: Run from your project directory. `pwd` expands to the current working directory. The Docker image uses CPU mode by default. To enable GPU, set the THEANO_FLAGS environment variable (see Troubleshooting).
Requirements:
- Docker
- Claude Code installed
That's it! The MutCompute MCP server is now available in Claude Code.
Build the image yourself and install it into Claude Code. Useful for customization or offline environments.
# Clone the repository
git clone https://github.com/MacromNex/mutcompute_mcp.git
cd mutcompute_mcp
# Build the Docker image
docker build -t mutcompute_mcp:latest .
# Register with Claude Code (runs as current user to avoid permission issues)
claude mcp add mutcompute_mcp -- docker run -i --rm --user `id -u`:`id -g` -v `pwd`:`pwd` mutcompute_mcp:latestAbout the Docker Flags:
-i-- Interactive mode for Claude Code--rm-- Automatically remove container after exit--user `id -u`:`id -g`-- Runs the container as your current user-v-- Mounts your project directory
claude mcp list
# You should see 'mutcompute_mcp' in the outputIn Claude Code, you can now use all 12 tools:
analyze_mutation_hotspotscalculate_mutation_llhvalidate_pdb_filesubmit_mutation_predictionsubmit_batch_mutation_predictionsubmit_mutcompute_pipelineget_job_status,get_job_result,get_job_log,cancel_job,list_jobslist_example_data
- Detailed documentation: See detail.md for comprehensive guides including local installation, script usage, dual-environment setup, configuration files, and performance benchmarks
Use analyze_mutation_hotspots on @examples/data/1y4a_BPN_mutcompute.csv to find critical residues in my protein
Submit mutation prediction for @examples/data/1y4a_BPN.pdb and check the job status when complete
Use validate_pdb_file to check if @my_protein.pdb is compatible with MutCompute analysis
Problem: Container not found or pull fails
# Verify Docker is running
docker info
# Pull with explicit tag
docker pull ghcr.io/macromnex/mutcompute_mcp:latestProblem: Permission denied on output files
# Ensure you're using the --user flag
docker run -i --rm --user `id -u`:`id -g` -v `pwd`:`pwd` ghcr.io/macromnex/mutcompute_mcp:latestProblem: Want to use GPU instead of CPU
# Add --gpus all and set THEANO_FLAGS for GPU mode
claude mcp add mutcompute_mcp -- docker run -i --rm --user `id -u`:`id -g` --gpus all -e THEANO_FLAGS="device=cuda,floatX=float32" -v `pwd`:`pwd` ghcr.io/macromnex/mutcompute_mcp:latestProblem: MCP server not responding
# Re-register with Claude Code
claude mcp remove mutcompute_mcp
claude mcp add mutcompute_mcp -- docker run -i --rm --user `id -u`:`id -g` -v `pwd`:`pwd` ghcr.io/macromnex/mutcompute_mcp:latestProblem: File paths not found inside container
# Make sure to run Claude Code from the directory containing your files
# The -v `pwd`:`pwd` flag mounts only the current directory
cd /path/to/your/project
claudeBased on the MutCompute neural network ensemble for protein mutation effect prediction.
Based on MutCompute -- Neural network ensemble for protein mutation analysis.