kukios-mcp

v1.1.2
kukios-mcp Checked 6 hours ago Published 3 months ago

MCP 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

ParameterTypeDescription
patternstring

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}

ParameterTypeDescription
email *string
password *string

auth_refresh

Refresh JWT token using refresh token. Platform response shape: {success, tokens: {accessToken, refreshToken, expiresIn}}

ParameterTypeDescription
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

ParameterTypeDescription
use_cacheboolean

list_buildings

List buildings for the authenticated user's organization. The platform returns a flat array; no pagination is supported on this endpoint.

ParameterTypeDescription
use_cacheboolean

get_building

Get building details (cached). Args: building_id: Building UUID use_cache: Use cache if available Returns: Building object with levels

ParameterTypeDescription
building_id *string
use_cacheboolean

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)

ParameterTypeDescription
building_idstring
level_idstring
limitinteger
pageinteger
providerstring
use_cacheboolean
zone_idstring

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

ParameterTypeDescription
device_id *string
use_cacheboolean

batch_get_devices

Get multiple devices in parallel (reduces API calls). Args: device_ids: List of device UUIDs Returns: {"data": [...], "errors": [...]}

ParameterTypeDescription
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": [...]}

ParameterTypeDescription
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.

ParameterTypeDescription
device_id *string
use_cacheboolean

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)…

ParameterTypeDescription
device_id *string
daysinteger
end_datestring
start_datestring
use_cacheboolean

list_alerts

List IAQ alerts (no cache — real-time data).

ParameterTypeDescription
building_idstring
device_idstring
limitinteger
pageinteger
severitystring
statusstring

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`.

ParameterTypeDescription
alert_id *string
notesstring

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.

ParameterTypeDescription
alert_id *string
notesstring

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}}}

ParameterTypeDescription
use_cacheboolean

calculate_compliance

Calculate compliance (no cache — expensive computation). Platform contract: POST /api/compliance/calculate body: {sensorId, standardId, startTime, endTime}

ParameterTypeDescription
device_id *string
end_date *string
standard_id *string
start_date *string

list_reports

List reports.

ParameterTypeDescription
building_idstring
end_datestring
limitinteger
pageinteger
report_typestring
start_datestring

generate_report_pdf

Generate PDF report.

ParameterTypeDescription
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.

ParameterTypeDescription
device_id *string
standardstring

get_iaq_recommendations

Get prioritized IAQ recommendations for all sensors, optionally filtered to a single building.

ParameterTypeDescription
building_idstring

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.

ParameterTypeDescription
device_id *string
standardstring

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.

ParameterTypeDescription
device_id *string
standardstring

get_realtime_status

Get real-time system status (no cache)

get_sensor_history

Get sensor history

ParameterTypeDescription
device_id *string
hoursinteger