festo-codesys-mcp
LocalAbout festo-codesys-mcp
MCP server for Festo/CODESYS PLCs: IEC 61131-3 ST + validated PLCopen XML generation.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y festo-codesys-mcpFESTO_MCP_CODESYS_PATHOptional. Absolute path to CODESYS.exe — enables the 12 ide_* tools that drive a live CODESYS V3.5 instance (Windows only).FESTO_MCP_CODESYS_PROFILERequired when using the ide_* tools. CODESYS profile name exactly as shown in the CODESYS version selector.FESTO_MCP_PYTHONOptional. Python interpreter for the XSD/semantic validators and hardware tools (needs lxml).FESTO_MCP_ENABLE_HARDWAREOptional. Set to 1 to enable the cpx_*/edcon_* hardware commissioning tools (bench use only).FESTO_MCP_ALLOW_OUTSIDE_WORKSPACEOptional. Set to 1 to allow file-writing tools to write outside the workspace directory.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
18Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | FB name (e.g., FB_ServoAxis or just ServoAxis) |
| stCode | string | Yes | Structured Text body (the logic) |
| inOutVars | array | No | |
| inputVars | array | No | |
| localVars | array | No | |
| outputDir | string | No | Output directory (default: cwd) |
| outputVars | array | No | |
| description | string | Yes | What this FB does (English) |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.