Skip to content

v0.55.11

Choose a tag to compare

@helpcodeai helpcodeai released this 23 Nov 13:30
· 19 commits to main since this release
fc7a1ad

Upgrade note (self-hosted): connection grants on server URLs

What a person allows an AI client while connecting it (one server, the picked servers, or the whole workspace) now also applies on a server's own URL, /mcp/<serverId> (#1849). Before, it only limited the shared /mcp, and membership of the workspace was enough on a server URL.

The default on self-hosted installs is enforce. A client that was allowed one server gets a 401 on another server of the workspace and authorizes again for it. Allowing it adds that server to what the client may reach; its other server URLs keep working. To keep the old behaviour, set MCP_GRANT_SERVER_SCOPE=report (serve and log one line per client, user and server, at most once in ten minutes) or MCP_GRANT_SERVER_SCOPE=off in .env. Details in docs/deployment.md. API keys, static credentials, app tokens and connections without a grant are not affected. Cloud runs in report mode for now.

Connecting an AI client

  • Expired or finished requests get a page, not an error (#1846). After 30 minutes, or after the code was issued, /auth/login, /auth/next and /callback show "This connection request is no longer open" with what to do, instead of a sign-in form that could not work or a raw JSON 400.
  • The page after approving survives a reload (#1846). It is reached by a redirect to GET /auth/next, so reload, Back or a tab restored by a phone no longer lands on "Your session expired". A second press on Continue within five seconds is dropped.
  • Sign-in cookie (#1846). The sign-in cookie used by the callback is bound to the pending authorization and cleared when the code is issued. Someone in the middle of the flow during the upgrade presses Allow once more.
  • Cancel tells the client (#1846): a redirect with error=access_denied, state and iss.
  • Rate limits on these pages show a page instead of a JSON 429 (#1846).
  • A way back to a waiting AI client (#1846, Cloud): a bar on the dashboard when a connection is still waiting, and a way to continue after a sign-up through the e-mail link or the card-trial page.
  • The page after approving has no visible heading, one sentence above the button, and a "Copy & continue" button (#1846).
  • No needless server choice (#1849). In a workspace where at most one server has connectors, "Choose what to connect" is no longer shown to a client that has no grant yet: it gets that server (plus the person's own first server), or the whole workspace when the workspace has no connector yet. A client that already has a grant, and a workspace with connectors that are on no server, still get the page.
  • Organization sign-in on the authorization page, self-hosted (#1849). The single sign-on button is also on the shared /mcp, the return from the provider continues like a password sign-in, and "Require single sign-on" now refuses a password typed on that page. See docs/sso.md, "Connecting an AI client". Cloud is unchanged.
  • Translated pages (#1849). "This connection request is no longer open" and "Too many attempts" follow the browser's language (English, German, Italian, Spanish, Chinese, Japanese, Russian). On Cloud the pages after the sign-in page (e-mail code, server choice, the page after approving) follow it too, where the sign-in page already does. On self-hosted those stay English.

Connectors

  • No retry on a used-up daily quota (#1847). A 429 without Retry-After whose body says a daily or monthly quota is used up is no longer retried, which spent one more request of a quota that was already gone. Per-second and per-minute limits keep their one retry.

Dependencies

  • Sentry SDKs to 11.15.0 in one step for backend and frontend, so the backend runs one SDK copy (#1848).
  • NestJS 11.2.11 and throttler 6.8.0 (#1836), basic-ftp 6.2.6 (#1839), mssql 12.7.16 (#1843).

Upgrade

No database migration. Self-hosted: read the upgrade note above, then docker compose pull and docker compose up -d.