MCP Server for COMSOL Multiphysics simulation automation via AI agents.
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.
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.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| comsol_start | Start local COMSOL client |
| comsol_connect | Connect to remote server |
| comsol_disconnect | Clear session |
| comsol_status | Get session info |
| model_load | Load .mph file |
| model_create | Create empty model |
| model_save | Save to file |
| model_save_version | Save with timestamp |
| model_list | List loaded models |
| model_set_current | Set active model |
| model_clone | Clone model |
| model_remove | Remove from memory |
| model_inspect | Get model structure |
| param_get | Get parameter value |
| param_set | Set parameter |
| param_list | List all parameters |
| param_sweep_setup | Setup parametric sweep |
| param_description | Get/set description |
| geometry_list | List geometry sequences |
| geometry_create | Create geometry sequence |
| geometry_add_feature | Add generic feature |
| geometry_add_block | Add rectangular block |
| geometry_add_cylinder | Add cylinder |
| geometry_add_sphere | Add sphere |
| geometry_add_rectangle | Add 2D rectangle |
| geometry_add_circle | Add 2D circle |
| geometry_boolean_union | Union objects |
| geometry_boolean_difference | Subtract objects |
| geometry_import | Import CAD file |
| geometry_build | Build geometry |
| geometry_list_features | List features |
| geometry_get_boundaries | Get boundary numbers |
| geometry_create_box_selection | Create a named selection by position |
| geometry_create_side_selections | Create left/right/top/bottom selections |
| physics_list | List physics interfaces |
| physics_get_available | Available physics types |
| physics_add | Add generic physics |
| physics_add_electrostatics | Add Electrostatics |
| physics_add_solid_mechanics | Add Solid Mechanics |
| physics_add_heat_transfer | Add Heat Transfer |
| physics_add_laminar_flow | Add Laminar Flow |
| physics_add_acoustics | Add a geometry-based acoustic interface by COMSOL type |
| physics_add_pressure_acoustics | Add Pressure Acoustics |
| physics_add_coefficient_form_pde | Add Coefficient Form PDE |
| physics_add_general_form_pde | Add General Form PDE |
| physics_add_weak_form_pde | Add Weak Form PDE |
| physics_configure_boundary | Configure boundary condition |
| physics_configure_acoustic_boundary | Configure one acoustic boundary condition |
| physics_setup_acoustic_boundaries | Configure multiple acoustic boundary conditions |
| physics_configure_pde_boundary | Configure one PDE boundary condition |
| physics_setup_pde_boundaries | Configure multiple PDE boundary conditions |
| physics_get_acoustic_boundary_conditions | List common acoustic boundary feature types |
| physics_get_pde_boundary_conditions | List common PDE boundary feature types |
| physics_set_material | Assign material |
| physics_list_features | List physics features |
| physics_remove | Remove physics |
| multiphysics_add | Add coupling |
| physics_interactive_setup_heat | Interactive heat BC setup |
| physics_setup_heat_boundaries | Configure heat boundaries |
| physics_interactive_setup_flow | Interactive flow BC setup |
| physics_boundary_selection | Generic boundary setup |
| electrochemistry_get_interfaces | List verified interface types (battery, current distribution, corrosion, ...) |
| electrochemistry_get_feature_types | List verified feature types of an interface with dimensions |
| electrochemistry_add_interface | Add a verified interface (e.g. LithiumIonBatteryMPH, LumpedBattery) |
| electrochemistry_list_features | Inspect features with actual COMSOL types (getType()) |
| electrochemistry_add_feature | Create a feature, incl. subfeatures via parent_feature |
| electrochemistry_set_feature_selection | Assign domains/boundaries to an existing feature |
| electrochemistry_set_feature_properties | Set feature properties (rejected names reported) |
| electrochemistry_list_feature_properties | Ask COMSOL for a feature's valid property names |
| electrochemistry_list_interface_properties | Read interface-level property groups (e.g. BatterySettings) |
| electrochemistry_set_interface_properties | Configure interface-level settings (capacity, SOC, current, ...) |
| mesh_list | List mesh sequences |
| mesh_create_sequence | Create a mesh sequence |
| mesh_create | Generate mesh |
| mesh_info | Get mesh statistics |
| study_list | List studies |
| study_solve | Solve synchronously |
| study_solve_async | Solve in background |
| study_get_progress | Get progress |
| study_cancel | Cancel solving |
| study_wait | Wait for completion |
| solutions_list | List solutions |
| datasets_list | List datasets |
| results_evaluate | Evaluate expression |
| results_global_evaluate | Evaluate scalar |
| results_inner_values | Get time steps |
| results_outer_values | Get sweep values |
| results_export_data | Export data |
| results_export_image | Export plot image |
| results_exports_list | List export nodes |
| results_plots_list | List plot nodes |
| docs_get | Get documentation |
| docs_list | List available docs |
| physics_get_guide | Physics quick guide |
| troubleshoot | Troubleshooting help |
| modeling_best_practices | Best practices |
| pdf_search | Search PDF docs |
| pdf_search_status | PDF search status |
| pdf_list_modules | List PDF modules |
{
"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.
Retrieve public web pages as readable Markdown with the reference Fetch MCP server, including pagination for longer responses.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.