Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-wagoalex-wago-plc-mcp-server": {
"command": "uvx",
"args": [
"wago-plc-mcp-server"
],
"env": {
"TRANSPORT": "streamable-http",
"WAGO_PLC_HOSTS": "192.168.1.10,192.168.1.11",
"DEFAULT_PLC_USERNAME": "admin",
"DEFAULT_PLC_PASSWORD": "<YOUR_VALUE>",
"WAGO_TIMEOUT_SECONDS": "10",
"WAGO_ALLOW_WRITES": "false",
"AUDIT_LOG_FILE": "<VALUE>",
"HOST": "0.0.0.0",
"PORT": "6042",
"LOG_FILE": "/app/mcp_server.log",
"LOG_LEVEL": "INFO",
"WAGO_PAGE_LIMIT": "500",
"WAGO_MAX_CONCURRENT_REGISTRATIONS": "5"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| TRANSPORT | Yes | Transport: streamable-http or sse Default: streamable-http |
| WAGO_PLC_HOSTS | Yes | Comma-separated PLC IPs |
| DEFAULT_PLC_USERNAME | Yes | Shared username Default: admin |
| DEFAULT_PLC_PASSWORD secret | Yes | Shared password Default: wago |
| WAGO_TIMEOUT_SECONDS | No | Per-PLC HTTP timeout (use 45 for CC100) Default: 10 |
| WAGO_ALLOW_WRITES | Yes | true lets the agent change parameters, run methods and upload files. Anything else keeps every PLC read-only Default: false |
| AUDIT_LOG_FILE | No | Optional path for the tamper-evident audit log of writes and refusals |
| HOST | No | Bind address Default: 0.0.0.0 |
| PORT | No | Listen port Default: 6042 |
| LOG_FILE | No | Log file path inside container Default: /app/mcp_server.log |
| LOG_LEVEL | No | Log level: DEBUG / INFO / WARNING / ERROR Default: INFO |
| WAGO_PAGE_LIMIT | No | Pagination page size Default: 500 |
| WAGO_MAX_CONCURRENT_REGISTRATIONS | No | Parallel PLC init limit Default: 5 |