Skip to content

Tools and limits

Item Value
Address https://YOUR-ADDRESS/mcp, shown under Settings, AI assistants
Transport MCP streamable HTTP. Every request stands alone, with no session and no server-initiated messages.
Sign-in OAuth 2.1 with authorization code and PKCE, at the Kelda Kraft sign-in service. The access token is short-lived and is sent in the Authorization header.
Organization One per sign-in. The sign-in names the organization you chose; a request cannot ask for another. To use another organization, connect again and choose it.
Access Read-only

The sign-in is checked at Kelda Kraft’s edge, before the request reaches the application. The application does not check credentials itself.

Tool Returns
get_organization Organization name and the number of plants and sensors
list_organizations The organizations you belong to, which one this connection is for, and a browser link to choose each
switch_organization Checks that you belong to the organization you name and explains how to connect for it. It never changes this connection.
get_system_status Whether sensors are reporting, per plant: how many report now, which are silent and when each last reported
list_plants Plants with the MAC addresses of their sensors
get_latest_readings Latest velocity RMS in mm/s per sensor (x, y, z and resultant), for sensors that reported in the last day
get_velocity_trend Average and peak resultant velocity per time bucket, about 100 buckets per sensor
show_velocity_chart The same data as get_velocity_trend, linked to a chart view
show_live_vibration Every sensor of your plants with its newest reading, whether it is reporting and a trace of the last minutes, linked to the Live vibration view
show_sensors_reporting The same data as get_system_status, linked to the Sensors reporting view
show_plants_overview The same data as list_plants, linked to the Plants overview view

Parameters:

  • organization (required on switch_organization): the name or id of one of your organizations, as list_organizations returns it. An organization you are not a member of returns an error.
  • plant (optional on get_latest_readings, get_velocity_trend, show_velocity_chart and show_live_vibration): a plant name, not case-sensitive, or a plant id. An unknown plant returns an error. It never returns another organization’s plant.
  • minutes (optional on get_velocity_trend, show_velocity_chart and show_live_vibration): from 1 to 1440. The default is 60, and 10 for show_live_vibration.

A connection is signed in for one organization and cannot change it, so switch_organization changes nothing. It returns switched: false with the steps to take: add the server again under another name and choose the other organization when you sign in. The organizations are found from the identity the sign-in carries. If the sign-in does not carry it, list_organizations returns only the organization of this connection.

A sensor is reporting when its newest reading is at most 10 minutes old. A sensor with no reading in the last day has no last-reported time and is listed as silent.

The show_ tools return data, and each points to a view an assistant that supports MCP Apps can draw in the conversation. Widgets in your assistant shows them. An assistant that does not support MCP Apps receives the data only.

Tool View resource
show_live_vibration ui://keldakraft/live-vibration.html
show_sensors_reporting ui://keldakraft/sensors-reporting.html
show_plants_overview ui://keldakraft/plants-overview.html
show_velocity_chart ui://keldakraft/velocity-chart.html

A view carries no data of its own and loads nothing from outside: the host hands it the tool result, and the host’s sandbox blocks every other address. Reading a view needs the same sign-in as a tool call.

Code Meaning What to do
401 No valid sign-in. The response does not say why. Sign in again from the assistant. See Troubleshooting.
403 The sign-in is valid but is not for an organization you belong to. Connect again and choose an organization you are a member of.
404 The assistant connection is turned off on this installation, or the address is wrong. Check the address under Settings, AI assistants.

A 401 carries a WWW-Authenticate: Bearer header with a resource_metadata address. An assistant that supports MCP authorization follows it to the sign-in service on its own.

Each tool call is recorded in your organization’s event log: the tool, whether it succeeded, and the identity the sign-in carried. No credential is recorded.