> Full index: https://docs.buchungapp.com/llms.txt
> Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples.

# Operator MCP

Operator MCP lets staff use a compatible assistant to find their events, see how many places are left, read registration rosters, and get links to the right dashboard page. **Access is by invitation during the pilot.**

## Connect your assistant [#connect-your-assistant]

1. In the MCP client named in your invitation, add a remote server at `https://mcp.buchungapp.com/`.
2. Sign in to Buchung when your client opens the OAuth prompt. All eligible organizations and all requested permissions your role allows start on. **Keep connected** also starts on if the client asks for it. This gives the assistant the full access available to it. Turn off anything you want to exclude, then approve.
3. Ask the assistant which operators it can access. Use the organization and operator IDs returned by `operators_list` for later calls.
4. To disconnect the assistant, open **Assistant connections** from your Buchung account or go to [your connections page](https://www.buchungapp.com/mcp/connections).

If a tool needs a permission you can grant, its error tells you to reconnect from the client. The same defaults apply when you connect again. Approve the required permission before retrying. The earlier connection keeps its original permissions. **Assistant connections** lists both approvals, and you can disconnect either one separately.

The server uses stateless Streamable HTTP. It supports MCP `2026-07-28` through `server/discover` and `2025-11-25`, `2025-06-18` and `2025-03-26` through `initialize`. Send one JSON-RPC message per request because the server refuses batches with HTTP 400, including for `2025-03-26`. Legacy requests can also omit the version header. The server issues no session ID. Use OAuth for hosted connections. Staff permissions are checked on every request, including when an organization approval or staff role changes.

## Scopes [#scopes]

| Scope | What it allows |
| --- | --- |
| `mcp:connect` | Connect your staff account, list accessible operators and find dashboard pages. |
| `events:read` | List and inspect events you can access. Connections without this permission need new consent to use the event tools. |
| `registrations:read` | Read registrations and permitted contact fields. Include registration and check-in counts. Remaining places also require access to Capacity rules in the dashboard. |
| `offline_access` | Let the client refresh its connection after the access token expires. |

Consent limits what an assistant may read. Dashboard links follow your own staff permissions for the chosen operator.

## Tools [#tools]

### `operators_list` [#operators_list]

Ask “Which organizations and operators can I use with this connection?”

Call this first. Use the optional `limit` to set the page size or `cursor` to continue a previous page. Each row in `operators` gives the organization and operator IDs, names and handles, plus the operator's time zone, today's date in that time zone (using UTC if the stored time zone is invalid), the data capabilities this connection can use, staff visibility and a dashboard link. `visibility.scope` is `operator` or `event_scoped`. In the latter case, `eventCount` gives the number of events in the grant.

Pass `pagination.next` as `cursor` for the next page. A `null` cursor ends pagination. `pagination.totalCount` is the live count, and pages can shift when access changes.

### `dashboard_guide` [#dashboard_guide]

Ask “Where do I refund a booking?” or “Waar kan ik een kortingscode maken?”

Pass `organizationId` and `operatorId` from `operators_list`. Optional `query` accepts up to 80 characters in English or Dutch. Optional `area` narrows the search to one of `events`, `bookings`, `registrations`, `communication`, `reports`, `finance`, `listings`, `people`, `storefront`, `tickets` or `settings`.

The result gives the selected `operator`, `matched` and an array of `entries`. Entries carry an ID, area, English and Dutch titles, and a dashboard page kind. The `kind` field says how to proceed.

- `supportedInMcp` names the tool and sets `canCall`. If a tool needs more access, `fix` is `reconnect` or `ask_admin`.
- `notYetInMcp` gives a short instruction for using the dashboard today.
- `dashboardOnly` gives the reason to complete the task in the dashboard.

A search returns up to eight matches. When no terms match, `matched` is `false` and the result returns the requested area's entries. Without an `area`, it returns empty `entries` and an `areas` list with each area's ID, English and Dutch titles, and entry count. Call again with one of those area IDs.

The `accessible` field says whether the staff member may open the dashboard page. An accessible entry includes a `dashboardUrl`. An inaccessible entry gives a missing `requiredCapability` or a `blockedBy` reason of `operator_scope` or `role_policy`.

### `events_list` [#events_list]

Ask “Which events run next weekend, and how many people are confirmed?” or “Welke evenementen zijn er volgende week?”

Pass `organizationId` and `operatorId` from `operators_list`. Add `from` and `to` as inclusive `YYYY-MM-DD` dates (years 1900 through 9998) in the operator's time zone. The window starts today by default, including events that ended earlier today. Set `from` explicitly for prior days. Omit `to` for an open end. The optional `query` searches the internal title and handle, up to 80 characters.

The result includes the `operator`, the applied `filters` and the matching `events`. Each row has its ID, handle, display title, start and end with the local UTC offset, `timing` (`upcoming`, `ongoing` or `past`) and a dashboard link. With registration access, each row always includes confirmed and in-option counts, including zero counts. It also includes any archived, cancelled, transferred, on-hold or expired registrations with a non-zero count. Past seasons are often archived, so check the other statuses before reporting how many took part. “Registered” usually means confirmed. The stored `processing` status is the dashboard's “In-option” (“In optie”), a held place awaiting confirmation.

Use `limit` and `cursor` to page. Pass `pagination.next` and repeat the same filters. The cursor preserves a defaulted `from` date across midnight. `pagination.totalCount` is live and can change between pages.

### `events_inspect` [#events_inspect]

Ask “How many places are left under the capacity limits for Saturday?” or “Hoeveel inschrijvingen zijn al ingecheckt?”

Pass `organizationId`, `operatorId` and the `eventId` from `events_list`. The result includes its schedule, timing, dashboard link and up to 100 `availabilities`, sorted by start time, activity title and ID. Each availability has its activity, variation and schedule. If `availabilitiesTruncated` is true, open `event.dashboardUrl` to see the full list. The result links to the event's Registrations and Arrival and departure pages when your staff grant allows you to open them.

With registration access, you get status totals as in `events_list`, plus check-in counts and per-availability registration counts for confirmed and in-option registrations. Held in-option registrations count as taken. Event totals include registrations on retired offers. Use the event totals for a count across the whole event.

When you grant registration access and can open Capacity rules in the dashboard, `remaining` gives the places left under the capacity limits for this availability. It does not check whether the availability is open for booking (it can be in the past, or its activity can be archived or unlisted). `null` means no limit is configured. `0` means full. A place can be for a person, boat or group. The count reflects the current situation and does not reserve places.

Availabilities for the same event usually share places. Never add the numbers together. If a group will book across several availabilities, the assistant cannot confirm whether the whole group fits. Check shared limits in the dashboard. If you have access to Capacity rules, the result includes a **Check shared limits** link.

Both event tools offer a roster follow-up when the connection can read registrations. Both event tools identify event-scoped access in `visibility`. The tools omit restricted fields and name them in `visibility.redactedFields`. You can still see registration counts when you have registration access but lack access to Capacity rules.

### `registrations_list` [#registrations_list]

Ask “Who is confirmed for Saturday's paddle, and who hasn't checked in?” or “Welke deelnemers zijn al uitgecheckt?”

Pass `organizationId` and `operatorId` from `operators_list`. Filter by `eventId` or `bookingId`. Use `activityId` or `availabilityId` from `events_inspect` for a roster or an attendance count for one activity or availability. Set `status` to one or more of `confirmed`, `processing`, `cancelled`, `on-hold`, `expired`, `transferred` and `archived`. The default is `["confirmed", "processing"]`. Past seasons are often archived, so include `archived` in `status` for those rosters and check the other statuses before reporting how many took part. “Registered” usually means confirmed. The stored `processing` status is “In-option” (“In optie”), a held place awaiting confirmation.

Use `checkInStatus` to filter by one or more of `checked_in`, `checked_out` and `not_seen`. The optional `query` matches the registration handle or, where visible, the participant's name or email. It accepts up to 80 characters and does not search the booker. The result echoes the applied `filters`. Each row includes the registration ID, status, current check-in state, dashboard link and available event, activity and variation details. The participant name, email and phone follow your staff permissions. Use the row's event ID with `events_inspect`.

The roster defaults to 25 rows per page and allows up to 30. Larger limits are clamped to 30 with a `limit_clamped` warning. Pass `pagination.next` as `cursor` and repeat the same filters to continue. `pagination.totalCount` is live. Registrations created between calls can shift which rows appear on each page.

### `registrations_inspect` [#registrations_inspect]

Ask “What did this participant book and when did they check in?”

Pass `organizationId`, `operatorId` and the `registrationId` from `registrations_list`. Inspection adds the availability schedule and permitted participant, booker and booking details. When permitted, participant details include birth date, gender and language. Extras include confirmed and in-option items, with their status and variation when applicable. Timestamps include the operator's local UTC offset. For event-scoped staff, the tool omits the booking-wide status. Restricted fields appear in `visibility.redactedFields`. With no participant visibility, this list includes `participant` even if the registration has no participant.

Both registration tools omit financial information, custom fields, form answers and check-in form payloads. A phone number that cannot be normalised is returned as stored. Contact details are personal data you are responsible for. Use `dashboard_guide` for edits, rebooking, cancellations and refunds.

Successful tool calls return the same JSON in `structuredContent` and in text content.

## Errors [#errors]

Tool errors use `isError: true`. The text content contains a JSON object with `status`, `reason`, `message`, `retryable` and any applicable details.

| Reason | Status | Retryable | What to do |
| --- | --- | --- | --- |
| `invalid_argument` | `action_required` | No | Fix the arguments listed in `data.issues`. |
| `operator_not_accessible` | `action_required` | No | Call `operators_list` again to choose an available operator. |
| `insufficient_scope` | `action_required` | No | For `connection_scope_missing`, reconnect and approve the required permission. For `staff_capability_missing`, ask a Buchung admin to review your staff permissions. The error includes links to the task and to your connections. |
| `not_found` | `error` | No | Check the ID and ask for a record you can access. |
| `result_too_large` | `action_required` | No | Lower the page limit or narrow the filters. If the error includes a dashboard link, open it to see the full result. |
| `rate_limited` | `error` | Yes | Wait `retryAfter` seconds before trying again. |
| `temporarily_unavailable` | `error` | Yes | Try again shortly. |

Wrong JSON types, missing required arguments, unknown argument names and invalid values such as malformed UUIDs all return HTTP 200 with the `invalid_argument` tool error on both protocol generations. These refusals do not spend call budget.

## Limits [#limits]

| Limit | Why |
| --- | --- |
| 60 calls per minute per connection | Keeps each assistant conversation within its own budget. |
| 10 seconds for tool execution | Stops slow reads from holding a database connection for too long. |
| 100,000 UTF-8 bytes for the complete result | Leaves room for both the structured and text copies before clients truncate the response. |
| 25 rows by default. Up to 30 per registration page and 50 on other lists. | Keeps typical pages within the byte limit. Larger requests are clamped to the tool's maximum with a `limit_clamped` warning. |
| Cursors up to 512 characters and offsets up to 10,000 | Keeps pagination bounded. Use the dashboard for long reports. |
| 80 characters for guide, event and registration searches | Keeps the query short enough to describe a task or a few keywords. |

