COMSOL MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMSOL_PATH | Yes | Path to the COMSOL installation directory, e.g., C:\Program Files\COMSOL\COMSOL62\Multiphysics |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| launch_guiA | Launch the COMSOL desktop GUI with the live bridge loaded. Operations issued afterwards drive the visible GUI in real time. |
| connect_guiB | Connect to an already-running COMSOL GUI bridge. |
| gui_statusA | Report the current GUI/bridge session state. |
| shutdown_guiA | Stop the COMSOL GUI bridge session. |
| load_modelC | Load a .mph model from disk. |
| save_modelB | Save the current model to a .mph file. |
| new_modelB | Create a new empty model. |
| model_infoA | Return the structure of the current model. |
| add_blockC | Add a block (box) to a geometry sequence. |
| add_cylinderC | Add a cylinder to a geometry sequence. |
| add_sphereC | Add a sphere to a geometry sequence. |
| boolean_opC | Boolean combine geometry features (union|intersect|difference). |
| import_geometryC | Import a geometry from a CAD/file format. |
| add_physicsB | Add a physics interface (ht, spf, tds, es, solid, ...). |
| add_materialC | Add a material to the model. |
| build_meshD | Build the mesh. |
| add_studyB | Add a study (Stationary|TimeDependent|Parametric|Eigenfrequency). |
| run_solverC | Run the solver for a study. |
| solver_statusB | Report whether a study has been solved. |
| evaluateC | Evaluate an expression (or global evaluation) and return data. |
| export_resultsC | Export results (plot/data) to a file. |
| exec_model_apiA | Run arbitrary COMSOL Java API code. Provide either a full class with |
| generate_model_javaA | Generate a standalone, compilable COMSOL Java model source file. Works WITHOUT COMSOL installed. Use it on a COMSOL-less machine to prepare a
Java model, then move the file to a COMSOL machine and compile it:
comsolcompile .java
comsolbatch -java
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Twofruitsgrape/comsol-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server