
phelanshao/plumed2-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
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
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 computebias_methods(optional): List of bias methods to applyoutput_config(optional): Output configuration settingssystem_info(optional): System information for optimizationmolinfo_config(optional): Molecular information settingsgroup_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 validatenumber_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 analyzesystem_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
Установка
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"
]
}
}
}