mcp-server-qidi
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HTTP_TOKEN | No | Bearer token the gateway must present for HTTP transport. Required when QIDI_TRUST_FORWARDED_USER is true. | |
| QIDI_AUDIT_LOG | No | JSONL audit log path for recording who did what. | |
| QIDI_TIMEOUT_MS | No | Per-request timeout in milliseconds. | 10000 |
| QIDI_MAX_BED_TEMP | No | Remote bed target cap in °C. | 110 |
| QIDI_SNAPSHOT_URL | No | mjpeg-streamer snapshot URL. | <host>/webcam/?action=snapshot |
| QIDI_MOONRAKER_URL | No | Moonraker base URL. | http://localhost:7125 |
| QIDI_ENABLE_CONTROL | No | Enable control tools: light, temperatures, pause/resume/cancel, e-stop, restart. | false |
| QIDI_MAX_NOZZLE_TEMP | No | Remote nozzle target cap in °C. | 300 |
| QIDI_MAX_CHAMBER_TEMP | No | Remote chamber target cap in °C. | 65 |
| QIDI_ENABLE_PRINT_START | No | Enable the qidi_start_print tool. | false |
| QIDI_TRUST_FORWARDED_USER | No | Trust X-MCP-User from the gateway. Requires MCP_HTTP_TOKEN. | false |
| QIDI_PLATE_CHECK_MAX_AGE_MIN | No | Snapshot freshness in minutes required for qidi_start_print. | 15 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| qidi_server_statusA | Which printer this server talks to, which tool tiers are switched on, and whether the printer answers. |
| qidi_printer_statusA | Current state of the QIDI X-Plus5: job state, file, progress, layer, elapsed and estimated remaining time, nozzle/bed/chamber temperatures and targets, loaded QIDI Box slot, light. |
| qidi_snapshotA | Take a picture with the chamber webcam. Use it to check that the build plate is empty before starting a print, or to look at a running print. Set light=true to switch the chamber light on first (needs the control tier); the picture is dark without it. |
| qidi_box_statusB | Filament in each QIDI Box slot (vendor, material, colour, whether filament is inserted), which slot is loaded, box humidity, temperature and drying state. |
| qidi_list_filesB | G-code files on the printer, newest first. Optional case-insensitive name filter. |
| qidi_file_metadataB | Slicer metadata for one file: estimated print time, filament type/name/weight, temperatures, layer height, object height. |
| qidi_job_historyB | Recent print jobs, newest first: file, result, start/end time, print duration and filament used. |
| qidi_consoleA | The last lines of the printer console (G-code responses and errors). Read this when a print failed to start or stopped unexpectedly. |
| qidi_set_lightC | Switch the chamber light on or off. |
| qidi_set_temperatureA | Set the target temperature of the nozzle, bed or chamber heater (0 = off). Targets above the server limits are refused. Typical use: switch heaters off, or restore a chamber target that something else reset during a print. |
| qidi_pause_printA | Pause the running print (the printer parks the nozzle). Resume with qidi_resume_print. |
| qidi_resume_printA | Resume a paused print. |
| qidi_cancel_printA | Cancel the running or paused print. Cannot be undone: the job is lost. Pass the file name of the running job to confirm which job you mean. |
| qidi_emergency_stopA | Immediately halt the printer (M112): heaters and motors stop and the job is lost. Only for a real problem (spaghetti over the hotend, crash, smoke). Afterwards the printer needs qidi_firmware_restart. |
| qidi_firmware_restartA | Restart Klipper firmware after an emergency stop or an error/shutdown state. Refused while a job is printing or paused. |
| qidi_start_printA | Start printing a G-code file that is already on the printer. Before calling: take qidi_snapshot (light=true) and LOOK at the picture — the plate must be empty. The server refuses unless a snapshot was taken in the last few minutes and after the previous job ended, and the printer is idle. After starting, check qidi_printer_status again after ~4 minutes (heating + probing) before reporting that the print is running. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
The tools split cleanly by purpose: server/tier status vs. live printer state, box filament info, file listing/metadata, history, console diagnostics, and distinct control actions. A minor overlap exists because qidi_snapshot can switch the light on, but the description makes qidi_set_light the dedicated light-control tool.
All tools use the same qidi_ prefix and snake_case convention, with predictable verb_noun or noun_status forms such as qidi_set_light, qidi_list_files, and qidi_printer_status. A few noun-only names like qidi_snapshot and qidi_console are still clear and consistent with the overall pattern.
At 16 tools this is slightly above the typical 3-15 well-scoped range, but each tool maps to a distinct printer monitoring or control function and there is little obvious filler. The count is reasonable for a printer control server, though a few tools could be consolidated if simplicity were prioritized.
The surface covers monitoring and job lifecycle well: status, snapshot, files, metadata, history, console, temperature, light, start, pause, resume, cancel, emergency stop, and firmware restart. However, notable gaps remain around file lifecycle management (upload/delete) and hardware operations such as filament load/unload or motion/jog/calibration.