festo codesys mcp for VS Code
io.github.efranceschetti/festo-codesys-mcp
MCP server for Festo/CODESYS PLCs: IEC 61131-3 ST + validated PLCopen XML generation.
client:VS Code
transport:stdio
runtime:npm
Install festo codesys mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "festo-mcp-codesys-path",
"description": "FESTO_MCP_CODESYS_PATH",
"password": true
},
{
"type": "promptString",
"id": "festo-mcp-codesys-profile",
"description": "FESTO_MCP_CODESYS_PROFILE",
"password": true
},
{
"type": "promptString",
"id": "festo-mcp-python",
"description": "FESTO_MCP_PYTHON",
"password": true
},
{
"type": "promptString",
"id": "festo-mcp-enable-hardware",
"description": "FESTO_MCP_ENABLE_HARDWARE",
"password": true
},
{
"type": "promptString",
"id": "festo-mcp-allow-outside-workspace",
"description": "FESTO_MCP_ALLOW_OUTSIDE_WORKSPACE",
"password": true
}
],
"servers": {
"festo-codesys-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"festo-codesys-mcp"
],
"env": {
"FESTO_MCP_CODESYS_PATH": "${input:festo-mcp-codesys-path}",
"FESTO_MCP_CODESYS_PROFILE": "${input:festo-mcp-codesys-profile}",
"FESTO_MCP_PYTHON": "${input:festo-mcp-python}",
"FESTO_MCP_ENABLE_HARDWARE": "${input:festo-mcp-enable-hardware}",
"FESTO_MCP_ALLOW_OUTSIDE_WORKSPACE": "${input:festo-mcp-allow-outside-workspace}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs