Skip to content

MCP

Connecting an AI agent

Each installation offers a Model Context Protocol (MCP) endpoint, so that an AI assistant such as Claude can read an operator’s data and act on it. This guide is for operator staff who connect their own AI client, and for developers who connect an agent on behalf of an operator. The MCP surface is not a stable contract yet: sedisto adapts the tool set to how it is used, and tools, their parameters and their answers may still change. For integrations that must not break, use the REST API.

sedisto implements the current revision of the MCP specification. The transport is Streamable HTTP in its request-based form: every tool call is one self-contained HTTP request that carries its own authorization, and the server keeps no state between calls. There are no sessions to open or resume, no server-side subscriptions, and no connection a client has to keep alive. A dropped connection loses nothing, and a client may retry or run requests in parallel. Clients that still speak an older revision, or that require session-based transports, cannot connect.

  • MCP must be enabled for the organization. Until then the endpoint answers 404.
  • Either a sedisto account with a role in the organization, or an integration token from the operator for the AI agent app.
  1. Add a remote MCP server in your client with the URL https://<installation>/mcp.
  2. The client asks for the server and receives 401. It then reads https://<installation>/.well-known/oauth-protected-resource, which names the authorization server on the accounts host of the region and the scope mcp_installation.
  3. The client registers itself there through dynamic client registration and starts an authorization code flow with PKCE (S256 only).
  4. Sign in with your sedisto account and confirm the consent screen.

The assistant then acts with your rights, the same as in the portal.

An agent that runs without a person signing in uses an integration instead. The operator creates an integration for the AI agent app and passes on its token. Send it as Authorization: Bearer <token>. The agent then has the permissions and site restriction of that integration, as with the REST API.

Tool What it does
search Reads one resource with filters, paging, include and aggregation: sites, the site structure, units, entrances, tenants, tenant memberships, rental agreements, interaction requests, accounts, devices, incidents and events.
rename Renames one record: a site, building, floor, area, zone, unit, entrance or tenant. Needs the write permission for that resource.
open_entrance Opens one entrance, with the operations unlock (default), lock, open and close.
incident_summary A briefing over incidents: what opened, closed or asked for help in the last day or week, deadlines in that window, and open incidents by problem type.

A signed-in account opens doors with open_entrance in its own name. It needs the front desk manager or manager role at the entrance’s site, and the same access right check applies as for the person’s phone. An integration must name the person it acts for with account_id, site_membership_id or tenant_membership_id, and needs interaction_requests:write; the check is the same as in Opening a door. The server asks for no confirmation of its own, so rely on your client’s approval prompt for write tools.

  • installation://catalogue: the resources search can read, with their fields and filter vocabulary.
  • installation://domain-notes: how the records relate, as Markdown.

Point your agent at the catalogue first; it saves guessing filter names.

Tool calls are rate limited per caller; above the limit the server answers 429. Every call is logged with the tool and the names of the filters used, not their values.