Sigmatek LASAL MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sigmatek LASAL MCP ServerCompile and download the PLC project to the target hardware."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sigmatek LASAL MCP Server
An Model Context Protocol (MCP) server for automating the Sigmatek LASAL software suite. It enables AI coding assistants (like Gemini, Claude, or Cursor) to inspect projects, apply structural CLASS 2 or VISUDesigner HMI changes, compile, download to hardware, read/write live PLC values, and control PLC execution.
[!WARNING] This is NOT an official Sigmatek product. This project is currently in active development, which means bugs and unpredictable behavior are highly likely. Do not use this on actual, active production projects without keeping a secure copy/backup of your files, or utilizing a robust version control system (like Git) to easily revert unwanted changes.
Features
Project Navigation: Select the active project directory and auto-resolve .lcp and .lvp paths.
CLASS 2 Automation:
Inspect project structure (classes, networks, connections, server/client channels).
Open and close the CLASS 2 IDE.
Apply structural edits (create/delete/rename networks, add/remove/rename objects, connect/disconnect channels, set init values).
Read and write class .st source files directly.
Compile projects and read compiler logs (errors and warnings).
VISUDesigner Automation:
Inspect HMI projects (stations, datapoints, text lists, schemes).
Open and close VISUDesigner.
Apply changes headlessly (sync datapoints, edit properties, configure schemes, manage media assets, add code modules).
CSV translation import and export.
PLC Runtime & Live Connection:
Configure target online IP addresses.
Download projects to the target PLC or HMI.
Read and write live channel values from a running PLC.
Start, stop, or query the current PLC runtime state.
Related MCP server: B&R Automation Studio MCP Server
Prerequisites
Windows OS (Sigmatek LASAL suite runs exclusively on Windows).
Node.js (v18 or higher recommended).
Sigmatek LASAL Suite:
LASAL CLASS 2 (for PLC engineering).
VISUDesigner (for HMI design).
Installation & Setup
Clone the repository:
git clone <repository-url>
cd Lasal-MCPInstall dependencies:
npm installBuild the server:
npm run build
Configuration
Environment Variables
If Sigmatek LASAL is installed in non-standard paths, configure them using the following environment variables:
LASAL_CLASS2_EXE: Full path to Lasal2.exe (Defaults to C:\Program Files (x86)\Sigmatek\Lasal\Class2\Bin\Lasal2.exe).
LASAL_VISUDESIGNER_EXE: Full path to VISUDesigner.exe (Defaults to C:\Program Files\Sigmatek\Lasal\VISUDesigner\VISUDesigner.exe).
Connecting to MCP Clients
Claude Desktop
Add the following config to your %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"lasal-mcp": {
"command": "node",
"args": [
"C:/path/to/Lasal-MCP/dist/server.js"
],
"env": {
"LASAL_CLASS2_EXE": "C:\\Program Files (x86)\\Sigmatek\\Lasal\\Class2\\Bin\\Lasal2.exe",
"LASAL_VISUDESIGNER_EXE": "C:\\Program Files\\Sigmatek\\Lasal\\VISUDesigner\\VISUDesigner.exe"
}
}
}
}
Available Tools
Tool Name | Description |
select_project | Set the active project root directory path. |
open_class2 / close_class2 | Open or close the LASAL CLASS 2 IDE. |
open_visudesigner / close_visudesigner | Open or close the VISUDesigner HMI editor. |
inspect_project | Get structural details of networks, classes, objects, and connections. |
inspect_visu_project | Get HMI details of stations, datapoints, schemes, and languages. |
read_class_source / write_class_source | Read or write raw Structured Text (.st) code for classes. |
apply_project_changes | Perform structural modifications (creating networks, instantiating classes). |
apply_visu_changes | Modify HMI elements, CSV translations, media files, and schemes. |
compile_project | Compile the PLC project. |
set_target_ip | Set the online target IP address. |
download_project / download_visu_project | Download PLC runtime or HMI visualisation to hardware. |
get_plc_state / start_plc / stop_plc | Monitor and control PLC runtime state. |
read_plc_values / write_plc_values | Query or update live channel values on the PLC. |
deploy_all | Sequence compilation, PLC download, HMI update, and HMI download in one call. |
Development
Run in developer mode (watch mode):
npm run devUse the MCP Inspector to debug and test tools interactively:
npm run inspector
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/Svel26/Lasal-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server