Skip to main content
Glama
Alierkn
by Alierkn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMX_BINNoPath to the gmx executable. Default: auto-detected from PATH.auto
GROMACS_MCP_ROOTNoBase directory for work directories. Default: ~/gromacs-mcp/projects~/gromacs-mcp/projects

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gmx_infoA

Return the GROMACS version, build config, binary path, and project root.

list_filesA

List files in a project work directory.

read_text_fileB

Read a safe text file from a work directory; output is clipped.

write_mdpC

Write a safe text MDP/topology-style file into a work directory.

write_em_mdpC

Write a conservative energy-minimisation MDP template.

write_nvt_mdpB

Write a conservative NVT equilibration MDP template.

write_npt_mdpC

Write a conservative NPT equilibration MDP template.

write_md_mdpC

Write a conservative production-MD MDP template.

validate_mdpB

Validate a text MDP file for syntax and common safety issues.

pdb2gmxC

Build topology and processed coordinates from a PDB/GRO structure.

editconfC

Define a simulation box around a structure.

solvateC

Fill a box with solvent and update the topology.

gromppB

Preprocess MDP, structure, and topology into a TPR run input.

genionC

Add counter-ions by replacing solvent molecules.

trjconvC

Post-process a trajectory: PBC treatment, centering, and conversion.

make_ndxC

Create or edit a GROMACS index file with gmx make_ndx.

energyC

Extract an energy term from an EDR file with gmx energy.

rmsC

Calculate RMSD with gmx rms.

rmsfC

Calculate residue/atom RMSF with gmx rmsf.

gyrateC

Calculate radius of gyration with gmx gyrate.

hbondC

Calculate hydrogen bonds with gmx hbond.

sasaC

Calculate solvent-accessible surface area with gmx sasa.

checkC

Check a GROMACS file with gmx check.

mdrun_startB

Start a simulation in the background and return immediately with a job id.

mdrun_statusA

Check a background simulation and return progress plus log tail.

mdrun_listA

List all known background simulations and their current status.

mdrun_stopB

Stop a running background simulation with SIGTERM.

mdrun_logsB

Read the captured stdout/stderr log for a background simulation.

mdrun_cleanupB

Remove finished job records from the registry.

mdrun_forgetA

Remove one job record; running jobs require force=True.

run_gmxA

Run any non-blocking gmx subcommand not covered by a dedicated tool.

Prompts

Interactive templates invoked by user choice

NameDescription
prepare_protein_mdPlan a standard solvated-protein MD setup.
debug_grompp_failureGuide debugging of a failed grompp call.
basic_trajectory_analysisRun a basic trajectory analysis set.

Resources

Contextual data attached and managed by the client

NameDescription
projectsList work directories under GROMACS_MCP_ROOT.
jobsList background mdrun jobs.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alierkn/gromacs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server