ugs-mcp
MCP server for controlling CNC machines via Universal GCode Sender.
Lets Claude (or any MCP-compatible AI assistant) connect to a CNC machine, inspect G-code, and issue motion commands — all through the UGS Pendant REST API.
⚠️ STOP. READ THIS FIRST.
This software controls machines that can damage equipment, destroy parts, and injure or kill people.
CNC machines move fast and don't know where your hands are. Before you use this:
- Read SAFETY.md. All of it.
- Understand the token confirmation system that prevents Claude from moving your machine autonomously.
- Know where your E-stop is.
If you skim the safety docs and something goes wrong, that's on you. We warned you.
What it does
- Connection tools — Connect/disconnect UGS to your CNC, troubleshoot serial port issues
- Status tools — Read machine state, position, feed rate, spindle speed
- Motion tools (token-protected) — Jog axes, home, return to work zero, run G-code files and macros
- G-code inspector — Translate G-code to English, safety check, cycle time estimate, tool list






