Skip to main content
Lumovi’s server has a built-in MCP server too, at its address with /mcp after it: https://lumovi.example.com/mcp. Any MCP client, an AI assistant or agent, connects there over HTTP, with the same tools as the desktop app’s. Each signs in through Lumovi, as MCP has clients do: Lumovi opens in the person’s browser, they sign in as they always do, and allow the assistant. From then on, it acts as them, with their RBAC on each cluster, a fleet’s too, and as their permissions say, within limits you may set. The changes it asks for wait on that person’s own Lumovi pages for their answer. What people see and do is on AI assistants on a server. This page is for whoever runs Lumovi.
AI assistants are on unless you turn them off. Each one still needs someone to sign in and allow it, and can do no more than that person can.

Turn them on or off

Off, mcp, the OAuth endpoints and the addresses where assistants look for how to sign in answer 404, with “This server’s administrator has turned AI assistants off.” The page for allowing an assistant says the same, and so does the AI assistants page, while the sidebar has no button for it. LUMOVI_ASSISTANTS is on or off: anything else stops Lumovi, saying LUMOVI_ASSISTANTS must be on or off, not "maybe".

Limits for everyone

Each person says what their assistants may do, and where, on the Permissions tab of their AI assistants page: see What assistants may do. Your rules are limits on that, which nothing of theirs loosens. People see them first on the tab, locked, with Set by your administrator, and their assistants are told “this server’s administrator says so” when one refuses them. People’s access applies over both: an assistant never does more than its person may through Lumovi. AI assistants in a profile says whether they may use assistants there, and whether their changes always ask first, and their Secrets, logs and changes cap their assistants’. Someone who may use them nowhere can’t allow one.
LUMOVI_ASSISTANT_RULES takes the list as YAML or JSON, or either encoded in base64 on one line. The chart sets it from assistants.rules. Each rule has:
  • name, up to 100 characters, as people and assistants read it.
  • clusters and namespaces, a name or a list, matched as people’s rules are: names, patterns like tenant-*, labels like team=payments, and ! first to leave one out. Without either, all of them. See Where a rule applies.
  • What it limits, at least one: visibility: hidden; changes: ask or never; secrets: keys or hidden; env: sensitive or all; logs: off. Where your rule is stricter than what someone’s own say, yours wins. A setting’s loosest value, like changes: allow or logs: read, would limit nothing, and stops Lumovi.
Rules match clusters by label as the cluster is labelled: in a fleet, by the fleet’s labels for each cluster; on a Lumovi of one cluster, by the labels you give it, with clusterLabels in the chart (LUMOVI_CLUSTER_LABELS):
values.yaml
On a Lumovi of one cluster, a rule that matches clusters by a label the cluster doesn’t have would do nothing, so it stops Lumovi: give the cluster its labels, or name it. Only the label’s key counts for that: a rule naming a value the cluster doesn’t have, like env=staging on a cluster labelled env=production, starts, and doesn’t apply there, so one set of rules can serve several servers. A typo in a value looks the same, so check them. Where a namespace’s labels can’t be read as the person, a rule that matches by label counts as a limit there. A rule that doesn’t make sense stops Lumovi, and its log says which, and why:
With the chart, helm install refuses keys and values its schema doesn’t take first. In assistants.rules, it takes only what limits: visibility: hidden, changes: ask or never, secrets: keys or hidden, env: sensitive or all, and logs: off. Whatever your rules and theirs say, each person’s RBAC applies, and readOnly: true (LUMOVI_READ_ONLY) keeps assistants from changing anything, as it keeps everyone. So does a cluster made read-only on the server, which is read-only for everyone, and their assistants.

What their changes do

LUMOVI_ASSISTANT_CHANGES (the chart’s assistants.changes and assistants.clusters) sets a limit on what assistants’ changes do, cluster by cluster:
Lumovi makes them into rules, which people see on their Permissions tab: Changes (LUMOVI_ASSISTANT_CHANGES) for every cluster but those named, and Changes to production (LUMOVI_ASSISTANT_CHANGES) for each one named.
allow doesn’t make changes without asking by itself: each person chooses Without asking for their own. The chart sets assistants.changes only when you do, so unless you set limits, people may let their assistants change things without asking, or read Secrets’ values. See Limits for everyone.
In LUMOVI_ASSISTANT_CHANGES, an entry without a name is every cluster’s, and name=… entries are those clusters’ own, separated by commas. Spaces around them don’t matter. Anything else stops Lumovi:
A cluster’s name is the one Lumovi shows: clusterName (in-cluster unless set) for a Lumovi of one cluster, and each cluster’s name in a fleet. For more than changes, or for namespaces, use rules.

Where people’s rules are kept

Each person’s rules are kept on the server, by the name they’re signed in as: the same in every browser, and every page of theirs, and their assistants, follow a change at once. Lumovi keeps them in the first of these it has:
  1. A ConfigMap, in the namespace Lumovi runs in, named by LUMOVI_ASSISTANT_RULES_CONFIGMAP. The Helm chart makes it, <release>-assistant-rules, and sets the variable, whenever assistants are on.
  2. A file, assistant-rules.json in the folder LUMOVI_DATA_DIR names. Only Lumovi’s user can read it, and it’s written whole or not at all, by one Lumovi at a time (it takes assistant-rules.json.lock as it writes). When another Lumovi sharing the folder wrote it since, Lumovi reads theirs and adds the person’s change to it, rather than write over it.
  3. Memory, until Lumovi stops. Its log says so as it starts: People’s AI rules are kept in memory: they’re lost when Lumovi stops. Set LUMOVI_DATA_DIR, or install the Helm chart, to keep them. People’s Permissions tab warns them too, and after a restart their assistants do what the defaults say.
With the chart:
  • Lumovi may only read and write that one ConfigMap: a Role, <release>-assistant-rules, gives its service account get and patch on it by name, and nothing else. Lumovi reads it, and writes its data alone with a merge patch, so the chart’s annotation and labels stay. The chart makes the Role with rbac.create. With rbac.create: false, the chart still makes the ConfigMap and tells Lumovi to use it: grant Lumovi’s service account get and patch on <release>-assistant-rules yourself. Without get, it doesn’t start.
  • Uninstalling keeps it, with what people set, on purpose (helm.sh/resource-policy: keep): installing again finds their rules as they were. Upgrades leave what’s in it. Delete it yourself to forget them.
  • It holds everyone’s, as JSON under rules.json, up to 1 MB in all: past that, a person’s change isn’t kept, and their tab says “Not kept: Lumovi can’t keep more AI rules: everyone’s together would be over 1 MB.”
  • Whoever may update ConfigMaps in Lumovi’s namespace can change anyone’s rules, and whoever may read them sees everyone’s. Keep that namespace to administrators.
Lumovi reads what’s kept when it starts, and stops rather than loosen anyone’s when it can’t:
A file says the same, by its path. LUMOVI_ASSISTANT_RULES_CONFIGMAP needs Lumovi to run in a cluster, and a ConfigMap’s name. Edited by hand while Lumovi runs, what’s kept is read again when Lumovi starts, or when someone next keeps a change of theirs: then Lumovi takes in your edits, and keeps that person’s own change over what you edited for them.

After a restart

A restart, as an upgrade does, lets go of no assistant. Lumovi keeps who allowed which, and their tokens by their SHA-256 hash, with the sessions, and the clusters made read-only, in the Secret auth.keepSessions makes: see Across restarts.
  • Behind an authenticating proxy, or with single sign-on that impersonates people, assistants carry on at once, with their tokens as they were, and the clusters made read-only stay so.
  • With tokens, or single sign-on that passes people’s own tokens on, Lumovi can’t act as someone until their browser’s back: their token is sealed with a key only its cookie gives. Until they open Lumovi, their assistants get 503, with Retry-After: 30, and the JSON-RPC error Lumovi restarted since alice@example.com last used it: open Lumovi in your browser, and Claude Code picks up where it left off. Once they do, their assistants carry on.
Either way, an assistant’s connection to Lumovi (its MCP session) is new: one that sends its old one gets 404, That session has ended: start a new one., and most assistants open another by themselves. Not kept:
  • Changes waiting for an answer. The assistant asks again.
  • Allowing an assistant, under way. Its code is gone: start again from the assistant.
When each assistant last used Lumovi is kept at most every ten minutes, so Your assistants can show it a little earlier than it was after a restart. With auth.keepSessions: false, nothing of this is kept: a restart lets every assistant go, and they sign in again.

Where assistants go back to

Once someone allows an assistant, their browser goes back to it with a code the assistant swaps for its tokens. So Lumovi sends people back only where an assistant can be theirs:
  • Their own computer: http or https on localhost, 127.0.0.1 or [::1], where an assistant on that computer listens while it signs in.
  • An app, by its own scheme, like my-assistant:. Not javascript:, data:, file:, blob:, about:, vbscript:, ws: or wss:.
  • VS Code’s redirector, https://vscode.dev and https://insiders.vscode.dev, which passes the code on to VS Code on their computer.
  • Sites you name, over https only.
An assistant that runs on people’s computers, or opens an app, needs nothing more. One that runs on a site of its own needs its host named:
LUMOVI_ASSISTANT_REDIRECT_HOSTS takes host names, separated by commas: no scheme, path or port. Anything else stops Lumovi, saying LUMOVI_ASSISTANT_REDIRECT_HOSTS must be host names, like assistant.example.com, not "…". When an assistant registers, Lumovi keeps only the addresses it may send people back to, and refuses one with none left:

In a fleet

In a fleet, an assistant acts in every cluster its person may see, as Lumovi acts for them: impersonating them with Lumovi’s credentials for each cluster, or passing their own token on where the cluster takes it. Rules, yours and people’s, match the fleet’s clusters by name, or by their labels, as the fleet describes them, like env=production.

Below a base path

MCP clients look for how to sign in at the root of the server’s origin first, with Lumovi’s path after the well-known part (RFC 8414 and RFC 9728). With basePath: /lumovi, that’s two addresses outside Lumovi’s path:
Lumovi answers them, and the same below its path. The chart’s ingress routes the two root addresses to Lumovi too, when assistants are on and basePath isn’t /. An ingress, gateway or proxy of your own must route them as well, each exactly:
Your own Ingress
Lumovi answers nothing else outside its path. At its own host, with basePath: /, there’s nothing to add.

Its address

Lumovi tells assistants where everything is, from url when it’s set, or else from the address each request was sent to (and https when the proxy in front sends X-Forwarded-Proto: https). Set url to the address people open, so the addresses assistants get are the ones they can reach, whatever Host header a proxy sends. See The address people open. A call that waits for someone’s approval takes up to about 50 seconds. Give proxies in front of Lumovi a read timeout above a minute, as the WebSocket needs anyway. See Keep the WebSocket open.

Behind an authenticating proxy

Assistants can’t sign in to your proxy: they sign in to Lumovi, with its own tokens. Let these through to Lumovi without signing in, below the base path: Keep authorize, the page where people allow an assistant, and api/assistants/authorize, which it asks, behind the proxy, like every other page: Lumovi needs to know who’s allowing it. See Authenticating proxy for an example. Behind a proxy, Lumovi has no sessions. An assistant someone allows acts as that person as the proxy last named them: each time they open a Lumovi page, their assistants take on what the proxy says about them there, like their groups. When that changed, their assistants’ connections close, and they connect again as it is now. It lasts as long as a session would (auth.sessionHours, 12 hours unless set), from when they allowed it, then the assistant signs in again. Signing out of the proxy doesn’t end it: people disconnect it in Lumovi.

The server’s log

Lumovi’s log (kubectl logs) records each assistant that’s allowed or goes, and what became of every change one asked for:
Lumovi’s audit log records all of this too, with more: who approved each change and after how long, each tool an assistant calls (at the access level), and who allowed or denied which assistant, from where. The cluster’s own audit log records the changes themselves, as the person’s: Lumovi makes them as it makes theirs.

Security

  • OAuth 2.1, as MCP has it. The authorization code flow with PKCE (S256 only), for public clients: assistants have no secrets. They register themselves (RFC 7591), which grants nothing: a registration is only the assistant’s name and where it may be sent back to, and its client ID is that, so it outlives a restart.
  • A person allows each one, on Lumovi’s own page. The page names the assistant, who it would act as, and where it goes back to. Lumovi takes the answer only from its own page, by its origin, as it does sign-ins: another site can’t allow an assistant for someone.
  • Sent back only to the person’s computer, an app, or sites you name. See Where assistants go back to. The address must also match one the assistant registered exactly, and the answer names Lumovi as its issuer (iss). A site you stop naming can no longer be sent back to, even by an assistant that registered with it.
  • Codes and tokens. A code works once, for two minutes, for the assistant and address it was given to, with the PKCE verifier it was made for. Access tokens last an hour. Refresh tokens work once: each renewal gives a new one. One that’s used again within 30 seconds is taken for a retry, and refused; later, within a day, for a copy someone else has, and Lumovi ends what was allowed. After a day, it’s only refused. Codes and tokens that run out are cleared every minute. Assistants sign out at oauth/revoke (RFC 7009).
  • Kept by their hash. What people allowed, and assistants’ access and refresh tokens, are kept for a restart, each token by its SHA-256 hash: whoever reads what’s kept can’t use one. Codes and the changes waiting live in Lumovi’s memory alone. A registration needs no keeping: its client ID holds it. See After a restart. Each pod knows the assistants allowed on it, and their requests carry no cookies to keep them to one pod: so Lumovi runs one replica while assistants are on. The chart refuses replicaCount above 1 with assistants.enabled, saying AI assistants need a single replica (replicaCount 1): ….
  • As long as the session it was allowed in. An assistant acts as its person until they disconnect it, sign out, or their session ends. Its tokens work only at mcp, not for Lumovi’s pages.
  • What an assistant can do is what its person can, through Lumovi’s tools only, as their permissions say, within your rules: read, and ask for the changes those tools make. By default, it sees a Secret’s keys, not its values, and env values that look sensitive are hidden. Its changes are refused under readOnly: true, like everyone’s, and in the clusters its person made read-only.
  • Each person’s own. People see and disconnect only their own assistants, and only their pages show their assistants’ changes.
An assistant that someone allows acts as them. Lumovi sends people back only to their own computer, an app, or the sites you name, so a link to its page made by someone else can’t send their access to a site of that person’s choosing. Name only sites you trust in redirectHosts, and tell your team to allow an assistant only when they’ve just asked for it.

Troubleshooting

Below a base path, the two addresses at the origin’s root don’t reach Lumovi: route them as above. Behind an authenticating proxy, the proxy may be asking assistants to sign in to it: let the paths above through.
Without url, Lumovi gives assistants addresses from the Host header it gets, over https only when the proxy sends X-Forwarded-Proto: https. Set url to the address people open. The same goes when the page for allowing an assistant says “It’s for …, not Lumovi’s …”, or allowing it fails with “Allow assistants from Lumovi’s own page.”
“This request to allow an assistant can’t be answered:”, then why, and “Start again from the assistant.”:
  • It doesn’t say which assistant it is. The client ID isn’t one Lumovi gave, or it goes back to a site that’s no longer in redirectHosts.
  • It goes back somewhere the assistant didn’t name. The address to go back to isn’t one it registered.
  • It asks for something other than a code. Lumovi gives codes only.
  • It has no PKCE code challenge (S256).
  • It’s for …, not Lumovi’s …. It names another MCP server: see above.
redirect_uris must go back to this computer (http://localhost), to an app (its own scheme), or to a site this server allows (LUMOVI_ASSISTANT_REDIRECT_HOSTS). None of the addresses it asked to be sent back to is one Lumovi sends people to. For an assistant that runs on a site of its own, name the site’s host in assistants.redirectHosts. See Where assistants go back to.
Their access ends with the session it was allowed in: when the person signs out, or the session ends (auth.sessionHours). A restart lets go of none, unless auth.keepSessions is false: see After a restart. The log says can no longer use Lumovi when an assistant’s access ends with its session, and was let go: its refresh token was used again when Lumovi ended it because an old refresh token came back.
LUMOVI_ASSISTANTS is on or off, LUMOVI_ASSISTANT_CHANGES is like ask,staging=allow, LUMOVI_ASSISTANT_RULES is a list of rules, and LUMOVI_ASSISTANT_REDIRECT_HOSTS is host names. Lumovi also stops when it can’t read people’s rules where they’re kept: see above. The log says which, and what it got. With the chart, helm install refuses values its schema doesn’t take, and more than one replica while assistants are on. See Configuration.

AI assistants on a server

What your team sees: connecting, allowing, approving.

Security

What Lumovi can do in your cluster, and how to keep it contained.