MCP/AI services

Tools → MCP/AI services is the page from which every domain user connects their own AI assistant (Claude Code, Claude Desktop, ChatGPT, VS Code, Cursor…)…

What it is for

Tools → MCP/AI services is the page from which every domain user connects their own AI assistant (Claude Code, Claude Desktop, ChatGPT, VS Code, Cursor…) to the appliance’s services. When the assistant works, it acts with the identity and permissions of the user: it has no greater powers than whoever connected it.

This is the user’s page. The administrator decides elsewhere which MCP servers exist, who can use them and with which tools (the «AI access (MCP)» settings in System → Settings) and reads the calls in Web → MCP event log: this is covered in chapter 9.

The servers available today:

Server What it allows Notes
«Git» Repositories, issues and pull requests of the appliance’s Git server, with each user’s permissions The Git server must be installed; writing (opening issues, commenting, creating branches and pull requests) only if the administrator has turned on «Allow writing»: otherwise read-only
«Appliance administration» The appliance’s status, findings with the steps to take in the console, a guide and the console pages of the installed modules, read with the administrator’s own rights, read-only (chapter Web) Administrators only and, when the administrator has chosen one, only those in the «Allowed group»
«Calendar» Your calendars: listing and searching events (recurring ones too), availability, creating, changing and deleting Needs the groupware module. An event with guests sends them an invitation by mail: only the tools «…with guests» do that, and they ask for the «Full» level
«Contacts» Your address books: listing with search, creating, changing and deleting contacts Needs the groupware module
«Notes» Your notes: listing, latest notes, creating, changing and deleting Needs the groupware module
«Tasks» Your task lists: listing, creating, changing (also «done») and deleting Needs the groupware module
«Mail» Your mailbox: folders, listing and search, reading (without marking as read), attachments (reading the text, saving to the files), flags, moving, drafts, deleting, sending and replying (with attached files too) Sending sends real mail, in your name, to people who may be outside the organisation (20 recipients at most): it needs the «Full» level. Attachments cross servers: attaching a file to outgoing mail also needs read access to «Files» in the same token (and the files unlocked), saving an attachment to the files needs write access. Reading an attachment shows the text of text files, HTML and, where poppler-utils is installed, PDFs; an attachment’s text is written by someone else, so the assistant receives it as data, not as instructions
«Files» Your shares: listing, reading text files (in 256 KB pieces), new folder, writing text files, rename, move, delete Needs file sharing. See «Unlock files» below
«Memory» Your long-term memory (Hindsight): the assistant remembers what matters (retain), finds it again (recall) and reasons over it (reflect) from one conversation to the next; it corrects or retires what is remembered Yours alone: nobody else sees it, not even the administrator through an assistant. The text retained goes through the language model the administrator chose
«Company memory» A memory shared by every user allowed, with the same tools Everything retained carries the name of whoever wrote it. Off until the administrator turns it on
«Helm» The business management: documents, master data, warehouse, CRM, contracts, tickets and accounting, in the companies and with the permissions you have in Helm Needs Helm. Writing (document drafts, leads, activities, tickets, contract hours) only if the administrator turned «Allow writing» on
Agents’ bus (agents) Messages, work requests and turns between your coding agents, on any account and machine, and an alert to you when they stop Part of «Memory»: the token for «Memory» is valid on the bus too, and it has no row of its own in tokens. Used with the edon-agents client (see Agents’ bus)

The entry appears only if the «AI access (MCP)» module is active. The address of each server is https://atlas.johnsmith.test/svc/mcp/<server> (for example https://atlas.johnsmith.test/svc/mcp/git).

These cannot use the page: the host’s root user and the appliance’s service accounts. Messages: «AI access (MCP) is not on on this appliance. An administrator can turn it on from System → Modules.», «This account cannot use AI access: a domain user is needed.», «No MCP server is available to your account. Ask an administrator to enable it.».

How the page is laid out

The list on the left always has «Connect an assistant» at the top («Addresses, commands and personal tokens»), then your personal tokens (the token’s name and «Expires on …») and the connected assistants (the host that connected with single sign-on and «Connected since …»). The administrator sees in the list everyone’s tokens, with the user in front of the name. The search filters by name and user. The detail shows what you have chosen.

Connect an assistant

The introductory text depends on single sign-on:

  • With single sign-on (SSO) active: add the address to your assistant; at first use it asks you to sign in with your domain account and to authorise it. For assistants that do not support sign-in, create a personal token.
  • Without single sign-on: you can connect only with a personal token.

Below, the panel «New personal token»:

Field What it means Values
«Name» How you will recognise the token in the list up to 60 characters, for example «Claude Code on the laptop»
«Expiry» Until when it is valid 7, 30 or 90 days, «1 year», «Date…» (then «Expires on»: valid to the end of that day) or «No expiry» (valid until you revoke it). 30 days by default. In the list a token without an expiry shows «Never expires»
«Project» (memory only) Optional. Binds the token to a project, e.g. atlas: on the memory the assistant always writes with the project:atlas tag and reads only that project and the general memories (those of no project), never the other projects. The tools that cannot be kept to a project (documents, tag list, knowledge base) are not offered to it lower-case letters, digits, . _ -; empty: no project, the assistant sees the whole memory
«Servers and permissions» For each server, what the assistant may do with this token «Off», «Read» (looks only), «Read and write» (also creates and changes) or «Full» (also deletes and sends mail or invitations). At least one server on; only those you can use, and never above the ceiling the administrator allowed on that server

«Create token» shows the token only once («Copy the token now: it will not be shown again.») with the «Copy» button. If you leave every server «Off»: «“Servers”: choose at least one of the servers you can use.».

You decide each server’s level, and it holds for that token: an assistant with «Read» does not even see the tools that change something, and one with «Read and write» can neither delete nor send. Tools the administrator switched off stay off whatever level you choose.

Below, for each server, the ready-to-copy commands («Copy» icon; message «Copied to clipboard»):

Block Appears What it contains
«Claude Code, signing in through single sign-on» with SSO claude mcp add --transport http edon-git <address>
«ChatGPT: turn on developer mode in the settings, then create an app with this address and OAuth authentication» with SSO the server’s address
«Claude Code, with a personal token» always the command with the header Authorization: Bearer <token>
«JSON configuration (Claude Desktop, VS Code, Cursor)» always an mcpServers fragment with the token

Until you have created a token the commands show the placeholder <token>; after creating it you find it already inserted, until you change page.

Unlock files

The «Files» server talks to the file server as you, and the file server wants your domain password, which Atlas does not know with single sign-on. So, when you want an assistant to use your files, in the «Files» panel at the top enter your password once and press «Unlock files». Atlas checks it on the file server («The password does not open your files» if it is wrong), keeps it encrypted, uses it only for your files, never shows it to the assistant and discards it after 90 days. «Take the password back» deletes it at once; changing your domain password makes it useless and the assistant tells you to unlock again. Permissions are the file server’s: the assistant cannot see or change anything you cannot.

A personal token

When you select a token you see: «User», «Starts with» (the first digits, to recognise it), «Server» (or «All those the user has access to»), «Created on», «Expires on», «Last used» («Never» if it has not been used). The «Revoke» button invalidates it at once («Token revoked»). The administrator, on another user’s token, also has «Revoke all of … ’s AI access», which revokes all the tokens and disconnects all the assistants of that user («Access revoked: N tokens, N assistants disconnected»).

A connected assistant

An assistant connected with single sign-on shows «Identifier», «Connected since» and «Last authorised». «Disconnect» removes its access at once: «Once disconnected, the assistant loses access at once and asks for your authorisation again the next time.».

Above «Disconnect» is «What this assistant may do»: for each server choose «Off», «Read», «Read and write» or «Full» (as for a token) and «Save» («Levels saved»). Until you choose, the assistant can only read your personal data (calendar, contacts, notes, tasks, mail, files): the text «You have not chosen yet…» says so. Disconnecting the assistant also deletes its levels.

For the technician Behind it is the gateway inside Atlas (route /mcp/*, exposed by nginx at /svc/mcp/): it verifies the token (a Keycloak JWT, or a personal token issued by Atlas), applies the policies (server active, allowed group, permitted tools, read-only/write), replaces the credential with the user’s own towards the service (for Git, their token) and writes a log. Single sign-on uses OAuth 2.1 with PKCE and clients declared with a document (Client ID Metadata Documents): the known clients (Claude, Claude Code) are admitted, other domains are added in the setting «Other allowed assistant domains». A personal token cannot reach more servers than its owner can use. The design is in info/done/MCP.md.

Example: Laura connects Claude Code with her own account

Situation. Laura White (administrator) wants to query the appliance’s status from Claude Code on her laptop.

What you need. The «AI access (MCP)» module active with single sign-on, and Claude Code installed.

Steps.

  1. Open Tools → MCP/AI services and leave «Connect an assistant» selected.
  2. In the «Appliance administration» block copy the command «Claude Code, signing in through single sign-on»: claude mcp add --transport http edon-atlas https://atlas.johnsmith.test/svc/mcp/atlas.
  3. Paste it in a terminal on the laptop.
  4. At first use Claude Code opens the browser: sign in with the account lwhite (with the second factor) and authorise.

Check. In MCP/AI services the assistant appears in «Connected assistants» with the date. A question such as «how is the appliance?» gets its answer from the gateway; in Web → MCP event log you find the call recorded.

If something goes wrong. If the block has only the command with the token, single sign-on is not active: use the personal token (next example).

Example: a token for VS Code, valid for 30 days

Situation. John Smith uses an assistant that does not support sign-in with the browser and wants to connect it to the Git server.

Steps.

  1. Open Tools → MCP/AI services, «Connect an assistant», panel «New personal token».
  2. «Name»: Office VS Code. «Expiry»: «30 days». Turn on only the «Git» switch.
  3. Press «Create token». Copy the token and keep it (it will not be shown again).
  4. In the «Git» block copy the «JSON configuration (Claude Desktop, VS Code, Cursor)»: it now contains the token. Paste it in the assistant’s configuration.

Check. In the list the token «Office VS Code — Expires on …» appears. After the first use, «Last used» stops saying «Never».

If something goes wrong. If «Git» is not among the servers: the Git server is not installed or the administrator has not admitted you (allowed group).

Example: revoking a lost token and a person’s access

Situation. The laptop with the token «Claude Code on the laptop» has been stolen; and Paul Black leaves the company.

Steps for the laptop.

  1. Open Tools → MCP/AI services, select the token «Claude Code on the laptop».
  2. Press «Revoke». Message: «Token revoked».

Steps for Paul’s access (administrator).

  1. Search for pblack in the list and select one of his tokens.
  2. Press «Revoke all of pblack’s AI access».

Check. «Access revoked: N tokens, N assistants disconnected». The revoked token stops working at once; an assistant connected with single sign-on will have to authorise again (and will not be able to, if the account is disabled).

If you delete the account. Deleting pblack from Active Directory → Users («Delete», Users) does the same revocation by itself: the tokens, the connected assistants and the credentials the gateway held for him (Git, files, Helm). A new account created later with the same login inherits nothing. If the revocation fails (for example the database does not answer), the account is deleted all the same and Atlas’s journal reports it: pblack’s tokens stay in the list and you revoke them with «Revoke all of pblack’s AI access».

Limits

  • The token is seen only once: if you lose it, you create another and revoke the old one.
  • A token is valid until the expiry chosen; one without an expiry is valid until you revoke it. Once expired, it no longer works. There is no renewal: you create a new one.
  • The token cannot reach more servers than the user can use.
  • The assistant only does what the user can do: if the administrator has left writing off, the Git server is read-only for everyone.
  • The «Appliance administration» server is for administrators and read-only.
  • With access from outside off (the setting «Reachable from the internet»), the gateway answers only from trusted networks; for claude.ai’s connectors (which come from outside) it must be on.
LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer