COMSOL Multiphysics MCP Server

MCP Server for COMSOL Multiphysics simulation automation via AI agents.

Local serverstdio

What is the COMSOL Multiphysics MCP Server?

COMSOL Multiphysics is an MCP project maintained in the wjc9011/comsol_multiphysics_mcp repository. The maintainer describes its purpose as “MCP Server for COMSOL Multiphysics simulation automation via AI agents”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
comsol_startStart local COMSOL client
comsol_connectConnect to remote server
comsol_disconnectClear session
comsol_statusGet session info
model_loadLoad .mph file
model_createCreate empty model
model_saveSave to file
model_save_versionSave with timestamp
model_listList loaded models
model_set_currentSet active model
model_cloneClone model
model_removeRemove from memory
model_inspectGet model structure
param_getGet parameter value
param_setSet parameter
param_listList all parameters
param_sweep_setupSetup parametric sweep
param_descriptionGet/set description
geometry_listList geometry sequences
geometry_createCreate geometry sequence
geometry_add_featureAdd generic feature
geometry_add_blockAdd rectangular block
geometry_add_cylinderAdd cylinder
geometry_add_sphereAdd sphere
geometry_add_rectangleAdd 2D rectangle
geometry_add_circleAdd 2D circle
geometry_boolean_unionUnion objects
geometry_boolean_differenceSubtract objects
geometry_importImport CAD file
geometry_buildBuild geometry
geometry_list_featuresList features
geometry_get_boundariesGet boundary numbers
geometry_create_box_selectionCreate a named selection by position
geometry_create_side_selectionsCreate left/right/top/bottom selections
physics_listList physics interfaces
physics_get_availableAvailable physics types
physics_addAdd generic physics
physics_add_electrostaticsAdd Electrostatics
physics_add_solid_mechanicsAdd Solid Mechanics
physics_add_heat_transferAdd Heat Transfer
physics_add_laminar_flowAdd Laminar Flow
physics_add_acousticsAdd a geometry-based acoustic interface by COMSOL type
physics_add_pressure_acousticsAdd Pressure Acoustics
physics_add_coefficient_form_pdeAdd Coefficient Form PDE
physics_add_general_form_pdeAdd General Form PDE
physics_add_weak_form_pdeAdd Weak Form PDE
physics_configure_boundaryConfigure boundary condition
physics_configure_acoustic_boundaryConfigure one acoustic boundary condition
physics_setup_acoustic_boundariesConfigure multiple acoustic boundary conditions
physics_configure_pde_boundaryConfigure one PDE boundary condition
physics_setup_pde_boundariesConfigure multiple PDE boundary conditions
physics_get_acoustic_boundary_conditionsList common acoustic boundary feature types
physics_get_pde_boundary_conditionsList common PDE boundary feature types
physics_set_materialAssign material
physics_list_featuresList physics features
physics_removeRemove physics
multiphysics_addAdd coupling
physics_interactive_setup_heatInteractive heat BC setup
physics_setup_heat_boundariesConfigure heat boundaries
physics_interactive_setup_flowInteractive flow BC setup
physics_boundary_selectionGeneric boundary setup
electrochemistry_get_interfacesList verified interface types (battery, current distribution, corrosion, ...)
electrochemistry_get_feature_typesList verified feature types of an interface with dimensions
electrochemistry_add_interfaceAdd a verified interface (e.g. LithiumIonBatteryMPH, LumpedBattery)
electrochemistry_list_featuresInspect features with actual COMSOL types (getType())
electrochemistry_add_featureCreate a feature, incl. subfeatures via parent_feature
electrochemistry_set_feature_selectionAssign domains/boundaries to an existing feature
electrochemistry_set_feature_propertiesSet feature properties (rejected names reported)
electrochemistry_list_feature_propertiesAsk COMSOL for a feature's valid property names
electrochemistry_list_interface_propertiesRead interface-level property groups (e.g. BatterySettings)
electrochemistry_set_interface_propertiesConfigure interface-level settings (capacity, SOC, current, ...)
mesh_listList mesh sequences
mesh_create_sequenceCreate a mesh sequence
mesh_createGenerate mesh
mesh_infoGet mesh statistics
study_listList studies
study_solveSolve synchronously
study_solve_asyncSolve in background
study_get_progressGet progress
study_cancelCancel solving
study_waitWait for completion
solutions_listList solutions
datasets_listList datasets
results_evaluateEvaluate expression
results_global_evaluateEvaluate scalar
results_inner_valuesGet time steps
results_outer_valuesGet sweep values
results_export_dataExport data
results_export_imageExport plot image
results_exports_listList export nodes
results_plots_listList plot nodes
docs_getGet documentation
docs_listList available docs
physics_get_guidePhysics quick guide
troubleshootTroubleshooting help
modeling_best_practicesBest practices
pdf_searchSearch PDF docs
pdf_search_statusPDF search status
pdf_list_modulesList PDF modules

How to install the COMSOL Multiphysics MCP Server

{
  "mcpServers": {
    "comsol": {
      "command": "python",
      "args": [
        "-m",
        "src.server"
      ],
      "cwd": "/path/to/COMSOL_Multiphysics_MCP"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.