Sigmatek LASAL MCP Server
The Sigmatek LASAL MCP Server enables AI assistants to automate the full Sigmatek LASAL engineering workflow for PLC and HMI development — from project inspection and code editing to compilation, deployment, and live runtime control.
Project Management
Select the active LASAL project directory and resolve project files
Inspect CLASS 2 project structure: classes, networks, objects, channels, and connections
Inspect VISUDesigner HMI projects: stations, datapoints, text lists, and schemes
Source Code & Structural Editing
Read and write Structured Text (
.st) and header (.h) files for CLASS 2 classesApply transactional structural changes: create/delete/rename networks, add/remove/rename objects, connect/disconnect channels, set init values, and delete classes — with rollback support
IDE Control
Open and close the LASAL CLASS 2 and VISUDesigner IDEs
Build & Deployment
Compile CLASS 2 projects in configurable modes (RebuildAll, BuildChanges, etc.) and retrieve compiler logs, errors, and warnings
Download compiled projects to target PLCs over TCP
Set target PLC/HMI IP addresses in project configuration
Run a full deploy pipeline in one call: compile → download to PLC → update VISUDesigner stations → optionally download to HMI
PLC Runtime Control
Start, stop, and query the runtime state of a PLC (Running, Stopped, Offline)
Read and write live channel values on a running PLC
VISUDesigner (HMI) Automation
Apply headless HMI changes: sync datapoints, manage text lists and translations (CSV import/export), configure schemes, manage media assets, add/remove code modules, and edit datapoint/datatype properties
Download VISUDesigner projects to HMI devices
HMI Simulation & Diagnostics
Start/stop a local HMI web runtime (LasalVISUDataService) and automate testing via headless browser
Access PLC diagnostics: tracing, file transfer, and static code analysis
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
A Model Context Protocol (MCP) server for automating the Sigmatek LASAL software suite. It gives AI coding assistants (Claude, Gemini, Cursor, etc.) the ability to compile, deploy to hardware, control PLCs, read/write live values, run HMI simulations, and automate a headless browser — while the agent edits project files directly.
Warning: This is NOT an official Sigmatek product. This project is in active development — bugs and unpredictable behavior are likely. Do not use on production projects without backups or version control.
Design Philosophy
The MCP only exposes tools for operations that require an external engine or hardware — compiling, deploying, PLC control, browser automation. For everything else (reading/editing .st, .lcp, .lcn, .lss, .lvp, dashboard JSON), the AI agent works with the files directly using its native file tools. This keeps the tool set small, reliable, and focused.
Related MCP server: B&R Automation Studio MCP Server
Features
Build & Deploy: Compile CLASS 2 projects, download to PLC, full deploy pipelines.
PLC Control: Start/stop PLC runtime, read/write live channel values, query state.
CLASS 2 Batch Engine: Create/delete networks, add/remove objects, manage connections, configure tasks — operations that require the CLASS 2 scripting engine.
VISUDesigner Engine: Sync datapoints, manage text lists/schemes/media, publish, download to HMI.
HMI Simulation: Local web runtime via LasalVISUDataService with headless Edge browser automation for visual verification.
PLC Diagnostics: Tracing, file transfer, static code analysis.
Project Guide: Built-in resource (
lasal://guide) documenting all LASAL file formats so the agent can edit project files directly.
Prerequisites
Windows OS (Sigmatek LASAL suite runs exclusively on Windows).
Node.js v18 or higher.
Sigmatek LASAL Suite:
LASAL CLASS 2 (PLC engineering).
VISUDesigner (HMI design).
Installation & Setup
git clone <repository-url>
cd Lasal-MCP
npm install
npm run buildConfiguration
Environment Variables
Variable | Default | Purpose |
|
| CLASS 2 IDE path |
|
| VISUDesigner path |
| auto-discovered (latest version) | DataService path |
| auto-discovered | Edge browser path |
|
| Compile timeout (ms) |
|
| Download timeout (ms) |
|
| Visu operation timeout (ms) |
|
| Script execution timeout (ms) |
|
| Local HMI runtime directory |
|
| Hours before temp files are cleaned |
Connecting to MCP Clients
Claude Desktop
Add to %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"
}
}
}
}Claude Code
Add to .claude/settings.json or run claude mcp add:
{
"mcpServers": {
"lasal-mcp": {
"command": "node",
"args": ["C:/path/to/Lasal-MCP/dist/server.js"]
}
}
}Available Tools
Engine & Hardware Tools (MCP)
Tool | Description |
| Set the active project root directory. |
| Check project, stations, engines, processes, HMI health. |
| Open or close the CLASS 2 IDE. |
| Open or close VISUDesigner. |
| Compile or download to PLC. |
| Start, stop, or query PLC runtime state. |
| Read/write live channel values on a running PLC. |
| CLASS 2 batch engine operations (networks, objects, connections, tasks). |
| VISUDesigner engine operations (text lists, schemes, media, publish, download). |
| Start/stop local HMI web simulation (DataService). |
| Headless Edge browser for HMI testing and screenshots. |
| Tracing, file transfer, static code analysis. |
| Full pipeline: compile → download → start PLC → sync visu → start HMI. |
Direct File Editing (no MCP needed)
The agent edits these files directly with its native file tools:
File | Format | Encoding | What it contains |
| XML | latin1 | Solution — lists all stations |
| XML | latin1 | Station settings — target IP, project references |
| XML | latin1 | CLASS 2 project manifest — class and network file paths |
| XML + ST | latin1 | Class source — XML header + Structured Text body |
| XML | latin1 | Network definitions — objects, connections, init values |
| Mixed | utf-8 | VISUDesigner project manifest |
Dashboard JSON | JSON | utf-8 | HMI dashboards, windows, controls, property bindings |
See the built-in lasal://guide resource for detailed file format documentation.
Development
npm run dev # Watch mode
npm test # Run tests (Vitest)
npm run test:watch # Tests in watch mode
npm run lint # ESLint
npm run format # Prettier
npm run inspector # MCP Inspector for interactive debuggingMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to interact with SIEMENS PLC S7-1500/1200 controllers through their JSON-RPC API, supporting authentication, tag browsing, variable read/write operations, alarm management, and diagnostic buffer access.Last updated10
- Alicense-qualityDmaintenanceEnables AI assistants to interact with B\&R Automation Studio projects by building code, running ARsim simulators, and reading or writing OPC UA variables. It facilitates industrial automation development and real-time variable integration through natural language commands.Last updated12MIT
- Alicense-qualityDmaintenanceIndustrial-grade MCP server for Siemens TIA Portal (V17–V21). 120+ tools for PLC programming: create blocks (FB/FC/OB/DB), manage tags, compile, download, and simulate with PLCSim Advanced. On-premise, sovereign-AI compatible.Last updated12MIT
- Flicense-qualityBmaintenanceMCP server that connects AI assistants to Siemens TIA Portal via the Openness API. AI-assisted PLC programming, project management, hardware configuration, cross-reference analysis, and deployment. 16 tools, 166 actions.Last updated16
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
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/Svel26/Lasal-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server