Bai direkto na e kontenido

AI agents

KantoorAI agents

E kontenido aki no ta disponibel den bo idioma ainda.

Kantoor has a Model Context Protocol (MCP) address. An AI assistant you control — Claude, ChatGPT or another MCP client — can use it to read your mail, calendar, contacts and tasks and, when you approve a change, to make it.

The assistant works as you: it sees what you can see and can do what you can do, never more. It cannot open somebody else’s mailbox, even when you are an administrator; mail content is only reachable in a mailbox attached to you.

AI agents are off until an administrator turns them on.

  1. Open Administration → AI agents (MCP).
  2. Tick Allow AI clients to connect and save.
  3. The page shows the address to give a client: it ends in /mcp.

On the same page an administrator chooses what a client is shown:

Shape What the client sees
Named tools and the search/invoke facade Every operation as its own tool, plus three tools to search and run the catalogue.
One named tool per operation Every permitted operation as its own tool.
Only search_tools, fetch_tool_definitions and invoke_tool Three tools that reach the whole catalogue; useful for a client with a small tool limit.

Tool groups allowed can limit the whole installation to some areas (for example only tasks and contacts). Leave every group unchecked to allow all.

In the AI client, add a remote MCP server with the address from Administration → AI agents (MCP). Leave any API-key header empty.

  1. The client opens Kantoor in your browser.
  2. Sign in with your Shiloh account.
  3. Kantoor shows which client asks, and what it may do. Press Allow.
  4. The assistant is connected.

The connection lasts until you disconnect it. The assistant keeps working without asking you to sign in again; it renews its access in the background.

A client that can send a custom header is given no key: every MCP client uses the same OAuth sign-in. This is what lets ChatGPT connect as well.

The assistant can:

  • read what you can read — mail in your own and delegated mailboxes, calendar, contacts, tasks, chat rooms you are in, your settings;
  • change things in your name when it is allowed to write — create and edit events, tasks and contacts; post a chat message; answer a support conversation; change your mailbox rules;
  • administer the installation only if you are an administrator and the client was granted the admin scope — domains, mailboxes, people, DNS publication, the support sites, API keys and the audit log.

It cannot do more than you. A destructive act — delete, send, publish DNS, provision a mailbox or a domain, create a credential, send an invitation — is first shown to the assistant as a preview; nothing happens until the assistant calls again with confirmation. The preview says what would happen, for example which mailbox and how many messages would be deleted.

An app password, an operator API key or a widget key is shown once, when it is created, and can never be read again — through MCP as in the browser. If it is lost, revoke it and make a new one.

Open Settings → AI agents. Every assistant connected with your account is listed with its scopes, when you connected it and when it last worked. Press Disconnect and it stops at once.

An administrator sees everyone’s connections under Administration → AI agents (MCP) and can disconnect any of them.

A connection also ends when your account is disabled, when you sign out everywhere, or when the sign-in it came from ends at the identity provider.

Every call is recorded: which person, which client, which operation, whether it was allowed, the outcome and how long it took. The arguments are stored with values that look like secrets hidden. An administrator reads the last calls on Administration → AI agents (MCP) and the full admin audit under Administration → Audit log.

One request body 1 MiB
Calls 120 a minute per connection
Lists 50 rows by default, at most 200

A refused call answers with a sentence the assistant can read and act on, for example that a scope is missing, that the person must be an administrator, or that a mailbox is not attached to them.

  • The client says the server is not reachable — check the address: it must end in /mcp, and the installation must have AI agents switched on.
  • Sign-in says the account is disabled — ask your administrator.
  • The consent page says the client is not known — the client’s registration did not reach Kantoor; start again from the client.
  • Every call is refused with “switched off” — an administrator switched AI agents off for the installation.