4NEC2 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NEC2_ENGINE | No | Path (absolute or name) of the specific 4NEC2 NEC-2 engine exe to use, overriding the auto-discovered preferred engine (e.g. C:\4nec2\exe\nec2dxs11k.exe). | |
| NEC4NEC_DIR | No | 4NEC2 installation directory (its exe/ and models/ subfolders are used). Equivalent to the --4nec2-dir CLI arg; when neither is set, C:\4nec2 is used. | C:\4nec2 |
| MCP_HTTP_HOST | No | Listen host used by scripts\start-http.bat for the streamable-http transport (equivalent to the --host CLI arg). | 127.0.0.1 |
| MCP_HTTP_PORT | No | Listen port used by scripts\start-http.bat for the streamable-http transport (equivalent to the --port CLI arg). | 8765 |
| NEC_PLOTS_DIR | No | Default output directory for nec_plot_* PNG figures. | C:\4nec2-mcp-server\plots |
| NEC_PLOTS_PRELOAD | No | Set to 0 or false to skip preloading matplotlib on the main thread at startup. Not recommended: skipping it can cause plotting tools to hang until the client times out. | 1 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues