ugs mcp for VS Code
io.github.zackpeters93/ugs-mcp
CNC machine control via Universal G-code Sender. Jog, home, run files with hardware safety tokens.
client:VS Code
transport:stdio
runtime:pypi
Install ugs mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ugs-host",
"description": "UGS_HOST",
"password": true
},
{
"type": "promptString",
"id": "ugs-port",
"description": "UGS_PORT",
"password": true
},
{
"type": "promptString",
"id": "macros-dir",
"description": "MACROS_DIR",
"password": true
},
{
"type": "promptString",
"id": "rapid-speed-mm-min",
"description": "RAPID_SPEED_MM_MIN",
"password": true
}
],
"servers": {
"ugs-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"ugs-mcp"
],
"env": {
"UGS_HOST": "${input:ugs-host}",
"UGS_PORT": "${input:ugs-port}",
"MACROS_DIR": "${input:macros-dir}",
"RAPID_SPEED_MM_MIN": "${input:rapid-speed-mm-min}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs