mcpField
F

festo-codesys-mcp

Local
@efranceschettiDeveloper Tools

About 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.

mcp.json · Universal config
{
"mcpServers": {
"efranceschetti-festo-codesys": {
"command": "npx",
"args": [
"-y",
"festo-codesys-mcp"
],
"env": {
"FESTO_MCP_CODESYS_PATH": "<FESTO_MCP_CODESYS_PATH>",
"FESTO_MCP_CODESYS_PROFILE": "<FESTO_MCP_CODESYS_PROFILE>",
"FESTO_MCP_PYTHON": "<FESTO_MCP_PYTHON>",
"FESTO_MCP_ENABLE_HARDWARE": "<FESTO_MCP_ENABLE_HARDWARE>",
"FESTO_MCP_ALLOW_OUTSIDE_WORKSPACE": "<FESTO_MCP_ALLOW_OUTSIDE_WORKSPACE>"
}
}
}
}
Run commandnpx -y festo-codesys-mcp
Environment variables to set
FESTO_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.

Packages
npmfesto-codesys-mcp1.0.1

Tools

18

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
namestringYesFB name (e.g., FB_ServoAxis or just ServoAxis)
stCodestringYesStructured Text body (the logic)
inOutVarsarrayNo
inputVarsarrayNo
localVarsarrayNo
outputDirstringNoOutput directory (default: cwd)
outputVarsarrayNo
descriptionstringYesWhat this FB does (English)

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

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.