| Changelog | This release adds a second way for an assistant to identify itself: by a metadata
document it publishes, instead of registering with this app first. That is the way the
current specification prefers, it is the way Claude Code connects, and an administrator
can switch it off. Next to it, a locally running assistant may now come back on the
port it actually got, which is the other half of what kept Claude Code out, and the
page a refused desktop app lands on now names the way that works for it.
Fixed
-
The version this app names in the MCP handshake is now the version that is installed.
It was a fixed string that stayed at the first release, so a connected assistant was
told 0.1.0 whatever version answered. The handshake now derives it from the package
version, the single string every release raises.
-
The switch for the way an app identifies itself by its own published document can now be
set in the administration settings of this app, next to the switch for self registration.
It was only ever a deploy variable, and an installation from the app store never receives
one, so on exactly that kind of installation the switch could not be reached at all. Both
switch descriptions now say what they do to each other: with self registration off, both
ways are closed whatever the second switch says, while switching the second one off leaves
self registration exactly as it is.
Changed
-
The page a user sees when an assistant app asks to be returned to an address it did not
register now names the way in that works for such apps: an app password from the Nextcloud
security settings. Nothing is shared in that case, as before, and the page still says
nothing about which check refused the request or which address was asked for. This closes
what was left open for apps of that shape: the sign in stays refused, and the reader is no
longer left with a refusal and no way forward. The documentation for Cursor and the OAuth
setup carries the same way out and the reason behind it.
-
The documentation now says what a real Claude Code does with this server, because it was
measured against Claude Code 2.1.233: it connects without registering, by publishing its
own metadata document, and it calls tools with the account that signed in. The port it
comes back on was measured too, over four runs, and it was a different one every time,
which is why this app no longer compares that port. What is not new: an administrator who
switches client registration off closes this way with it, and an administrator who keeps a
list of allowed clients keeps it for this way as well. Both were measured on a running
instance, and with registration off the app makes no outbound request at all.
-
The documentation now says what a real Cursor does with this server, because it was
measured against Cursor 3.2.16: the registration goes through since 0.1.2, and the sign
in is still refused, because Cursor asks to be returned to its cursor:// address, which
this app does not register. Nothing is shared in that case and no password page is shown.
Cursor users are pointed at the app password path, and the earlier reading that a client
of this shape is no longer kept out is corrected to what it really is: the attempt now
fails at the sign in instead of at the registration.
-
The documentation now says what Nextcloud 34.0.3 really does with an external app,
because it was measured there: the apps management lists it with its deploy daemon, its
install button reads "Deploy and enable", and "Remove" appears in the row actions once
the app is disabled. On 34.0.2 and earlier the apps management lists no external app at
all, and the occ commands stay the path that works on every version. No promise of a one
click install without the version it was measured on.
- A locally running assistant may now come back on the port it actually got. A native
client publishes a return address without a port and takes whatever free port the
operating system hands it at the moment of the request, and the app used to refuse
that as a mismatch. Scheme, host, path and query are still compared exactly and only
loopback addresses are affected, so
localhost still does not stand in for
127.0.0.1 and a hosted connector gains no freedom at all. This is what kept Claude
Code out.
Added
- An assistant can now connect by publishing its own metadata document instead of
registering with this app first. The address of that document is the name the client
goes by, the app reads it once and keeps the answer for as long as the answer asks for
and at least five minutes. It reads the document again when that window is over, and it
does so while a connection is being made and at no other moment: a running connection,
a token exchange and every single tool call use the information as it was read, so an
app you connected keeps working while the site that publishes its document is
unreachable, and nothing your assistant does can make this app wait on that site. The
other side of that trade, said plainly: a document that was withdrawn or changed does
not reach a connection that already exists. Ending access is a disconnect on the
connections page of this app, or an administrator who removes the app, and both take
effect on the very next request. Everything that holds for a registration holds here
too: only
https return addresses and loopback ones, an inadmissible address is dropped
and the rest kept, the client list of an administrator decides in exactly the same
place, and a client of this kind never holds a shared secret. The app reads such a document from public addresses only, never
from an address inside a network, never more than five kilobytes of it, never longer than
five seconds, never after a redirect and never an image out of it, and a failed read is
not remembered. This is the way the current specification prefers, and it is the way
Claude Code identifies itself.
- The approval page now names the host of the address a client goes by, and it carries a
second warning when the app can only be reached on the computer you are using. The
reason for the warning is worth reading once: an address of that kind says who publishes
the information about an app, and it does not say which program on your own computer
answers on that port. So the page says both of those things, and it does not claim that
anybody confirmed the app.
- A new administrator switch,
NC_MCP_OAUTH_CIMD, for the way a client identifies
itself by the address of its own published metadata document instead of registering.
It is on unless it is switched off, and switching off client registration switches
this off with it: a closed door cannot be walked around through the other spelling.
- A runbook for showing this app to other people,
docs/conference-demo.md: the one time
setup, four stations with every command to copy and what has to be visible at each of
them, a checklist for the ten minutes before, the things it deliberately does not show,
and a recovery table. It was walked once end to end and it carries the measured time of
every step, including the two answers a paused and a disconnected account really get.
Next to it, docs/conference-talk.md, a five minute talk draft whose every claim names
the measurement it comes from.
|