Skip to main content
Glama
LauOtero

Klipper MCP Server

by LauOtero

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_CACHE_TTLNoTTL del cache L1 en segundos30
MCP_LOG_LEVELNoNivel de logging (DEBUG…CRITICAL)INFO
PRINTER_VORONNoURL base de Moonraker para la impresora VORON
MCP_CACHE_DISKNoRuta del cache L2 en disco. Vacío = sin L2
MCP_CACHE_SIZENoNº de entradas del cache L1 en memoria512
MCP_CB_RECOVERYNoSegundos antes de pasar a HALF_OPEN30
PRINTER_DEFAULTNoURL base de Moonraker para la impresora DEFAULT (por defecto http://localhost:7125)http://localhost:7125
MCP_CACHE_L2_TTLNoTTL del cache L2 en segundos300
MCP_CB_THRESHOLDNoFallos consecutivos antes de abrir el circuit breaker5
MCP_TOKEN_BUDGETNoTokens máximos por respuesta4000
MCP_POLL_INTERVALNoIntervalo de polling en segundos2
MCP_MAX_CONCURRENCYNoConcurrencia máxima por host (semáforo)32
PRINTER_VORON_API_KEYNoAPI key opcional para la impresora VORON (cabecera X-Api-Key)
PRINTER_DEFAULT_API_KEYNoAPI key opcional para la impresora DEFAULT (cabecera X-Api-Key)

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
validate_configC

Valida contenido de configuración Klipper.

get_config_fileC

Lee un archivo de configuración.

list_config_filesC

Lista archivos de configuración.

search_configC

Busca un patrón en todas las configs.

lint_extraC

Linter AST de reglas de oro para extras Klipper.

generate_extra_templateC

Genera plantilla canónica de extra Klipper.

get_server_infoD

Información del servidor Moonraker.

list_objectsC

Lista objetos registrados en Klipper.

verify_component_loadedC

Verifica que un componente Moonraker esté cargado.

verify_extra_loadedC

Verifica que un extra Klipper esté cargado.

get_printer_statusC

Consulta estado de objetos de Klipper.

get_klippy_logC

Lee las últimas N líneas de klippy.log.

detect_anomaliesC

Detecta anomalías en serie con EWMA.

get_mcp_telemetryC

Obtiene telemetría de extras MCP (mcp_bridge).

run_gcodeC

Ejecuta G-code. Peligrosos requieren confirm=True.

restart_klipperC

Reinicia Klipper. Requiere confirm=True.

get_print_progressC

Obtiene progreso de impresión.

Prompts

Interactive templates invoked by user choice

NameDescription
troubleshoot_klipper_errorPrompt de diagnóstico de errores de Klipper.
diagnose_save_config_conflictPrompt de diagnóstico de conflictos de SAVE_CONFIG.
optimize_printer_configPrompt de optimización de configuración.
review_extra_codePrompt de revisión de código de extras.
generate_extraPrompt de creación de un extra Klipper.
generate_moonraker_componentPrompt de creación de un componente Moonraker.
generate_printer_configPrompt de creación de configuración modular.
extension_dev_system_promptSystem prompt del agente Extension Dev.
moonraker_dev_system_promptSystem prompt del agente Moonraker Dev.
config_engineer_system_promptSystem prompt del agente Config Engineer.

Resources

Contextual data attached and managed by the client

NameDescription
get_printer_cfgprinter.cfg principal.
list_configsLista de archivos de configuración.
get_klippy_logLog completo de Klipper.
list_docsLista de documentos disponibles.

TDQS

C2.7/5.0

Scored across 17 tools

Disambiguation4/5

Most tools target distinct resources and actions (config files, validation, server info, runtime status, logs, G-code execution). However, verify_component_loaded vs verify_extra_loaded and get_printer_status vs list_objects/get_print_progress have somewhat overlapping scopes that could cause occasional misselection.

Naming Consistency5/5

Tool names consistently use snake_case with a predictable verb_noun pattern (get_*, list_*, verify_*, validate_*, run_*). There is no mixed casing or vague naming, making the set easy to scan.

Tool Count4/5

17 tools is slightly above the ideal range but reasonable for a server covering Klipper config validation, Moonraker diagnostics, telemetry, and printer control. Each tool appears to have a distinct purpose, though the surface is on the heavier side.

Completeness3/5

The server covers reading, listing, searching, validating configs, plus diagnostics, logs, and basic control. However, it lacks config write/update/delete operations and print lifecycle controls like pause/resume/cancel, leaving some common Klipper management workflows incomplete.

Maintenance

ActivityMaintained
ResponsivenessNo issues