Query video analytics incidents, alerts, sensor data, and metrics from Elasticsearch via the VA-MCP server (port 9901). Use for any question about what happened in video — PPE violations, alerts, incidents, object counts, speeds, occupancy, or anything that requires looking up recorded events. This is the primary way to answer "what happened", "show me alerts", "any violations", "how many people", etc.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Query video analytics incidents, alerts, sensor data, and metrics from Elasticsearch via the VA-MCP server (port 9901). Use for any question about what happened in video — PPE violations, alerts, incidents, object counts, speeds, occupancy, or anything that requires looking up recorded events. This is the primary way to answer "what happened", "show me alerts", "any violations", "how many people", etc.
Queries incidents, alerts, and metrics stored in Elasticsearch via MCP JSON-RPC at port 9901.
Overview
Use this skill to fetch real-time or historical telemetry and compliance records stored in Elasticsearch. Always run queries programmatically via the VA-MCP server.
Key capabilities:
Getting incident details by unique identifier.
Aggregating statistical trends (e.g. average people count over a time window).
Searching for safety/PPE alerts across active video streams.
Prerequisites
VA-MCP Running: Ensure the vss-va-mcp service is running on port 9901.
Session Identification: All JSON-RPC queries require an active mcp-session-id fetched from an initialization header.
Instructions
1. Two-Step JSON-RPC Pattern
To make queries, execute two consecutive shell/curl commands:
Initialize Session: Perform a POST call to http://localhost:9901/mcp with an initialize JSON payload, and grep for the mcp-session-id header.
Execute Tool Call: Send a POST call to http://localhost:9901/mcp with the tools/call method, passing the session header and the desired parameters.
2. Available Tool Options
Replace the parameters under Step 2 to target specific services:
video_analytics__get_incidents — list recent incidents.