mcp-server-awtrix
MCP Server Awtrix: Orquestador de pantallas para agentes de IA en relojes Ulanzi y de píxeles
MCP Server Awtrix (mcp-server-awtrix) es un servidor de código abierto del Model Context Protocol (MCP) y un orquestador declarativo de métricas diseñado para dar a los agentes de IA (Antigravity, Claude Desktop, Cursor, Cline, AutoGPT, etc.) control total sobre los Ulanzi TC001 y los relojes inteligentes de matriz de píxeles compatibles que ejecutan Awtrix Light.
Este sirve de puente entre los agentes de IA conversacionales y autónomos y las pantallas físicas de escritorio, lo que permite:
Alertas instantáneas de agentes: envía avisos de estado ad hoc, notificaciones de fallos de compilación y finalizaciones de tareas a la pantalla de píxeles.
Aplicaciones de carrusel dinámicas: registra, actualiza y recorre aplicaciones personalizadas de telemetría en directo (estado del servidor, métricas SaaS, contadores de ingresos, estado de compilación).
Sondeador declarativo de métricas: automatiza la consulta de APIs en segundo plano y el formato por umbrales mediante especificaciones YAML sin escribir scripts Python a medida.
Telemetría y control del hardware: consulta los niveles de batería, ajusta el brillo de la matriz, gestiona los estados de encendido y activa avisos sonoros personalizados.
Tabla de contenidos
Related MCP server: pixoo-mcp-server
1. Documento de requisitos del producto (PRD)
Planteamiento del problema
Los desarrolladores y usuarios avanzados que usan relojes de píxeles inteligentes (como el Ulanzi TC001 con Awtrix Light) escriben en la actualidad scripts Python o Bash de cron fragmentados y con valores fijos para consultar APIs externas y actualizar las aplicaciones de la matriz.
Cuando se trabaja con agentes de IA de programación:
Los agentes tienen que generar y mantener código imperativo personalizado para cada métrica.
No existe un conjunto de herramientas estandarizado para que un agente de IA envíe notificaciones en tiempo real o gestione el ciclo de vida de la pantalla.
La gestión de secretos es propensa a errores, con el consiguiente riesgo de filtración de claves de API en prompts y registros de la IA.
No hay una alternativa nativa ni una validación para el formato de texto multisegmento y los iconos de píxeles.
Objetivos y no objetivos
Objetivos
Interfaz MCP nativa: proporcionar un servidor estándar del Model Context Protocol que exponga herramientas robustas para notificaciones, aplicaciones personalizadas, gestión del dispositivo y vistas previas.
Telemetría declarativa: permitir que agentes y humanos definan reglas de sondeo de métricas en simples archivos YAML con plantillas integradas (Jinja2) y estilo basado en umbrales.
Aislamiento seguro de secretos: desacoplar las credenciales confidenciales del contexto de los prompts mediante la sustitución de variables de entorno
.env.Recarga en caliente sin interrupciones: reflejar automáticamente los cambios realizados en los archivos de configuración YAML sin reiniciar el servicio.
Alternativas fiables: gestionar con elegancia los cortes de red, los límites de peticiones de la API y los estados de pantalla sin conexión.
No objetivos
Reemplazar el firmware de Awtrix Light (esta herramienta se integra exclusivamente con la API REST / MQTT oficial de Awtrix Light).
Sincronización compleja de mosaicos de múltiples pantallas (el enfoque se centra en relojes de píxeles autónomos de instancia única o múltiple).
Personas objetivo y casos de uso
Persona | Escenario | Cómo ayuda MCP Server Awtrix |
Agente de IA de programación (p. ej., Antigravity / Cursor) | El agente termina una suite de pruebas de 10 minutos o una tarea autónoma en segundo plano. | Llama a la herramienta |
Ingeniero DevOps / SRE | Quiere supervisar el tiempo de actividad de producción, presupuesto de errores o pruebas sintéticas. | Añade una especificación declarativa |
Fundador / creador de SaaS | Quiere ver en su escritorio un carrusel en tiempo real con el RRM, los nuevos usuarios registrados y los contadores de tickets de soporte. | Define una aplicación declarativa de varias métricas qué consulta los endpoints de administración del backend. |
Requisitos funcionales
FR-1: Notificaciones instantáneas (
/api/notify):Soporta texto personalizado, texto fragmentado en color, ID de icono, sonidos AC / tonos RTTTL, retención prioritaria y duración.
FR-2: Aplicaciones de carrusel personalizadas (
/api/custom):Capacidad de registrar, actualizar y eliminar del ciclo de la pantalla a aplicaciones personalizadas que dichas aplicaciones se muestren.
Soporte de formato de fragmentos de texto enriquecido (
[{"t": "FAIL", "c": "FF0000"}, {"t": " (2/10)", "c": "FFFFFF"}]).
FR-3: Motor declarativo en segundo plano:
Programador integrado (
asyncio/apscheduler) que ejecuta trabajos de sondeo definidos enapps/*.yaml.Motor de plantillas compatible con variables calculadas, operaciones aritméticas y expresiones condicionales.
FR-4: Estado y telemetría del dispositivo:
Consultar porcentaje de batería, RSSI de Wi-Fi, sensor de luz, estado de la matriz y aplicaciones activas.
Ajustar brillo, reposo / activación y transiciones.
FR-5: Prueba en seco y simulación:
Herramienta de vista previa que devuelve los payloads JSON renderizados exactos y las validaciones de color antes del envío al hardware.
Requisitos no funcionales
Latencia: las ejecuciones directas de herramientas MCP deben transmitirse aAwtrix en menos de
$< 150\text{ms}$en redes locales.Resiliencia: el orquestador reintenta las llamadas de API fallidas con un retroceso exponencial antes de marcar una la aplicación como degradada..
Portabilidad: se empaqueta como un paquete estándar de Python compatible con
uv/pipx, como contenedor Docker y como CLI auto-contenida.
2. Arquitectura y diseño del sistema
Arquitectura de alto nivelSpark
┌──────────────────────────┐
│ AI Client/Host │
│ (Claude / Antigravity / │
│ Cursor / Cline) │
└────────────┬─────────────┘
│
│ stdio / SSE (MCP Protocol)
▼
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ mcp-server-awtrix │
│ │
│ ┌───────────────────────┐ ┌──────────────────────────────┐ ┌───────────────────┐ │
│ │ MCP Interface │ │ App Orchestrator │ │ Config Watcher │ │
│ │ (Tools / Resources) │ │ (Async Scheduler) │ │ (Hot-Reload) │ │
│ └───────────┬───────────┘ └──────────────┬───────────────┘ └─────────┬─────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌──────────────────────────────────────────────────────────────────────────────────┐ │
│ │ Core Engine & Driver │ │
│ │ - Schema Validator (Pydantic) │ │
│ │ - Template & Expression Engine (Jinja2 / JSONPath) │ │
│ │ - Secret Resolver (.env) │ │
│ │ - Awtrix REST / WebSocket Client │ │
│ └──────────────────────────────────────────┬───────────────────────────────────────┘ │
└─────────────────────────────────────────────┼──────────────────────────────────────────┘
│
│ HTTP REST (JSON)
▼
┌──────────────────────────┐
│ Ulanzi TC001 Clock │
│ (Awtrix Light Firmware)│
└──────────────────────────┘Desglose de componentes
Capa de interfaz MCP:
Implementa los endpoints del servidor del Model Context Protocol a través de
stdioySSE.Expone herramientas con esquemas JSON estrictos y documentación legible para humanos y para modelos de IA.
Motor de sondeo declarativo:
Trabajador asíncrono que gestiona el ciclo de vida de tareas de los manifiestos de aplicaciones basados en archivos.
Evalúa peticiones HTTP, extrae campos mediante JSONPath / expresiones y resuelve las reglas de visualización.
Controlador Awtrix:
Encapsula la comunicación con el dispositivo, la de-duplicación de peticiones, bigrupación de conexiones y la recuperación de errores.
Capa de configuración y seguridad:
Aísla los tokens sensibles en
.env. Los archivos de configuración hacen referencia a las variables mediante la sintaxis${VAR_NAME}.
3. Especificación de las herramientas MCP
Los modelos de IA pueden ejecutar las siguientes herramientas MCP:
awtrix_notify
Envía una notificación inmediata de prioridad alta a la pantalla (interrumpe el carrusel actual).
{
"text": "Build Failed: Backend API",
"icon": "10558",
"color": "FF0000",
"duration": 8,
"sound": "alarm",
"rtttl": "beep:d=4,o=5,b=100:16e6,16e6",
"wakeup": true
}awtrix_upsert_app
Registra o actualiza una aplicación personalizada persistente en el bucle de carrusel.
{
"name": "app_users",
"text": [
{"t": "1,420", "c": "FFFFFF"},
{"t": " (+42)", "c": "00FF00"}
],
"icon": "2058",
"duration": 5,
"lifetime": 300
}awtrix_delete_app
Elimina una aplicación personalizada del ciclo del dispositivo.
{
"name": "app_users"
}awtrix_get_device_state
Devuelve las estadísticas de hardware y las métricas operativas actuales.
Respuesta:
{
"online": true,
"battery": 88,
"charging": true,
"lux": 140,
"temp": 24,
"ram_free": 128440,
"active_app": "app_users",
"brightness": 120
}awtrix_set_settings
Configura parámetros del dispositivo como el brillo, el activado de matriz de matrices y la velocidad de las transiciones.
{
"brightness": 80,
"power": true
}awtrix_test_render
Asistente de prueba en seco que analiza las expresiones y devuelve el payload renderizado sin enviarlo al hardware.
4. Motor declarativo de aplicaciones (esquema YAML)
En lo de mantener scripts personalizados en Python,you debes colocar los manifiestos .yaml en el directorio apps/.
Ejemplo 1: Estado del servicio de (Checkly)
apps/checkly.yaml
app_id: "checkly"
name: "checkly_status"
enabled: true
interval_seconds: 60
source:
type: "http"
url: "https://api.checklyhq.com/v1/checks"
headers:
Authorization: "Bearer ${CHECKLY_API_KEY}"
X-Checkly-Account: "${CHECKLY_ACCOUNT_ID}"
transform:
total: "len(data)"
failures: "sum(1 for c in data if c.get('hasFailures'))"
degraded: "sum(1 for c in data if c.get('isDegraded') and not c.get('hasFailures'))"
display:
- condition: "failures > 0"
icon: "10558"
notify: true
text:
- { text: "FAIL ", color: "FF0000" }
- { text: "({{failures}}/{{total}})", color: "FFFFFF" }
- condition: "degraded > 0"
icon: "10558"
text:
- { text: "WARN ", color: "FFA500" }
- { text: "({{degraded}}/{{total}})", color: "FFFFFF" }
- condition: "default"
icon: "483"
text:
- { text: "UP ", color: "00FF00" }
- { text: "({{total}})", color: "FFFFFF" }Ejemplo 2: Panel de métricas SaaS
apps/saas_metrics.yaml
app_id: "saas_metrics"
interval_seconds: 120
source:
type: "http"
url: "https://api.example.com/v1/admin/metrics"
headers:
X-API-Secret: "${SAAS_METRICS_API_SECRET}"
sub_apps:
- name: "app_users"
icon: "2058"
text:
- { text: "{{data.users_total}}", color: "FFFFFF" }
- { text: " (+{{data.new_users_last_week}})", color: "00FF00" }
- name: "app_premium"
icon: "5336"
text:
- { text: "{{data.users_premium}}", color: "FFFFFF" }
- { text: " (+{{data.new_users_premium_last_week}})", color: "FFD700" }
- name: "app_orders"
icon: "21072"
text:
- { text: "{{data.orders_total}}", color: "FFFFFF" }
- { text: " (+{{data.new_orders_last_week}})", color: "00FF00" }
- name: "app_support"
icon: "10558"
show_if: "data.tickets_open > 0"
text:
- { text: "{{data.tickets_open}}", color: "FF0000" }5. Inicio rápido y configuración
Requisitos previos
Python 3.10 o superior
Un dispositivo Ulanzi TC001 (o compatible) con el firmware de Awtrix Light instalado y conectado a tu red Wi-Fi.
Configuración local con dev / pip
# Clone the repository
git clone https://github.com/klodnickik/mcp-server-awtrix.git
cd mcp-server-awtrix
# Copy example environment configuration
cp .env.example .env
# Edit device address and API keys in .env
# AWTRIX_BASE_URL=http://awtrix3.localEjecuta el servidor MCP localmente a través de stdio:
# Using uv (recommended)
uv run mcp-server-awtrix
# Or standard pip
pip install -e .
python -m awtrix_mcpConfiguración con Docker y Docker Compose
Ejecuta con Docker Compose:
# 1. Clone & prepare environment
git clone https://github.com/klodnickik/mcp-server-awtrix.git
cd mcp-server-awtrix
cp .env.example .env
# 2. Start the MCP Server (SSE on port 8000) and Metric Daemon
docker compose up -d
# Or start only the metric poller daemon:
docker compose up -d metric-daemon
# View live logs:
docker compose logs -fConfiguración del cliente MCP
1. Google Antigravity
Añade en tu mcp_servers.json:
{
"mcpServers": {
"awtrix": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-server-awtrix", "run", "mcp-server-awtrix"],
"env": {
"AWTRIX_BASE_URL": "http://awtrix3.local"
}
}
}
}2. Claude Desktop
Añadeh, en claude_desktop_config.json:
{
"mcpServers": {
"awtrix": {
"command": "python",
"args": ["-m", "awtrix_mcp"],
"env": {
"AWTRIX_BASE_URL": "http://awtrix3.local"
}
}
}
}3. Cursor
En Configuración de Cursor $\rightarrow$ Funciones $\rightarrow$ Servidores MCP $\rightarrow$ Añadir servidor:
Nombre:
awtrixTipo:
commandComando:
Avity --directory /path/to/mcp-server-awtrix run mcp-server-awtrix
6. Hoja de ruta y contribuições
Especificación y diseño de las herramientas MCP específicas ⚠ El siguiente character no está permitido; regenerate. ... [x] Esquema de orquestación declarativo YAML
Implementación de FastMCP con cliente HTTP asíncrono
Vista previa web visual en directo para la matriz de píxeles
Soporte de capa de transporte MQTT (alternativa opcional al REST)
Exportación de descubrimiento de servicios para Home Assistant
Las contribuções son bienvenidas. Envía un pull request o abre un issue para explicar nuevas funcionalidades.
7. Licencia
Distribuido bajo la Licencia MIT. Consulta LICENSE para más información.
Available Tools
6 toolsawtrix_delete_appADestructiveIdempotent
Remove a custom app from the display cycle by name.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotentHint and destructiveHint, so the core behavioral safety profile is covered. The description adds context beyond the annotations by specifying exactly what is destroyed or affected: a custom app's presence in the display cycle. No contradiction exists between the description and annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence with no filler. It states the action, target, scope, and parameter mechanism efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple: one required parameter, an output schema is present, and annotations cover idempotency and destructive behavior. The description covers the essential target and parameter. Minor gaps remain around exact-name matching and the precise meaning of 'from the display cycle', but nothing critical is missing for basic invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description only indicates that removal happens 'by name'. This adds meaning beyond the raw schema by relating the 'name' parameter to the custom app identifier, but it does not clarify expected format, uniqueness, or matching behavior. For a single simple parameter, this is adequate but minimal.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Remove'), identifies the exact resource ('a custom app from the display cycle'), and specifies the selection mechanism ('by name'). This clearly distinguishes it from sibling tools like awtrix_upsert_app, which creates or updates an app rather than deleting it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is given about when to use this tool versus alternatives, nor are exclusions or prerequisites mentioned. The intended use is only implied by the tool's name and purpose, not stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
awtrix_get_device_stateARead-onlyIdempotent
Return current AWTRIX hardware metrics: battery, lux, temperature, active app (if available).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds useful behavioral nuance by saying 'current' and 'if available,' signaling that values may change over time and that the active app field can be absent. This is meaningful context beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, well-structured sentence states the action and the list of returned metrics with no filler. The most important scoping word ('current') appears upfront, and the optionality of the active app is handled compactly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters, an output schema present, and annotations covering idempotence/read-only behavior, the description is sufficient for an agent to invoke the tool correctly. It states exactly what hardware metrics will be returned and does not need to cover return formatting because the output schema exists.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the description has no parameter burden to carry. The baseline for zero-parameter tools is 4, and there is nothing here that reduces the score; the description instead clarifies what the returned metrics are.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Return') and names the exact resource: current AWTRIX hardware metrics (battery, lux, temperature, active app). It clearly distinguishes this read-only tool from the mutating/action siblings like awtrix_delete_app, awtrix_notify, and awtrix_upsert_app without needing to open the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes it clear this is the status/read tool by saying 'Return current...' while all sibling tools are actions or mutations. It does not explicitly state when not to use it, but the context is clear enough that an agent would select this for reading hardware state rather than for changing anything.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
awtrix_notifyB
Push an instant, high-priority notification to the AWTRIX display.
| Name | Required | Description | Default |
|---|---|---|---|
| hold | No | ||
| icon | No | ||
| text | Yes | ||
| color | No | ||
| rtttl | No | ||
| sound | No | ||
| stack | No | ||
| wakeup | No | ||
| duration | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already communicate open-world behavior and non-idempotency, and the description adds that the notification is pushed instantly with high priority. It does not disclose auth needs, rate limits, or stacking/replacement behavior, but it does not contradict the annotations either.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence that states the essential action and destination with no filler. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The core call is clear, but the description is minimal for a tool with 9 parameters and several sibling tools. It does not explain optional parameter relationships, duplicate-notification behavior, or when to prefer test_render; the presence of an output schema and annotations softens but does not fill these gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description provides no prose about any of the 9 parameters. The schema's names and defaults are somewhat informative, but the description fails to compensate for the coverage gap, such as what 'text' should contain or how icon/color/sound values are formatted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly names the action ('Push'), the object ('notification'), and the destination ('AWTRIX display'), and adds the distinguishing 'instant, high-priority' quality. This makes it easy to separate from sibling tools that manage apps, settings, or device state.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use this tool versus alternatives such as awtrix_test_render or awtrix_upsert_app. The phrase 'instant, high-priority' weakly implies a use case, but the agent has to infer the right context from the tool name and siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
awtrix_set_settingsAIdempotent
Configure display brightness, transition animations, and screen power state.
| Name | Required | Description | Default |
|---|---|---|---|
| power | No | ||
| brightness | No | ||
| transitions | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the description is not required to restate safety behavior. The description adds a bit of context by listing what settings are affected, but it does not disclose side effects, persistence, or range constraints beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that states the action and the key areas affected. It is front-loaded with the verb and wastes no words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple three-parameter settings tool with an output schema and safety-related annotations, the description is mostly sufficient. It could mention that all parameters are optional and independently updatable, but the schema already conveys that through defaults and nullability.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description bears the responsibility for explaining parameters. It only paraphrases the property names (brightness, transitions, power) without adding meaning about value ranges, units, null semantics, or the effect of each flag. The schema reveals defaults but little explanatory content.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Configure') and clearly identifies the resource (display settings) while naming the three configurable areas: brightness, transition animations, and screen power state. This distinguishes it from the sibling tools like awtrix_notify, awtrix_upsert_app, and awtrix_delete_app.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes the tool's purpose clear enough that an agent can infer when to use it: whenever display-level settings need to be changed. It does not explicitly state when not to use it or name alternatives, but the context is unambiguous given the sibling tool names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
awtrix_test_renderARead-onlyIdempotent
Validate and preview a rendered notification/app payload with no hardware side-effects.
| Name | Required | Description | Default |
|---|---|---|---|
| hold | No | ||
| icon | No | ||
| kind | No | app | |
| text | Yes | ||
| color | No | ||
| rtttl | No | ||
| sound | No | ||
| wakeup | No | ||
| rainbow | No | ||
| duration | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already include readOnlyHint=true and idempotentHint=true, lowering the burden on the description. The description adds useful specificity by stating 'no hardware side-effects', clarifying what read-only means in this hardware context. It does not contradict the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single focused sentence with the action front-loaded and the key safety qualifier stated immediately. Every word earns its place; there is no repetition, filler, or structural waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotations covering safety, an output schema covering return shape, and schema defaults for optional parameters, the description is just barely viable for a minimal call using only the required `text` parameter. However, it lacks guidance on the notification/app distinction and advanced fields, and relies heavily on the provided schema and the agent's domain inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, yet the description provides essentially no parameter-level guidance. It only echoes the 'notification/app payload' concept, which maps to the `kind` enum, but gives no help on ten other parameters, including TextSegment, rtttl, wakeup, rainbow, and color. The description fails to compensate for the missing schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action, 'Validate and preview', applied to a defined resource, 'rendered notification/app payload'. It also distinguishes itself from hardware-affecting siblings by explicitly noting 'no hardware side-effects', leaving no ambiguity about what the tool is for.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context that this is a safe preview/validation operation, implying it should be used instead of side-effecting tools like awtrix_notify when testing payloads. It does not explicitly name alternatives or exclusion conditions, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
awtrix_upsert_appAIdempotent
Create or update a persistent custom app in the display carousel.
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | ||
| name | Yes | ||
| save | No | ||
| text | Yes | ||
| color | No | ||
| repeat | No | ||
| rainbow | No | ||
| duration | No | ||
| lifetime | No | ||
| lifetime_mode | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide idempotentHint and destructiveHint=false, and the description aligns by saying 'create or update' and 'persistent'. It adds useful context about the app living in the display carousel and being persistent, but it does not disclose nuances like the effect of the 'save', 'lifetime', or 'lifetime_mode' parameters on persistence, or whether updating an existing app overwrites prior configuration. No contradiction with annotations exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no wasted words. It is front-loaded with the operation ('Create or update') and immediately clarifies the resource and location ('persistent custom app in the display carousel').
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema (so return values need not be explained), the high parameter count, nested TextSegment definition, and zero parameter descriptions make the overall description insufficient. An agent would not know how to construct a valid 'text' payload, when 'save' should be true, or what lifetime/lifetime_mode mean, so the tool cannot be reliably invoked correctly from the description alone.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 10 parameters and 0% description coverage, so the description must compensate by explaining parameter meaning. It does not mention a single parameter (name, text, icon, save, color, repeat, rainbow, duration, lifetime, lifetime_mode), leaving the agent to rely solely on schema titles and defaults. This is insufficient for a schema of this complexity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The descrip states a specific verb ('Create or update' — an upsert) and a specific resource ('persistent custom app' in the 'display carousel'). This clearly distinguishes it from siblings such as awtrix_delete_app, awtrix_notify, and awtrix_set_settings because it targets custom app lifecycle management, not deletion, notification, or settings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly conveys when to use this tool: when the goal is to create or update a persistent custom app in the carousel. It does not explicitly name alternatives or state exclusions, but the context is strong enough that an agent can infer the intended use versus notify or delete siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.1.0- First observed
awtrix_delete_app - First observed
awtrix_get_device_state - First observed
awtrix_notify - First observed
awtrix_set_settings - First observed
awtrix_test_render - First observed
awtrix_upsert_app
TDQS
Scored across 6 tools
Each tool targets a distinct operation: app mutation, instant notification, device state query, settings, and safe preview. notify and test_render are clearly separated by side effects, while upsert_app vs notify is distinguished by persistence and priority.
All tools share the awtrix_ prefix and use snake_case with a mostly verb_noun pattern. awtrix_notify is a minor outlier because it lacks an explicit object, but the overall naming is still predictable and readable.
Six tools cover a focused display-management scope without redundancy. The count is well within the ideal range, and each tool serves a meaningful purpose.
The set covers app create/update/delete, notifications, settings, device state, and safe payload testing. Missing explicit list/get app endpoints are minor gaps that agents can partially work around using the existing app and state tools.
Maintenance
Related MCP Connectors
Run your TRMNL ePaper (e-ink) displays from any AI agent: devices, playlists and new screens.
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Display delivery platform for AI agents. Push HTML, dashboards and live data to screens.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control and monitor Home Assistant smart home devices through natural language interactions. Supports device control, entity state monitoring, history access, and automation generation with both MCP protocol and standalone HTTP REST API modes.1MIT
- AlicenseAqualityAmaintenanceEnables programmatic control of Divoom Pixoo LED matrices to display layered pixel art, animations, and hardware-rendered scrolling text. Users can compose complex visual scenes, push images, and manage device settings like brightness and channels through an LLM.8238 npm10Apache 2.0
- AlicenseAqualityDmaintenanceEnables registration, monitoring, and control of IoT devices via AI agents, with local storage and no cloud API key required.9MIT
- AlicenseAqualityCmaintenanceMCP server and CLI for controlling Ulanzi TC001 Smart Pixel Clock via AWTRIX3 HTTP API. Enables power, brightness, notifications, and more from AI assistants.202MIT