kukios-mcp
v1.1.2MCP server kukios-mcp
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health_check
Check MCP server health and dependencies Returns: Health status with dependencies, rate limits, and performance metrics
get_usage_metrics
Get API usage metrics and performance stats
cache_stats
Get cache statistics for performance monitoring Returns: Cache hit rates and sizes for all cache tiers
cache_clear
Clear caches (useful after data updates). Args: pattern: Optional key prefix to match (e.g. "building" or "device_"). Omit to clear everything. The match is a PREFIX, not substring. Returns: Status of the cache clear operation
| Parameter | Type | Description |
|---|---|---|
pattern | string |
get_token_status
Get current token status and expiry information. Returns: Token status with expiry time and auto-reauth capability
auth_login
Authenticate and store tokens + credentials for auto re-authentication. Platform response shape: {success, user, accessToken, refreshToken, expiresIn}
| Parameter | Type | Description |
|---|---|---|
email * | string | |
password * | string |
auth_refresh
Refresh JWT token using refresh token. Platform response shape: {success, tokens: {accessToken, refreshToken, expiresIn}}
| Parameter | Type | Description |
|---|---|---|
refresh_token * | string |
get_current_user
Get the current user profile from /api/users/me. Returns: User object with id, email, firstName, lastName, role, organizationId
| Parameter | Type | Description |
|---|---|---|
use_cache | boolean |
list_buildings
List buildings for the authenticated user's organization. The platform returns a flat array; no pagination is supported on this endpoint.
| Parameter | Type | Description |
|---|---|---|
use_cache | boolean |
get_building
Get building details (cached). Args: building_id: Building UUID use_cache: Use cache if available Returns: Building object with levels
| Parameter | Type | Description |
|---|---|---|
building_id * | string | |
use_cache | boolean |
list_devices
List devices for the authenticated user's organization. Args: building_id: Filter by building UUID level_id: Filter by level UUID zone_id: Filter by zone UUID provider: Optional provider filter (kukisense|manual) page: 1-indexed page number (default 1) limit: Items per page (default 100, max 500) use_cache: Use cache (default true) Returns: Devices list (flat array)
| Parameter | Type | Description |
|---|---|---|
building_id | string | |
level_id | string | |
limit | integer | |
page | integer | |
provider | string | |
use_cache | boolean | |
zone_id | string |
get_device
Get a single device with its latest reading (cached). Tries the dedicated `GET /api/devices/:id` route first. If the platform doesn't have that route (returns 404), falls back to `list_devices` and returns the matching row. This means the tool keeps working against deployments that haven't been updated to expose the single-device route. Args: device_id: Device UUID use_cache: Use cache if available Returns: Device object enriched with last reading
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
use_cache | boolean |
batch_get_devices
Get multiple devices in parallel (reduces API calls). Args: device_ids: List of device UUIDs Returns: {"data": [...], "errors": [...]}
| Parameter | Type | Description |
|---|---|---|
device_ids * | array |
batch_get_latest_readings
Get latest readings for multiple devices (cached per device). Args: device_ids: List of device UUIDs Returns: {"data": [...], "errors": [...]}
| Parameter | Type | Description |
|---|---|---|
device_ids * | array |
get_latest_readings
Get latest sensor readings (default 30s cache). Returns the platform's `{readings: [{time, pm25, pm10, co2, tvoc, hcho, temperature, humidity, is_valid}, ...]}` envelope.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
use_cache | boolean |
get_historical_readings
Get historical readings for a device. The platform's `/api/readings/:sensorId/historical` endpoint accepts a single `days` window parameter (default 30); it has no start/end or aggregation parameters. For date-range requests we derive `days` from the span between start_date and end_date. Args: device_id: Device UUID start_date: Optional window start (ISO 8601). Used to derive `days` when `days` is not given explicitly. end_date: Optional window end (ISO 8601). days: Explicit number of days of history (1-365)…
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
days | integer | |
end_date | string | |
start_date | string | |
use_cache | boolean |
list_alerts
List IAQ alerts (no cache — real-time data).
| Parameter | Type | Description |
|---|---|---|
building_id | string | |
device_id | string | |
limit | integer | |
page | integer | |
severity | string | |
status | string |
acknowledge_alert
Acknowledge an alert. Note: the platform persists `notes` in the `acknowledged_notes` column; the JSON body field is read but the platform's key name is `notes`.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | |
notes | string |
resolve_alert
Resolve an alert. The platform persists the note in `resolved_notes`; the body key it actually reads is `resolution`. We send both for forward-compat.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | |
notes | string |
list_standards
List active compliance standards (cached, 30min TTL). Each entry has the live platform shape: {id, code, name, version, parameters: [str], thresholds: {param: {good, moderate, poor, unit}}}
| Parameter | Type | Description |
|---|---|---|
use_cache | boolean |
calculate_compliance
Calculate compliance (no cache — expensive computation). Platform contract: POST /api/compliance/calculate body: {sensorId, standardId, startTime, endTime}
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
end_date * | string | |
standard_id * | string | |
start_date * | string |
list_reports
List reports.
| Parameter | Type | Description |
|---|---|---|
building_id | string | |
end_date | string | |
limit | integer | |
page | integer | |
report_type | string | |
start_date | string |
generate_report_pdf
Generate PDF report.
| Parameter | Type | Description |
|---|---|---|
report_id * | string |
analyze_iaq_quality
Analyze IAQ readings and provide actionable recommendations. Args: device_id: Device UUID standard: Standard code to use for thresholds (default GOAQS). Pass a different code to compare against e.g. SS554 or WELL.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
standard | string |
get_iaq_recommendations
Get prioritized IAQ recommendations for all sensors, optionally filtered to a single building.
| Parameter | Type | Description |
|---|---|---|
building_id | string |
compare_to_standards
Compare latest readings against a specific IAQ standard. The live platform returns each standard as `{id, code, name, parameters: [str], thresholds: {param_name: {good, moderate, poor, unit}}}`. We index `thresholds` by lowercased parameter name and look up the reading with the `formaldehyde`/`hcho` alias handled.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
standard | string |
get_iaq_health_score
Get a per-parameter IAQ health score (0-100) with a lead-generation block. Thresholds come from the requested standard (default GOAQS), with the most-permissive live standard used as a fallback for each parameter.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
standard | string |
get_realtime_status
Get real-time system status (no cache)
get_sensor_history
Get sensor history
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
hours | integer |