PP

phelanshao/plumed2-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

12 stars 6 forks 品質 66 トレンド 19GPL-3.0

PLUMED2 Smart Input Generator - An MCP-based assistant for molecular dynamics enhanced sampling configurations that automatically generates optimized PLUMED input files, supporting metadynamics,...

概要

The PLUMED2 MCP Server is a Model Context Protocol (MCP) server that provides AI assistants with powerful tools for generating, validating, and optimizing PLUMED input files for molecular dynamics simulations. This server enables seamless integration of PLUMED expertise into AI workflows. - : Generate complete PLUMED input files with collective variables, bias methods, and output configurations - : Access pre-defined templates for common simulation scenarios (protein folding, drug binding, phase transitions, nucleation) - : Get intelligent suggestions to optimize PLUMED performance for large systems - : Validate PLUMED syntax with detailed error reporting and reference checking - : Fully English codebase with professional documentation - Python 3.11 or higher - pip package manager Add the following configuration to your MCP client settings (e.g., Claude Desktop, Cline, etc.): : Replace /path/to/plumed_mcp_server with the actual path to your installation directory.

README

以下は原文 README の抜粋です。原文を見る。

PLUMED2 MCP Server / PLUMED2 MCP 服务器

English | 中文


English

Overview

The PLUMED2 MCP Server is a Model Context Protocol (MCP) server that provides AI assistants with powerful tools for generating, validating, and optimizing PLUMED input files for molecular dynamics simulations. This server enables seamless integration of PLUMED expertise into AI workflows.

Features

  • 🔧 Input File Generation: Generate complete PLUMED input files with collective variables, bias methods, and output configurations
  • 📋 Template System: Access pre-defined templates for common simulation scenarios (protein folding, drug binding, phase transitions, nucleation)
  • ⚡ Performance Optimization: Get intelligent suggestions to optimize PLUMED performance for large systems
  • ✅ Syntax Validation: Validate PLUMED syntax with detailed error reporting and reference checking
  • 🌐 International: Fully English codebase with professional documentation

Installation

Prerequisites

  • Python 3.11 or higher
  • pip package manager

Install Dependencies

cd plumed_mcp_server
pip install -r requirements.txt

MCP Client Configuration

Add the following configuration to your MCP client settings (e.g., Claude Desktop, Cline, etc.):

{
  "mcpServers": {
    "plumed2": {
      "command": "python",
      "args": [
        "-m", "plumed_mcp_server.main"
      ],
      "cwd": "/path/to/plumed_mcp_server",
      "alwaysAllow": [
        "generate_plumed_input",
        "validate_plumed_syntax", 
        "optimize_plumed_performance",
        "get_plumed_template"
      ]
    }
  }
}

Note: Replace /path/to/plumed_mcp_server with the actual path to your installation directory.

Available Tools

1. generate_plumed_input

Generate complete PLUMED input files based on simulation requirements.

Parameters:

  • collective_variables (required): List of collective variables to compute
  • bias_methods (optional): List of bias methods to apply
  • output_config (optional): Output configuration settings
  • system_info (optional): System information for optimization
  • molinfo_config (optional): Molecular information settings
  • group_definitions (optional): Custom group definitions

2. validate_plumed_syntax

Validate PLUMED input syntax and check for common errors.

Parameters:

  • plumed_input (required): PLUMED input content to validate
  • number_of_replicas (optional): Number of replicas for @replicas syntax validation

3. optimize_plumed_performance

Get performance optimization suggestions for PLUMED simulations.

Parameters:

  • plumed_input (required): PLUMED input content to analyze
  • system_info (optional): System information (number of atoms, simulation length, etc.)

4. get_plumed_template

Retrieve pre-defined or custom PLUMED templates.

Parameters:

  • template_name (required): Name of the template to retrieve
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "plumed2": { "command": "python", "args": [ "-m", "plumed_mcp_server.main" ], "cwd": "/path/to/plumed_mcp_server", "alwaysAllow": [ "generate_plumed_input", "validate_plumed_syntax", "optimize_plumed_performance", "get_plumed_template" ] } } }