Skip to content
Tresca

COMSOL MCP (Ching-Chiang)

MCP serverCommunity

Attaches to a running COMSOL Multiphysics Server so the agent and COMSOL Desktop edit the same locked model, with 50 tools. By Ching-Chiang.

14 starsUpdated 6 months agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
unknown (examples use COMSOL 6.3 paths)
Operating systems
Windows
Needs a COMSOL Multiphysics licence
Yes
Transport
Local (stdio)
AI clients documented
Claude Desktop
Licence
MIT
Language
Python

What it can do

  • Connects to a COMSOL Multiphysics Server you started yourself, loads a main .mph and locks it so the agent can't switch or save the wrong model.
  • Lets you watch geometry, parameter, mesh, physics and solver changes live in COMSOL Desktop connected to the same server.
  • Sets parameters, evaluates expressions, edits geometry features, physics interfaces, variables and solver configurations, and runs studies in the background.
  • Saves snapshot copies for each iteration and loads large models asynchronously.

Limitations

  • Windows only, and you start COMSOL Multiphysics Server by hand and pass its port.
  • Material management, mesh features and result export are on the author's to-do list.
  • Documentation is mainly in Chinese, with an English section.

Install

git clone https://github.com/Ching-Chiang/comsol-mcp.git comsol-mcp
cd comsol-mcp
python -m pip install -e .

Source: github.com/Ching-Chiang/comsol-mcp

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.