esm / README.md
ghh1125's picture
Upload 13 files
55adf01 verified
metadata
title: esm MCP Service
emoji: 🔧
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit

esm MCP Service

This deployment package exposes selected capabilities from the ESM Python repository through FastMCP.

Available MCP Tools

  • health_check
  • list_pretrained_models
  • get_alphabet_info
  • tokenize_sequence
  • fasta_overview
  • plan_fasta_batches
  • adapter_inspect
  • adapter_call_function

Detailed tool docs and examples are available in esm/mcp_output/README_MCP.md.

Local stdio usage

cd esm/mcp_output
python mcp_plugin/main.py

or

python start_mcp.py

HTTP client usage

MCP_TRANSPORT=http MCP_PORT=8000 python esm/mcp_output/start_mcp.py

For Docker/HF Spaces this service runs with MCP_TRANSPORT=http and MCP_PORT=7860. Clients connect to the MCP endpoint at:

  • https://{host}/mcp

Docker

./run_docker.sh

or on PowerShell:

./run_docker.ps1