> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mcp-use.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Updates

> New updates and improvements

<Update label="v1.32.0" description="June 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.32.0&title=OAuth%20token%20endpoint%20discovery&date=2026-06&lang=typescript" alt="Release 1.32.0" />
  </Frame>

  ## OAuth token endpoint discovery

  Minor release exposing the resolved OAuth `token_endpoint` and client credentials on `useMcp().authTokens` so backends can persist everything needed for proactive server-side token refresh.

  * **New** (auth): `getTokenEndpoint()` on `BrowserOAuthClientProvider` and `OAuthSessionStore` — resolves and caches the OAuth token endpoint via PRM → authorization-server metadata discovery; persisted in storage for consumers (`#1714`)
  * **New** (auth): `getClientCredentials()` returns stored `client_id` / `client_secret` from Dynamic Client Registration or a static client — most token endpoints require `client_id` on refresh (`#1714`)
  * **Enhancement** (react): `useMcp().authTokens` includes optional `token_endpoint`, `client_id`, and `client_secret` after auth — best-effort resolution that never blocks the auth flow (`#1714`)
  * **Update**: Updated @mcp-use/inspector to v9.0.2
</Update>

<Update label="v1.31.1" description="June 2026">
  ## Servers update & branch-scoped deploy env

  Patch release for workspace dependency alignment; `@mcp-use/cli` minor adds `servers update` and branch-scoped environment and deploy management.

  * **New** (@mcp-use/cli): `mcp-use servers update <id-or-slug>` mutates server config in place (production branch, name, description, build/start commands) without delete/recreate — preserving the URL slug and env vars; `--branch` maps to `productionBranch`; pass an empty string to `--build-command`/`--start-command` to clear overrides (`#1711`)
  * **New** (@mcp-use/cli): `deploy --branch <name>` defaults to the current git branch and scopes `--env`/`--env-file` sync to that branch's preview environment (`#1711`)
  * **Enhancement** (@mcp-use/cli): `servers env list/add/update/rm` gain `--branch` for branch-scoped variables; `update`/`rm` accept a variable KEY (resolved within the branch scope) in addition to a UUID (`#1711`)
  * **Enhancement** (@mcp-use/cli): `deployments restart` gains `--branch <name>` (defaults to the deployment's branch) (`#1711`)
  * **Documentation** (@mcp-use/cli): `servers update` and branch-scoped deploy/env flags in the package README and mcp-apps-builder deploy skill reference (`#1711`)
  * **Update**: Updated @mcp-use/cli to v3.5.0
  * **Update**: Updated @mcp-use/inspector to v9.0.1
</Update>

<Update label="v1.31.0" description="June 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.31.0&title=OAuth%20popup%20reliability%20%26%20credential%20lifecycle&date=2026-06&lang=typescript" alt="Release 1.31.0" />
  </Frame>

  ## OAuth popup reliability & credential lifecycle

  Minor release fixing browser OAuth popup flows that stranded connections in "Authenticating…", preserving credentials across routine React lifecycle churn, and clarifying platform-managed deploy feedback in the CLI. Inspector ships major v9.0.0 tracking the new peer dependency (see inspector changelog).

  * **New**: `runAuthPopup()` exported from `mcp-use/auth` — opener-owned popup runner that settles on a `state`-matched postMessage or BroadcastChannel result, popup close, a `storage` event for persisted tokens, or a timeout; close and timeout paths check storage before declaring cancelled so a missed message with landed tokens still succeeds (`#1703`)
  * **Enhancement**: `runAuthPopup()` keeps message and storage listeners alive for a grace window (default 20s) after `popup.closed` reports true without tokens — tolerates COOP browsing-context-group swaps that sever `window.opener` while the consent window is still open (`#1703`)
  * **Fix** (react): `useMcp().authenticate()` awaits `runAuthPopup()` and owns every terminal transition — success reconnects, cancelled/timeout return to `pending_auth` (re-enabling Authenticate), error fails the connection instead of hanging indefinitely (`#1703`)
  * **Fix** (auth): OAuth callback detects popup flow from stored `flowType` (not only `window.name`) and always broadcasts the result; result payloads carry the originating `state` and `serverUrlHash` so listeners scope to the right server and late failures do not clobber an already-`ready` connection (`#1703`)
  * **Enhancement** (auth): `renderCloseWindowMessage()` accepts an optional `returnUrl` link for tab-mode fallbacks when the popup cannot auto-close (`#1703`)
  * **Fix** (react): `McpClientProvider.removeServer()` no longer clears OAuth storage by default — pass `{ clearCredentials: true }` for explicit logout; `updateServer()` and `useMcp` unmount no longer wipe credentials on routine lifecycle churn (`#1703`)
  * **Fix**: move `chalk` from optionalDependencies to dependencies — statically imported by server logging/lifecycle code, so `pnpm install --no-optional` no longer fails at module load (`#1702`)
  * **Enhancement** (@mcp-use/cli): after `deploy --no-github`, print a note that source lives in a private platform-managed repository and link to the dashboard to view or migrate to GitHub (`#1703`)
  * **Enhancement** (@mcp-use/cli): `servers get` shows `mcp-use-managed (private)` when the connected repo has no exposed GitHub full name (`#1703`)
  * **Fix** (@mcp-use/inspector): delete-server passes `{ clearCredentials: true }` on explicit removal — see inspector changelog (`#1703`)
  * **Update**: Updated @mcp-use/inspector to v9.0.0
  * **Update**: Updated @mcp-use/cli to v3.4.2
  * **Fix**: downgrade chalk to v4 — chalk 5 is ESM-only and kept external by tsup, so the CJS bundle's `require("chalk")` on Node ≥ 22 returned the module namespace instead of the chalk instance, crashing CJS-built backends (e.g. the Next.js template) on startup with `TypeError: import_chalk.default.gray is not a function` (`#1702`)
</Update>

<Update label="v1.30.1" description="June 2026">
  ## Deploy without GitHub, device-code login & widget iframe fixes

  Patch release for `McpUseProvider` zero-height collapse, `useMcp` disconnect/reconnect race fixes, and clearer not-ready errors; `@mcp-use/cli` minor adds tarball deploy without a user GitHub repo and non-interactive device-code login for web onboarding.

  * **Enhancement** (@mcp-use/cli): `mcp-use deploy --no-github` packs the local project into a tarball and uploads it to the platform-managed org so first deploy works without connecting GitHub; redeploys of a linked platform-managed server auto-detect from `connectedRepository.isManaged` (`#1691`)
  * **New** (@mcp-use/cli): `mcp-use login --device-code <code>` authenticates with a pre-approved OAuth device code for non-interactive flows (web onboarding), skipping the browser step (`#1691`)
  * **Fix**: `McpUseProvider` with `autoSize` now notifies zero height when a widget renders `null`, so host iframes collapse instead of keeping the last non-zero height (`#1693`)
  * **Fix** (react): `useMcp` stale `disconnect()` after a URL change or a manual disconnect racing a reconnect no longer nulls `clientRef` or resets hook state to `discovering` when superseded by a newer `connect()` (`connectEpochRef`) — fixes "MCP client is not ready (current state: ready)" and similar races in the inspector and other embeds (`#1528`)
  * **Fix** (client): `BaseMCPClient.closeSession()` only deletes a session slot when it still references the closing session, so a parallel `createSession()` from a reconnect is not wiped — fixes "No active session found" on the next tool call after reconnect (`#1528`)
  * **Enhancement** (react): clearer "MCP client is not ready" errors via `formatMcpNotReadyReason`, distinguishing a missing client (`client disconnected`) from a non-ready state (`#1528`)
  * **Fix** (@mcp-use/inspector): MCP Apps / Apps SDK status labels no longer intercept iframe pointer events  -  see inspector changelog (`#1694`, `#1678`)
  * **Documentation**: tip on `<McpUseProvider />` for widgets that conditionally return `null` with `autoSize`
  * **Documentation**: `deploy --no-github`, `login --device-code`, and dual deploy paths in the CLI reference and Manufact Cloud deployment guide
  * **Update**: Updated @mcp-use/inspector to v8.0.1
  * **Update**: Updated @mcp-use/cli to v3.4.0
</Update>

<Update label="v1.30.0" description="June 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.30.0&title=OpenAPI%20server%20generation%20%26%20MCP%20instructions&date=2026-06&lang=typescript" alt="Release 1.30.0" />
  </Frame>

  ## OpenAPI server generation & MCP instructions

  Minor release adding `MCPServer.fromOpenAPI()` for generating MCP tools from OpenAPI documents, server-wide `instructions` returned during MCP initialization, idle session ref cleanup, and CLI fixes for paginated cloud lists and multi-installation GitHub repo access. Inspector ships major v8.0.0 tracking the new `mcp-use` peer dependency (see inspector changelog).

  * **New**: `MCPServer.fromOpenAPI()`  -  create an MCP server from a parsed OpenAPI document; each included operation registers as a tool with generated input schemas and HTTP request handling (`baseUrl`, bearer token, and static header auth supported); ships with an `openapi` server example against live `api.weather.gov` (`#1583`)
  * **New**: `instructions` option on `MCPServer`  -  server-wide model instructions returned during MCP initialization for cross-tool workflows and constraints that do not belong in individual tool descriptions (`#1601`)
  * **New** (create-mcp-use-app): `starter` and `mcp-apps` templates scaffold with an `instructions` placeholder (`#1601`)
  * **Fix**: idle session cleanup releases registered refs for expired sessions instead of leaving stale registrations behind (`#1624`)
  * **Fix**: escape backslashes before double quotes when converting Zod string literals and enums to TypeScript in `zod-to-ts`, so generated `.d.ts` output stays valid when literal values contain `\` or `"` (`#1661`)
  * **Update**: bump `hono` to `4.12.23` for [CVE-2026-47674](https://github.com/advisories/GHSA-xrhx-7g5j-rcj5)  -  non-canonical IPv6 forms could bypass static deny rules in the `ip-restriction` middleware (`#1663`)
  * **Enhancement** (@mcp-use/cli): `servers list` and `deployments list` handle paginated Cloud API responses with a default page size of 30 and next-page guidance (`#1619`)
  * **Fix** (@mcp-use/cli): deploy repo access check aggregates repos across all GitHub App installations linked to the organization instead of only the first one, so deploys no longer fail with "GitHub App doesn't have access" when the repo belongs to a different installation (`#1629`, MCP-2358)
  * **Documentation**: OpenAPI server generation guide and `examples/server/features/openapi` (`#1583`)
  * **Documentation**: MCP server `instructions` in configuration, quickstart, and installation docs (`#1601`)
  * **Update**: Updated @mcp-use/inspector to v8.0.0
  * **Update**: Updated @mcp-use/cli to v3.3.2
  * **Update**: Updated create-mcp-use-app to v0.14.15
</Update>

<Update label="v1.29.1" description="June 2026">
  ## OAuth transport auth hardening & security dependency bumps

  Patch release hardening OAuth-protected MCP transport routes and resolving open Dependabot security advisories across the TypeScript workspace.

  * **Fix**: Harden authentication coverage for OAuth-protected MCP transport endpoints and advertise path-scoped protected-resource metadata where required by OAuth clients (`#1628`)
  * **Update**: Bump `hono` to `^4.12.18` and raise `pnpm.overrides` floors for `axios`, `protobufjs`, `ws`, `uuid`, `fast-uri`, `postcss`, `langsmith`, `dompurify`, `qs`, `react-router`, `better-auth`, and other flagged transitive deps so the lockfile resolves to patched versions within current majors (`#1615`, `#1626`)
  * **Update**: Updated @mcp-use/inspector to v7.0.1
  * **Update**: Updated @mcp-use/cli to v3.3.1
</Update>

<Update label="v1.29.0" description="June 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.29.0&title=Public%20landing%20pages%2C%20OAuth%20callback%20hardening%20%26%20Supabase%20URL%20override&date=2026-06&lang=typescript" alt="Release 1.29.0" />
  </Frame>

  ## Public landing pages and Ollama chat support

  Minor release adding a public browser landing page for OAuth-protected servers, a Supabase URL override for local/self-hosted instances, Claude UI-resource domain hashing, and a round of OAuth callback and React-provider hardening. Inspector ships a major v7.0.0 with local LLM (Ollama) chat and image tool results (see inspector changelog).

  * **New**: `publicLandingPage` option on `MCPServer`  -  keep the browser landing page (`GET` + `Accept: text/html`) reachable without authentication while the MCP endpoint stays OAuth-protected; ships with a `public-landing-page` server example (`#1550`)
  * **New**: `supabaseUrl` override on `oauthSupabaseProvider`  -  point the provider at a local or self-hosted Supabase (e.g. `http://localhost:54321`) instead of the hosted `https://${projectId}.supabase.co`; set via the `supabaseUrl` config option or `MCP_USE_OAUTH_SUPABASE_URL`, and `projectId` becomes optional when it is set (`#1517`)
  * **New**: Claude UI-resource domain hashing  -  when a Claude client requests a widget/UI resource that declares a `ui.domain`, the server rewrites it to a stable `<sha256-prefix>.claudemcpcontent.com` content domain (`#1599`)
  * **Breaking**: `mcp-use/browser` no longer exports the LangChain agents (`MCPAgent`, `RemoteAgent`, adapters, observability, AI SDK utils)  -  they moved to `mcp-use/browser/agent`, so client bundles that only need `MCPClient` no longer pull in `@langchain/*` (`#1580`)
  * **Fix**: browser OAuth popup callback edge cases in `onMcpAuthorization()`  -  popups whose `window.opener` was severed by COOP / cross-origin redirects now render an in-place close-window message and broadcast over a same-origin `BroadcastChannel("mcp_auth_callback")` so `useMcp` no longer hangs in `authenticating`; repeat invocations in one page load (HMR, strict-mode double render) reuse a cached promise instead of re-exchanging the code (`#1580`)
  * **Fix**: redact OAuth token-verification errors from client responses while logging the details server-side (`#1573`)
  * **Fix**: normalize the issuer trailing slash before appending `/.well-known/oauth-authorization-server` in the DCR-direct metadata proxy, fixing the double-slash 404 against providers like Auth0 (`#1483`)
  * **Fix**: normalize `0.0.0.0` and `::` to `localhost` in the inspector autoConnect URL so OAuth-protected `mcp-use dev` flows match the published resource metadata and pass the SDK's strict origin check (`#1552`)
  * **Fix** (react): `McpClientProvider.removeServer` / `updateServer` no longer trigger React's "cannot update a component while rendering a different component" warning  -  teardown side effects (`disconnect()`, `clearStorage()`) now run after the state updaters instead of inside them (`#1561`)
  * **Fix** (react): treat `name` as a meaningful change in `McpServerWrapper` so alias-only edits propagate through `onUpdate` and the inspector tile heading updates immediately (`#1539`)
  * **Fix**: pin published dependency versions in `mcp-use`'s `package.json` (`#1610`)
  * **New** (@mcp-use/cli): `mcp-use client screenshot` auto-sizes captures to the widget's natural rendered dimensions when `--width`/`--height` are omitted, and now handles external MCP server URIs like `ui://excalidraw/mcp-app.html` (flattened to `<server>-<name>`) that previously broke the preview route (`#1579`)
  * **Fix** (@mcp-use/cli): widget assets resolve correctly when `MCP_URL` is set at build time  -  Vite `base` and `window.__getFile` now point at `${MCP_URL}/mcp-use/widgets/{widget}/`, matching the production static route (`#1560`)
  * **Fix** (create-mcp-use-app): move the `mcp-apps` template's pnpm settings into `pnpm-workspace.yaml` so scaffolded apps install cleanly under pnpm 10 (`#1602`)
  * **Enhancement** (@mcp-use/inspector): local LLM provider (Ollama) chat, MCP image tool results forwarded as real image content, an MCP-server reconnect banner, and widget fullscreen / display-mode fixes (see inspector changelog)
  * **Documentation**: clarify the "Inspector: Skipped in production" log and the `start` CLI reference so users rebuild with `mcp-use build --with-inspector` instead of passing the flag to `mcp-use start` (`#1505`)
  * **Chore**: prune 187 unused exports and delete unused source files flagged by Knip across the workspace, and enforce Knip in CI (`#1511`, `#1476`, `#1510`, `#1512`)
  * **Update**: Updated @mcp-use/inspector to v7.0.0
  * **Update**: Updated @mcp-use/cli to v3.3.0
  * **Update**: Updated create-mcp-use-app to v0.14.13
</Update>

<Update label="v1.28.0" description="May 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.28.0&title=Node%20OAuth%2C%20CLI%20client%20redesign%20%26%20widget%20screenshot&date=2026-05&lang=typescript" alt="Release 1.28.0" />
  </Frame>

  ## Node OAuth, CLI client redesign & widget screenshot

  Minor release adding a Node OAuth client provider for agentic CLI flows, a redesigned `mcp-use client` surface that drops the implicit "active session" in favor of explicit server names, and a `mcp-use client screenshot` command for capturing MCP Apps widgets via headless Chrome.

  * **New**: `mcp-use/auth/node` entrypoint — `NodeOAuthClientProvider`, `FileKVStore`, the `KVStore` type, and re-exports of the SDK's `auth` and `UnauthorizedError`; the provider owns a localhost OAuth loopback (preferred port 33418, walks up to 33427 on conflict) and persists tokens, client info, and code verifiers to `~/.mcp-use/oauth/<urlHash>/` with `0o600` perms and atomic-rename writes (`#1452`)
  * **Refactor**: `OAuthSessionStore` extracted from `BrowserOAuthClientProvider` — platform-neutral helper parameterised over a `KVStore` that owns token storage, JWT-expiry-driven refresh (with deduplication), client-info validation, code-verifier handling, and authorization-state persistence; the browser provider now delegates the SDK `OAuthClientProvider` methods to it, no behavior change (`#1451`)
  * **Fix**: `forceRefresh()` now actually exchanges the refresh token via `OAuthSessionStore.forceRefresh()` instead of zeroing `access_token` and re-reading via `tokens()` (which gated the refresh path on a truthy `access_token` and silently returned stale tokens); the loopback failure page also HTML-escapes `error` and `error_description` (`#1452`)
  * **Fix**: handle the SDK-initiated OAuth redirect on 401 in CLI `connect` — `NodeOAuthClientProvider` exposes `hasPendingFlow` so orchestrators skip a second `auth()` call (which would throw "an authorization is already in progress"), and `client connect` recognises the rewrapped 401 from `HttpConnector` (plain `Error` with `code = 401`) (`#1452`)
  * **Enhancement**: server startup prints a one-line `mcp-use client connect <url>` hint in dim gray after the listening banner, pointing devs at the new CLI client flow (`#1452`)
  * **Documentation**: `MCPServer.tool()` JSDoc `@example` blocks now include the matching `import { ... } from "mcp-use/server"` line and name the response helpers (`text`, `object`, `image`, `markdown`, `html`, `error`, `widget`, …); the `create-mcp-use-app` blank template's commented tool/resource/prompt blocks gain the same import breadcrumbs (`#1474`)
  * **New** (@mcp-use/cli): `mcp-use client screenshot` — captures a PNG of a tool's rendered MCP Apps widget by driving the user's system Chrome / Chromium / Edge / Brave over CDP at the new inspector `/preview/:view` route. Saved-server form (`mcp-use client <name> screenshot --tool <tool>`) reuses the OAuth from `client connect`; ad-hoc form (`mcp-use client screenshot --mcp <url>`) accepts repeatable `-H/--header "Key: Value"` for static bearer tokens. The OAuth token never enters the browser — the CLI calls the tool server-side and injects the widget bundle via CDP `Page.addScriptToEvaluateOnNewDocument`. `--device-scale-factor <n>` captures high-DPI PNGs (bounded to (0, 4]); `--cdp-url <ws|wss>` connects to a hosted Chromium endpoint (e.g. Notte) instead of spawning local Chrome, using `Target.setAutoAttach` to satisfy providers that forbid explicit `Target.attachToTarget` (`#1432`, `#1477`, `#1491`, `#1497`, `#1498`)
  * **Enhancement** (@mcp-use/cli): `mcp-use client` redesign — every per-server command takes the server name as a positional (`mcp-use client <name> <scope> <action>`). `--session` and `--name` flags removed; `client sessions list` → `client list`; `client sessions switch` and `client disconnect --all` removed; new `client remove <name>` drops a saved server (revokes OAuth tokens unless a sibling saved entry shares the URL); saved entries renamed from "clients" to "servers" in user-facing copy. Existing `cli-sessions.json` keeps working; the now-unused `activeSession` field is ignored on load (`#1494`)
  * **Enhancement** (@mcp-use/cli): widget auto-capture on `client <name> tools call` is now opt-in via `--screenshot` (the previous `--no-screenshot` opt-out is removed) — when a tool declares a UI resource and the flag is omitted, the CLI prints a hint; `--screenshot-output` and `--screenshot-device-scale-factor` imply `--screenshot` (`#1500`)
  * **Enhancement** (@mcp-use/cli): borderless aligned-columns tables (gh/kubectl style) for `client {tools,resources,prompts} list` and `client list` — `MODE` column (read-only/write/destructive from MCP annotations) and `ARGS` column (required/total); non-TTY stdout emits tab-separated values with no headers/ANSI so shell pipelines and agents can parse output directly (`#1452`)
  * **Enhancement** (@mcp-use/cli): `client tools call` / `client prompts get` accept `key=value` positionals coerced from the input schema; `key:=<json>` (httpie-style) forces JSON for nested values; the legacy single-JSON-object form still works (`#1452`)
  * **Fix** (@mcp-use/cli): `client screenshot` errors out with exit 1 and prints the tool schema when the target tool declares required arguments but none are passed, instead of silently writing a blank PNG (`#1499`)
  * **Fix** (@mcp-use/cli): `client tools call` exits non-zero when the tool returns `isError: true`, labels the error content explicitly (red `Error details:`), and surfaces `structuredContent` on failure so headless agents can distinguish success from failure (`#1452`)
  * **Fix** (@mcp-use/cli): suppress duplicate `TextContent` blocks when a tool returns `structuredContent` (per MCP spec, servers serialize the same JSON into both for backwards compatibility) — structured JSON is now treated as the canonical form (`#1452`)
  * **Fix** (@mcp-use/cli): `client` subcommands close their MCPClient + transport and exit cleanly so headless agents don't hang on the open HTTP/SSE socket; `interactive`/`subscribe` are unchanged (`#1452`)
  * **Fix** (@mcp-use/cli): OAuth flow no longer auto-opens a browser — the CLI always prints the authorization URL and waits on the loopback callback. Scripts and CI no longer get surprise pop-ups; agents see the URL on stderr. `deploy --open` and the `auth login` flow are unchanged (`#1452`, `#1494`)
  * **Fix** (@mcp-use/cli): reject saved-server names that collide with per-server scopes (`tools`, `resources`, `prompts`, `auth`, `disconnect`, `interactive`) or reserved subcommands (`connect`, `list`, `remove`, `help`, `screenshot`); `client connect` refuses them up front with a suggested rename (`#1494`, `#1497`)
  * **Fix** (@mcp-use/cli): `mcp-use client <name>` against an unknown saved server prints a "not found — try `client connect <name> <url>`" message (plus `client list`) instead of falling through to per-server help (`#1494`)
  * **Fix** (@mcp-use/cli): tests no longer touch the developer's real `~/.mcp-use` directory — `session-storage.test.ts` mocks `node:os.homedir` and `cli-integration.test.ts` spawns the CLI with `HOME`/`USERPROFILE` set to per-test temp dirs (`#1494`)
  * **Update** (@mcp-use/cli): rename "mcp-use cloud" to "Manufact cloud" in `mcp-use login --help` and the body banner, matching the existing wording in `logout` and `deploy` (`#1488`)
  * **Enhancement** (@mcp-use/inspector): new `ViewPreview` component and `/preview/:view` route backing the `mcp-use client screenshot` pipeline, dark-mode aware scrollbars (see inspector changelog)
  * **Fix**: resolved duplicate exports flagged by Knip — annotated the `Tel` alias for `Telemetry` with `@alias`, unified the canonical source path for telemetry exports in `src/telemetry/index.ts` (Node default, tsup substitutes the browser implementation in browser bundles), and removed the redundant default export of `JsonRpcLoggerView` in `@mcp-use/inspector`; named exports unchanged (`#1453`)
  * **Chore**: drop unused dependencies and devDependencies flagged by `knip` across the workspace; declare `jsdom` and `@vitest/coverage-v8` as explicit devDependencies on `mcp-use` (`@vitest/coverage-v8` pinned to `~4.0.18` to match `vitest`) (`#1458`, `#1454`)
  * **Documentation**: refreshed `mcp-use screenshot` and `mcp-use client` CLI references in the docs site (`#1488`)
  * **Update**: Updated @mcp-use/inspector to v6.0.0
  * **Update**: Updated @mcp-use/cli to v3.2.0
  * **Update**: Updated create-mcp-use-app to v0.14.12
</Update>

<Update label="v1.27.1" description="May 2026">
  ## ChatGPT App metadata & inspector MCP App width fix

  Patch release surfacing tool `outputSchema` in `tools/list`, adding tool annotations and `outputSchema` to the `create-mcp-use-app` mcp-apps template, and fixing MCP App width in inspector chat.

  * **Fix**: Forward `outputSchema` from tool definitions into the MCP SDK so `tools/list` exposes output JSON Schema for clients  -  required for ChatGPT App Store metadata validation (`#1466`)
  * **New** (create-mcp-use-app): MCP tool `annotations` (`readOnlyHint`, `openWorldHint`, `destructiveHint`) and widget `outputSchema` in the `mcp-apps` template; tool annotations in the `starter` template; MCP Apps docs aligned with ChatGPT App Store metadata expectations (`#1466`)
  * **Fix** (@mcp-use/inspector): MCP App width is pinned in chat  -  only height responds to widget-reported sizes, so the chat panel no longer collapses when a widget reports narrower content (`#1462`) (see inspector changelog)
  * **Documentation**: Clerk and WorkOS OAuth example READMEs now link to live pages  -  Clerk Dashboard `/sign-in` (200 instead of 404) and WorkOS `/docs/authkit` (`#1470`)
  * **Update**: Updated @mcp-use/inspector to v5.0.1
  * **Update**: Updated @mcp-use/cli to v3.1.4
  * **Update**: Updated create-mcp-use-app to v0.14.11
</Update>

<Update label="v1.27.0" description="May 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.27.0&title=Clerk%20OAuth%2C%20pre-registered%20client%20IDs%20%26%20inspector%20providers&date=2026-05&lang=typescript" alt="Release 1.27.0" />
  </Frame>

  ## Clerk OAuth, pre-registered client IDs & inspector providers

  Minor release adding a Clerk OAuth provider, pre-registered OAuth client credentials for proxy-mode flows, OpenRouter and OpenAI-compatible providers in the Inspector chat, browser-side telemetry env-var honoring, and a CLI fix for env propagation on redeploys.

  * **New**: `oauthClerkProvider` for using Clerk as an OAuth authorization server in MCP servers  -  DCR-direct mode where MCP clients register and authenticate directly with Clerk and the server verifies Clerk-issued JWTs via JWKS; default scopes are `["profile", "email", "offline_access"]` and `openid` is excluded by default because it requires OIDC to be explicitly enabled in the Clerk Dashboard (`#1429`)
  * **New**: Pre-registered OAuth client credentials in proxy mode  -  `UseMcpOptions` / `McpServerOptions` accept `oauth: { clientId?, clientSecret?, scope? }`; with `clientId` set, `BrowserOAuthClientProvider` returns it from `clientInformation()` so the SDK skips Dynamic Client Registration (required for providers like Slack or WorkOS that strip `registration_endpoint` from metadata); with `clientSecret` set, the SDK auto-switches token-endpoint auth from `none` to `client_secret_basic`/`client_secret_post` (`#1400`)
  * **Fix**: `MCP_USE_ANONYMIZED_TELEMETRY=false` now disables the in-browser `useMcp` `posthog-js` init  -  the inspector server mirrors the env var into a per-page runtime flag (`window.__MCP_USE_ANONYMIZED_TELEMETRY__`) before the client bundle runs, so a single env var disables every telemetry path (Node-side, server-side proxy, and browser); the flag is page-scoped so unsetting the env var fully restores defaults on the next page load (`#1443`)
  * **Fix** (@mcp-use/cli): `mcp-use deploy --env`/`--env-file` propagates env vars on redeploys  -  previously only forwarded on initial server creation, now upserts each entry against the env-variables API (`PATCH` for existing keys, `POST` for new keys) before triggering the deployment (`#1433`)
  * **Enhancement** (@mcp-use/inspector): OpenRouter and OpenAI-compatible providers in chat configuration; `Client ID` / `Client Secret` / `Scope` fields in the Authentication dialog (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v5.0.0
  * **Update**: Updated @mcp-use/cli to v3.1.3
</Update>

<Update label="v1.25.2" description="April 2026">
  ## Debug log tiers & widget dev first render

  Patch release adding tiered `MCP_DEBUG_LEVEL` logging for MCP servers, pre-warming Vite widget entries in dev to avoid first-render 504s, and Inspector 3.0.2 (see inspector changelog).

  * **New**: `MCP_DEBUG_LEVEL` environment variable on MCP servers  -  `info` (default), `debug`, or `trace`  -  tiered framework logging with clearer precedence than legacy truthy `DEBUG` (`#1430`)
  * **Fix**: Widget dev server pre-warms Vite entries before tool registration so the first widget render does not time out with HTTP 504 (`#1425`)
  * **Fix** (@mcp-use/inspector): Command palette e2e tests updated for the Settings dropdown trigger (`#1428`) (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v3.0.2
  * **Update**: Updated @mcp-use/cli to v3.1.2
  * **Update**: Updated create-mcp-use-app to v0.14.10
</Update>

<Update label="v1.25.1" description="April 2026">
  ## OAuth error handling, Supabase endpoints & CLI bundling

  Patch release fixing OAuth error redirects, Supabase OAuth 2.1 endpoints, CLI bundling for Node ESM, bun build compatibility, `create-mcp-use-app` dot-directory init, and Inspector 3.0.1 (see inspector changelog).

  * **Fix**: OAuth callback redirects back to the inspector with error parameters when authorization fails (user denies, server error) instead of surfacing a raw error page with stack traces; the inspector surfaces these as a persistent toast (`#1381`)
  * **Fix**: `SupabaseOAuthProvider` endpoint getters now return OAuth 2.1 paths (`/auth/v1/oauth/authorize`, `/auth/v1/oauth/token`) instead of the legacy `/auth/v1/authorize` and `/auth/v1/token` (`#1422`)
  * **Fix** (@mcp-use/cli): `mcp-use build` is non-fatal under the bun runtime  -  detects bun, skips `tsx/esm/api` type-generation with a warning, wraps the build in try/catch, and runs `tsc` via `process.execPath` instead of hardcoded `node` (`#1382`)
  * **Fix** (@mcp-use/cli): bundle each server entry with esbuild (`bundle: true`, `packages: "external"`) so extensionless relative TypeScript imports resolve under plain Node ESM without `ERR_MODULE_NOT_FOUND` (`#1357`)
  * **Fix** (create-mcp-use-app): allow `.` as project name to initialize in the current directory; errors if the directory is not empty (`#1413`)
  * **Enhancement** (@mcp-use/inspector): OAuth single-tab redirect, session-storage reconnect, Hono duck-type detection, widget z-index, free-tier embed UI, managed LLM embed chrome (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v3.0.1
  * **Update**: Updated @mcp-use/cli to v3.1.1
  * **Update**: Updated create-mcp-use-app to v0.14.10
</Update>

<Update label="v1.25.0" description="April 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.25.0&title=OAuth%20DCR-direct%2C%20Next.js%20drop-in%20%26%20CLI%203.1&date=2026-04&lang=typescript" alt="Release 1.25.0" />
  </Frame>

  ## OAuth DCR-direct, Next.js drop-in & CLI 3.1

  Minor release refactoring built-in OAuth providers to DCR-direct by default, adding a Next.js MCP drop-in via `--mcp-dir`, CLI 3.1 with better org and session handling, and Inspector 3.0 (see inspector changelog).

  * **New**: `oauthProxy` helper for building proxy-mode providers (Google, GitHub, or any upstream authorization server that does not support Dynamic Client Registration)  -  complements the new DCR-direct default (`#1321`)
  * **New**: `jwksVerifier` helper for JWKS-based token verification inside custom providers (`#1321`)
  * **New**: Auth0 OAuth proxy example under `examples/server/oauth/auth0-proxy` demonstrating the new proxy pattern
  * **Update**: Built-in providers (Auth0, WorkOS, Supabase, Keycloak, Better Auth) now only support DCR-direct  -  clients talk to upstream authorization servers directly, and provider configurations no longer accept `clientId` / `clientSecret` (`#1321`)
  * **Update**: `verifyToken` is now a required function on custom providers (`#1321`)
  * **Fix**: OAuth `authenticate()` preserves the pathname component (for example `/api/auth`) when the authorization server uses a `basePath`, instead of collapsing the URL to its origin (`#1360`)
  * **New**: Next.js drop-in  -  `mcp-use dev/build/start --mcp-dir <dir>` lets a Next.js app colocate an MCP server (default `src/mcp/`), share `@/*` aliases, Tailwind, and the app's component library; the CLI auto-shims Next.js server-runtime modules (`server-only`, `client-only`, `next/cache`, `next/headers`, `next/navigation`, `next/server`) when `next` is detected, loads the Next.js env cascade in the MCP server process, and widget builds fail fast when a widget transitively imports a server-only module (`#1332`)
  * **New** (@mcp-use/cli): `mcp-use login --org <slug|id|name>` for non-interactive org selection; login fails fast without a TTY and no `--org` instead of hanging on stdin (`#1379`)
  * **New** (@mcp-use/cli): ORG column in `mcp-use deployments list` output (`#1378`)
  * **Fix** (@mcp-use/cli): `mcp-use deploy --org <org>` now respects the flag when `.mcp-use/project.json` links to a server in a different org  -  CLI warns and creates a new server in the requested org instead of silently redeploying to the linked one (`#1380`)
  * **Fix** (@mcp-use/cli): `mcp-use login` validates the stored API key against the backend before short-circuiting with "already logged in"; expired or revoked keys drop into device-auth automatically, and authenticated commands (`whoami`, `org`, `servers`, `deployments`, `env`) funnel 401s through a shared handler with a "session expired  -  run `npx mcp-use login`" hint (`#1383`)
  * **Fix** (@mcp-use/cli): `mcp-use start` auto-discovers an available port when the default port is in use (`#1377`)
  * **Enhancement** (@mcp-use/inspector): Inline elicitation in the chat thread, Open Graph and Twitter Card meta tags on the hosted inspector (see inspector changelog)
  * **Enhancement** (create-mcp-use-app): Only copy the `mcp-apps-builder` skill into new projects; skip the deprecated `mcp-builder` and `chatgpt-app-builder` skills (`#1375`)
  * **Documentation**: New `oauth-proxy` provider guide and refactored provider pages (Auth0, WorkOS, Supabase, Keycloak, Better Auth, custom); new Next.js drop-in guide; updated CLI reference
  * **Update**: Updated @mcp-use/inspector to v3.0.0
  * **Update**: Updated @mcp-use/cli to v3.1.0
  * **Update**: Updated create-mcp-use-app to v0.14.9
</Update>

<Update label="v1.24.2" description="April 2026">
  ## Landing deeplinks, `colorScheme` & Inspector 2.2

  Patch release adding optional `colorScheme` on `McpUseProvider`, a server landing deeplink to the hosted inspector, stronger deploy behavior in `@mcp-use/cli`, cloud server environment-variable commands, and Inspector 2.2 (see inspector changelog).

  * **New**: `colorScheme` on `McpUseProvider` (default `false`)  -  when `false`, `ThemeProvider` does not set `color-scheme` on the document root so transparent iframe backgrounds stay transparent; opt in with `true` for native scrollbars / `light-dark()` in widgets
  * **Fix**: Server landing routes include a deeplink to open the MCP server in the hosted manufact inspector
  * **New** (@mcp-use/cli): `mcp-use servers env` subcommands to list, create, update, and delete environment variables on cloud servers (`#1372`)
  * **Fix** (@mcp-use/cli): `mcp-use deploy` surfaces failures from mutating git commands (init, commit, push), normalizes the default branch to `main` before push, verifies a commit exists, and shell-quotes commit messages (`#1354`)
  * **Update** (@mcp-use/cli): Deploy treats HTTP 401 as an invalid or expired API session and prompts re-authentication instead of misreporting GitHub App connection state (`#1356`)
  * **Enhancement** (@mcp-use/inspector): Hosted chat configuration, copy/export chat, inspector LLM stack without LangChain, OAuth popup close page, and related UX (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v2.2.0
  * **Update**: Updated @mcp-use/cli to v3.0.2
</Update>

<Update label="v1.24.1" description="April 2026">
  ## OAuth fetch cleanup when switching transports

  Patch release fixing OAuth in the embedded inspector when switching from Via Proxy to Direct  -  `BrowserOAuthClientProvider` restores `window.fetch` when `useMcp` unmounts so a stale proxy interceptor cannot break direct flows.

  * **Fix**: Restore the `window.fetch` interceptor installed by `BrowserOAuthClientProvider` when `useMcp` unmounts  -  resolves "Protected resource does not match" after switching from Via Proxy to Direct
  * **Fix** (@mcp-use/inspector): Same fetch lifecycle in the inspector client (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v2.1.0
  * **Update**: Updated @mcp-use/cli to v3.0.1
</Update>

<Update label="v1.24.0" description="April 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.24.0&title=OAuth%20scopes%2C%20telemetry%2C%20CLI%203%20%26%20device%20flow&date=2026-04&lang=typescript" alt="Release 1.24.0" />
  </Frame>

  ## OAuth scopes, telemetry & CLI 3

  Minor release for `mcp-use` with OAuth scope customization, telemetry, sub-path OAuth routing, and a Generative-AI JSON Schema fix; major `@mcp-use/cli` release with device-flow auth and manufact API alignment; Inspector 2.0 (see inspector changelog).

  * **New**: Configurable OAuth scopes  -  `scopesSupported` on shared OAuth config and built-in providers
  * **Fix**: `CustomProviderConfig` matches documented fields (`jwksUrl`, `scopesSupported`, `userInfoEndpoint`, `clientId`, `clientSecret`, `mode`, `audience`); optional `getClientId()`, `getUserInfoEndpoint()`, and `getAudience()` on `OAuthProvider`; OAuth routes use those accessors instead of unsafe casts
  * **New**: Telemetry support with browser and Node implementations and related dependency updates
  * **New**: `defaultCallbackUrl` on `McpClientProvider` so OAuth redirect URLs stay correct when the UI is mounted under a path basename (for example embedded inspector at `/inspector`)
  * **Fix**: Google provider tool schemas  -  use `z.object({}).catchall()` instead of `z.record()` so emitted JSON Schema omits `propertyNames`, which Google's API rejects
  * **Fix**: Windows path handling in server and tooling code paths
  * **Enhancement**: Several internal log lines moved from info to debug to reduce noise in normal operation
  * **Fix** (@mcp-use/inspector): OAuth callback URL when the inspector basename is `/inspector`; thinking indicator after streamed assistant messages; tab persistence across refresh (see inspector changelog)
  * **New** (@mcp-use/cli): Device-flow authentication for login and session refresh against the cloud
  * **Update** (@mcp-use/cli): CLI refactored to new manufact cloud APIs across deploy, auth, organization, and server commands
  * **Fix** (@mcp-use/cli): Deployment flow when linking GitHub repositories (`#1331`)
  * **Update**: Updated @mcp-use/inspector to v2.0.0
  * **Update**: Updated @mcp-use/cli to v3.0.0
</Update>

<Update label="v1.23.1" description="April 2026">
  ## Embedded inspector without LangChain

  Patch release fixing embedded inspector when the agent graph is not installed, and clearer diagnostics when mounting the inspector UI fails.

  * **Fix**: Export `telFetch` from `mcp-use/telemetry/tel-fetch` (tsup build) so inspector server code does not import the root `mcp-use` entry, which eagerly loads the agent stack  -  fixes embedded inspector when `langchain` is not installed
  * **Fix**: Log inspector UI mount failures in development or when `MCP_USE_DEBUG` is set (production remains quiet)
  * **Fix** (@mcp-use/inspector): `telFetch` import uses the telemetry subpath (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v1.0.1
  * **Update**: Updated @mcp-use/cli to v2.21.4
</Update>

<Update label="v1.23.0" description="April 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.23.0&title=Better%20Auth%2C%20Server%20Metadata%20%26%20Inspector%201.0&date=2026-04&lang=typescript" alt="Release 1.23.0" />
  </Frame>

  ## Better Auth, server metadata & Inspector 1.0

  Minor release adding a Better Auth OAuth provider, metadata-only client updates, dependency hardening, and a major Inspector release.

  * **New**: Better Auth OAuth provider for MCP servers  -  see authentication docs and `examples/server/oauth/better-auth`
  * **New**: `updateServerMetadata()` on `McpClientProvider` updates display metadata without reconnecting; connection-affecting changes still use `updateServer()`
  * **Fix**: Windows-compatible ESM import paths for dev and tooling
  * **Enhancement** (@mcp-use/inspector): Stream protocol in chat, `disabledTools`, editable server aliases with shared display-name resolution, tab persistence and URL sync, tool-invocation serialization and screenshots (see inspector changelog)
  * **Update**: Vite 8.0.5, Hono 4.12.12, `@hono/node-server` 1.19.13 across the TypeScript workspace
  * **Fix**: Tighter `pnpm` overrides and lockfile refresh for `pnpm audit`; `lodash` override in the mcp-apps scaffold template for standalone installs
  * **Documentation**: `updateServerMetadata` in the `useMcpClient` API reference; authentication overview links to the Better Auth guide
  * **Update**: Updated @mcp-use/inspector to v1.0.0
  * **Update**: Updated @mcp-use/cli to v2.21.3
  * **Update**: Updated create-mcp-use-app to v0.14.8
</Update>

<Update label="v1.22.3" description="March 2026">
  ## Inspector dependency & bundling alignment

  Patch release adjusting how `@mcp-use/inspector` depends on `mcp-use` so bundling and shared types both work.

  * **Fix** (@mcp-use/inspector): Restore `mcp-use` as both a `dependency` and `peerDependency`  -  needed to bundle non-React subpaths (`mcp-use/auth`, `mcp-use/browser`) with transitive deps (e.g. LangChain), while `peerDependency` keeps `mcp-use`/`react` types aligned with the host app
  * **Update**: Updated @mcp-use/inspector to v0.26.1
  * **Update**: Updated @mcp-use/cli to v2.21.2
  * **Update**: Updated create-mcp-use-app to v0.14.7
</Update>

<Update label="v1.22.2" description="March 2026">
  ## Type Compatibility & Peer Dependency Alignment

  Patch release focused on pnpm peer-variant type compatibility, inspector dependency alignment, and template dependency cleanup.

  * **Fix**: Resolved TypeScript nominal type conflicts when `mcp-use` is installed as multiple pnpm peer-variant copies  -  moved internal client-init tracking off class surface to avoid `.d.ts` incompatibilities
  * **Fix**: Reverted `stripInternal`/`@internal` approach that degraded downstream tool handler type inference; keeps type safety while preserving consumer inference behavior
  * **Fix** (@mcp-use/inspector): Moved `mcp-use` from `dependencies` to `peerDependencies` so consumers share a single `mcp-use` type instance (addresses TS2322 duplicate-type scenarios)
  * **Update** (@mcp-use/inspector): Upgraded `@mcp-ui/client` to v7; replaced removed legacy renderer path with sandboxed iframe handling for `ui://` resources and removed remote-dom usage
  * **Update**: Updated @mcp-use/inspector to v0.26.0
  * **Update**: Updated @mcp-use/cli to v2.21.1
  * **Update**: Updated create-mcp-use-app to v0.14.7
</Update>

<Update label="v1.22.1" description="March 2026">
  ## CLI Organizations, Non-Interactive Deploy & Typed Middleware

  Patch release with CLI org management, non-interactive deployments, improved middleware/tool context propagation, typed middleware ergonomics, and ErrorBoundary customization.

  * **New** (@mcp-use/cli): Organization commands  -  `mcp-use org list`, `mcp-use org switch`, `mcp-use org current`; login prompts for org selection when multiple; `whoami` shows active organization; org preference persisted in `~/.mcp-use/config.json`
  * **Enhancement** (@mcp-use/cli): Deploy to a specific org with `mcp-use deploy --org <slug-or-id>`; all org-scoped API requests include `x-profile-id`
  * **New** (@mcp-use/cli): Non-interactive deploy with `-y` / `--yes`  -  skips confirmations; replaces “Press Enter” with polling; errors if not logged in (requires `mcp-use login`)
  * **Fix**: Context propagation into tool handlers  -  singleton AsyncLocalStorage via `globalThis`, safe Hono context extraction, and forwarding middleware `ctx.auth` / `ctx.state` into enhanced tool context
  * **Fix**: `ctx.auth` typing is now `AuthInfo | undefined` when OAuth isn’t configured (enables `if (!ctx.auth) ...` guards)
  * **Enhancement**: Typed MCP middleware context  -  `server.use("mcp:tools/call" | "mcp:resources/read" | "mcp:prompts/get", ...)` now narrows `ctx.params` to method-specific shapes; `mcp:*` remains generic
  * **Enhancement**: `outputSchema` tools can return response helpers (`text()`, `markdown()`, `mix()`, etc.) without type errors
  * **Enhancement**: `server.resourceTemplate()` supports an optional Zod `schema` to type `params` as `z.infer<schema>`
  * **Enhancement**: `ErrorBoundary` now supports `fallback` (node or `(error) => node`) and `onError` for reporting (default UI unchanged)
  * **Update**: Updated @mcp-use/inspector to v0.25.1
  * **Update**: Updated @mcp-use/cli to v2.21.0
</Update>

<Update label="v1.22.0" description="March 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.22.0&title=Vite%208%2C%20MCP%20Middleware%20%26%20Model%20Context&date=2026-03&lang=typescript" alt="Release 1.22.0" />
  </Frame>

  ## Vite 8, MCP Middleware & Model Context

  Minor release with Vite 8 across tooling, MCP operation middleware, files and model context APIs, elicit and adapter fixes, and Inspector tunnel controls.

  * **New**: MCP operation-level middleware  -  `server.use("mcp:*", ...)` and specific patterns (`mcp:tools/call`, `mcp:tools/list`, `mcp:resources/read`, `mcp:resources/list`, `mcp:prompts/get`, `mcp:prompts/list`) with typed `MiddlewareContext` (`method`, `params`, `session`, `auth`, `state`)
  * **New**: `useFiles` React hook with `isSupported` and `modelVisible` for file attachments; `ModelContext` component and `modelContext` imperative API for server-side model context injection
  * **Enhancement**: Vite 8.0 with Rolldown bundler and `@vitejs/plugin-react` 6 across packages, examples, and CLI/inspector tooling
  * **Enhancement**: Conformance client  -  pass `reconnectionOptions` so SDK-level SSE reconnection behaves correctly when `autoReconnect` is disabled
  * **Fix**: Elicit  -  map `result.content` to `result.data` for Zod validation; spec-compliant clients use `content`; backward-compatible fallback to `data`
  * **Fix**: LangChainAdapter  -  tool name collisions when exposing resources/prompts as tools; `reserveName` resolves prefixed names with a numeric suffix when needed; prompt names sanitized like resource names
  * **Enhancement** (@mcp-use/inspector): Start/stop the `mcp-use dev` tunnel from the Inspector (see inspector changelog)
  * **Update**: Updated @mcp-use/inspector to v0.25.0
  * **Update**: Updated @mcp-use/cli to v2.20.0
</Update>

<Update label="v1.21.5" description="March 2026">
  ## Zod Peer Dep, Esbuild Build & Windows Fix

  Patch release with Zod peer dependency, esbuild transpilation, TypeGen Zod v4 fixes, and Windows path handling.

  * **Fix**: Move zod from dependencies to peerDependencies  -  prevents duplicate type trees when users have a different Zod v4 version; avoids type errors or OOM during `mcp-use build`
  * **Fix**: TypeGen crash with Zod v4 enum schemas  -  `zod-to-ts` now handles Zod v4 `ZodEnum` (`_def.entries`), `ZodDiscriminatedUnion`; CLI reports success/failure of type generation instead of silently failing
  * **Fix** (@mcp-use/cli): Windows crash in `mcp-use dev` and `mcp-use generate-types`  -  use `file://` URL in tsImport instead of raw OS paths (fixes `ERR_UNSUPPORTED_ESM_URL_SCHEME`)
  * **Fix**: Dependabot security alerts  -  updated flatted, tar, hono, express-rate-limit, dompurify, minimatch, rollup, form-data, lodash, and other transitive deps
  * **Enhancement** (@mcp-use/cli): `mcp-use build` uses esbuild for transpilation instead of tsc  -  avoids OOM on complex type graphs (Zod v4, Prisma); type checking runs separately via `tsc --noEmit`; add `--no-typecheck` to skip type checking for faster builds
  * **Update**: Updated @mcp-use/inspector to v0.24.5
  * **Update**: Updated @mcp-use/cli to v2.19.0
  * **Update**: Updated create-mcp-use-app to v0.14.6
</Update>

<Update label="v1.21.4" description="March 2026">
  ## Request Context, CLI Build & README Fixes

  Patch release fixing request context propagation, CLI build hang, and stale monorepo references.

  * **Fix**: `ctx.auth` and other request context properties were `undefined` in tool callbacks; `mountMcp()` now wraps `transport.handleRequest()` with `runWithContext()` so `getRequestContext()` is populated
  * **Fix** (@mcp-use/cli): `mcp-use build` no longer hangs  -  add `process.exit(0)` on success (tsImport creates active handles)
  * **Fix**: Update stale mcp-use-ts references in README badges, image URLs, eslint config to mcp-use monorepo
  * **Update**: Updated @mcp-use/inspector to v0.24.4
  * **Update**: Updated @mcp-use/cli to v2.18.3
</Update>

<Update label="v1.21.3" description="March 2026">
  ## Inspector Sandbox Host Fix

  Patch release fixing sandbox host derivation for cloud-embedded inspector pages.

  * **Fix** (@mcp-use/inspector): Sandbox host derivation for cloud-embedded pages  -  apex hosts (e.g. manufact.com) now resolve to `sandbox-inspector.{domain}` instead of `sandbox-{domain}`
  * **Update**: Updated @mcp-use/inspector to v0.24.3
  * **Update**: Updated @mcp-use/cli to v2.18.2
</Update>

<Update label="v1.21.2" description="March 2026">
  ## Inspector Proxy Fix for Embedded Servers

  Patch release fixing inspector auto-connect when served from MCP server (Python, etc.).

  * **Fix** (@mcp-use/inspector): Skip proxy when inspector is served from the MCP server itself  -  auto-connect no longer routes through missing `/inspector/api/proxy` on embedded servers
  * **Fix** (@mcp-use/inspector): Detect proxy availability via runtime config injection; disable autoProxyFallback when no proxy is available
  * **Update**: Updated @mcp-use/inspector to v0.24.2
  * **Update**: Updated @mcp-use/cli to v2.18.1
</Update>

<Update label="v1.21.1" description="March 2026">
  ## Session Persistence & CLI Improvements

  Patch release with session recovery fix, CLI enhancements, and create-mcp-use-app install improvements.

  * **Fix**: Session recovery after restart returns 400 fix; distributed SSE stream routing via Redis Pub/Sub
  * **Enhancement** (@mcp-use/cli): `mcp-use build` runs tool registry type generation before TypeScript compilation when server file exists
  * **Enhancement** (@mcp-use/cli): `--root-dir` option for deploy command for monorepo support
  * **Fix** (create-mcp-use-app): Remove flickering behaviour from `npm i`
  * **Update**: Updated @mcp-use/inspector to v0.24.1
  * **Update**: Updated @mcp-use/cli to v2.18.0
  * **Update**: Updated create-mcp-use-app to v0.14.4
</Update>

<Update label="v1.21.0" description="March 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.21.0&title=Proxy%20Servers%20%26%20Client%20Completion&date=2026-03&lang=typescript" alt="Release 1.21.0" />
  </Frame>

  ## Proxy Servers & Client Completion

  Minor release with server composition, client-side completion, user context, and Express middleware types.

  * **New**: `MCPServer.proxy()` for composing multiple MCP servers into a single aggregator  -  automatic orchestration, schema translation, namespacing, list-changed multiplexing
  * **New**: Client-side completion support  -  `complete()` on BaseConnector, MCPSession, and `useMcp`; `refreshResourceTemplates()`; prompt argument and resource template URI autocomplete
  * **New**: `ctx.client.user()` for per-invocation end-user metadata (`subject`, `conversationId`) from tools/call params
  * **Enhancement**: `ctx.client.supportsApps()` now correctly returns true for MCP Apps clients (fixed ClientCapabilitiesSchema `extensions` stripping)
  * **Enhancement**: `autoReconnect` options  -  configurable health check interval, reconnection delay, timeout via `reconnectionOptions`
  * **Enhancement**: `sendFollowUpMessage` accepts `MessageContentBlock` arrays (text, image, resource blocks) per SEP-1865
  * **Enhancement**: Host info and capabilities  -  `hostInfo`, `hostCapabilities` in `useWidget`; `getHostInfo`, `getHostCapabilities` on `McpAppsBridge`
  * **Fix**: Express middleware types  -  proper TypeScript types for `server.use()` with Express middleware (auto-detected and adapted)
  * **Fix**: Session isolation  -  `findSessionContext` no longer falls back to arbitrary session, preventing metadata leakage
  * **Fix**: Remove deprecated `@types/tar`; update tar to latest (cli, create-mcp-use-app)
  * **Update**: Updated @mcp-use/inspector to v0.24.0
  * **Update**: Updated @mcp-use/cli to v2.17.0
  * **Update**: Updated create-mcp-use-app to v0.14.3
  * **Documentation**: Per-server elicitation and sampling callbacks examples; proxy servers section
</Update>

<Update label="v1.20.5" description="February 2026">
  ## CLI Tunnel Support

  Patch release adding tunnel flag for ChatGPT HMR.

  * **New** (@mcp-use/cli): Support for `--tunnel` flag with full ChatGPT HMR
  * **Update**: Updated @mcp-use/inspector to v0.23.1
  * **Update**: Updated @mcp-use/cli to v2.16.0
</Update>

<Update label="v1.20.4" description="February 2026">
  ## Inspector Embedded Chat

  Patch release with inspector embedded chat improvements.

  * **Enhancement** (@mcp-use/inspector): Improved embedded chat
  * **Update**: Updated @mcp-use/inspector to v0.23.0
  * **Update**: Updated @mcp-use/cli to v2.15.4
</Update>

<Update label="v1.20.3" description="February 2026">
  ## Inspector Standalone Deployment Fix

  Patch release fixing inspector standalone deployment version import.

  * **Fix** (@mcp-use/inspector): Standalone deployment was importing the version from the wrong path
  * **Update**: Updated @mcp-use/inspector to v0.22.3
  * **Update**: Updated @mcp-use/cli to v2.15.3
</Update>

<Update label="v1.20.2" description="February 2026">
  ## Health Monitoring & MCPAgentOptions

  Patch release with dynamic auth headers for health checks and MCPAgentOptions for chat agent.

  * **Enhancement**: `getAuthHeaders` parameter to `startConnectionHealthMonitoring` for customizable authentication headers during health checks; HEAD requests allowed without authentication
  * **Enhancement**: `exposeResourcesAsTools` and `exposePromptsAsTools` options in MCPAgentOptions (both default to `true`); inspector chat tab sets both to `false` so agent only exposes actual MCP tools
  * **Update**: Updated @mcp-use/inspector to v0.22.2
  * **Update**: Updated @mcp-use/cli to v2.15.2
</Update>

<Update label="v1.20.1" description="February 2026">
  ## Widget Status Texts & CSP Handling

  Patch release with widget metadata enhancements and CSP improvements.

  * **New**: `invoking` and `invoked` properties in widget metadata for customizable status messages during tool execution
  * **Breaking**: McpUseProvider no longer includes BrowserRouter; add it explicitly if your widget uses react-router
  * **Enhancement**: MCPAppsDebugControls CSP mode violation indicators; sandbox-proxy strips existing CSP meta tags before injecting permissive CSP
  * **Fix** (create-mcp-use-app): Unify logo display across all CLI entry paths
  * **Update**: Updated @mcp-use/inspector to v0.22.1
  * **Update**: Updated @mcp-use/cli to v2.15.1
</Update>

<Update label="v1.20.0" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.20.0&title=Widget%20Debug%20%26%20CSP%20Improvements&date=2026-02&lang=typescript" alt="Release 1.20.0" />
  </Frame>

  ## Widget Debug & CSP Improvements

  Minor release with Iframe Console enhancements, MCP Apps debug controls, and CSP handling.

  * **New**: CLI update check notifies when a newer mcp-use release is available
  * **Fix**: CLI TSC build uses node with increased heap; avoid npx installing wrong package
  * **Fix**: CLI fallback MCP\_URL when tunnel is unavailable
  * **New** (create-mcp-use-app): @types/react and @types/react-dom in template devDependencies
  * **Enhancement**: Slim down generated READMEs; improve mcp-apps template (Carousel, product-search-result widget); include .mcp-use in tsconfig; fix postinstall script
  * **Fix**: create-mcp-use-app product-search-result template styling and CSP metadata
  * **Enhancement**: Iframe Console with expandable logs, level filter, search, resizable height
  * **New**: Widget debug context for chat; MCP Apps debug controls (tool props JSON view, required props hint, SEP-1865 semantics)
  * **New**: CDN build for inspector; CSP violations panel with clear action; widget re-execution on CSP mode change; CSP mode for Apps SDK
  * **Fix**: useSyncExternalStore first-render handling; reconnect logic; Tools tab only sends explicitly set fields; resource annotations include `_meta`
  * **Fix**: mcp-use widget CSP fallback from tool metadata; protocol and mount-widgets-dev improvements
  * **Enhancement**: useWidget merges props from toolInput and structuredContent per SEP-1865
  * **New**: updateModelContext and useMcp clientOptions
  * **Fix**: WorkOS subdomain config to accept full AuthKit domain (e.g., `name.authkit.app`)
  * **Update**: Updated @mcp-use/inspector to v0.22.0
  * **Update**: Updated @mcp-use/cli to v2.15.0
</Update>

<Update label="v1.19.3" description="February 2026">
  ## CLI Skills & Template Updates

  Patch release with CLI skills commands and create-mcp-use-app template improvements.

  * **New** (@mcp-use/cli): `mcp-use skills add` and `mcp-use skills install` commands to install AI agent skills (Cursor, Claude Code, Codex) from the mcp-use repository
  * **Enhancement** (create-mcp-use-app): Add @types/react and @types/react-dom to template devDependencies
  * **Update**: Updated @mcp-use/inspector to v0.21.1
  * **Update**: Updated @mcp-use/cli to v2.14.0
</Update>

<Update label="v1.19.2" description="February 2026">
  ## Tool Schema & Type Testing Improvements

  Patch release with nested input schema fixes and compile-time type regression testing.

  * **Fix**: Correctly convert nested input schema args for tools
  * **New**: Added everything-server example for compile-time type regression testing
  * **Update**: Updated @mcp-use/inspector to v0.21.0
  * **Update**: Updated @mcp-use/cli to v2.13.10
</Update>

<Update label="v1.19.1" description="February 2026">
  ## MCPApps & Widget Loading Enhancements

  Patch release improving widget loading logic and iframe handling.

  * **Enhancement**: Improved MCPAppsRenderer loading logic with better state management
  * **Enhancement**: Enhanced useWidget for iframe handling
  * **Update**: Updated @mcp-use/inspector to v0.20.1
  * **Update**: Updated @mcp-use/cli to v2.13.9
</Update>

<Update label="v1.19.0" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.19.0&title=Client%20Conformance%20%26%20Type%20Safety%20Improvements&date=2026-02&lang=typescript" alt="Release 1.19.0" />
  </Frame>

  ## Client Conformance & Type Safety Improvements

  Minor release with full MCP client conformance, direct stdio connector support, and type inference fixes.

  * **New**: Client implementation is now 100% conformant with the MCP spec
  * **Enhancement**: Node.js client handles stdio connector directly with command/argument configuration
  * **Fix**: `error()` return type now compatible with tool callbacks using `outputSchema`
  * **Fix**: Fixed `TypedCallToolResult` type inference with explicit properties instead of Omit
  * **Fix**: Enhanced `prompt()` method generic type inference to match `tool()` pattern
  * **Enhancement**: Console output routes through Logger class with improved consistency; added tests for logLevel
  * **Enhancement**: Added support for additional Vitest file extensions in config
  * **Fix**: Correct MIME type for mcp\_apps resource counting; disabled telemetry in local tests
  * **Update**: Updated @mcp-use/inspector to v0.20.0
  * **Update**: Updated @mcp-use/cli to v2.13.8

  ### @mcp-use/cli v2.13.8

  * **Enhancement**: Improved loading states with spinner component
  * **Fix**: Correct MIME type for mcp\_apps resource counting

  ### create-mcp-use-app v0.13.0

  * **New**: Interactive prompts for optional skills installation (claude-code, cursor, codex)
  * **New**: `--install` and `--no-install` CLI flags for non-interactive mode
  * **Fix**: Corrected template reference in test-cli.sh
</Update>

<Update label="v1.18.0" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.18.0&title=DNS%20Rebinding%20%26%20Deferred%20Callbacks&date=2026-02&lang=typescript" alt="Release 1.18.0" />
  </Frame>

  ## DNS Rebinding Protection & Deferred Client Callbacks

  Minor release adding DNS rebinding protection and deferred React client callbacks.

  * **New**: `allowedOrigins` configuration on `MCPServer` for DNS rebinding protection and host validation; docs and example (curl tests) added
  * **Enhancement**: `McpClientProvider` defers `onServerAdded` and `onServerStateChange` callbacks via `queueMicrotask` to avoid render-phase updates and improve stability
  * **Update**: Updated @mcp-use/inspector to v0.19.0
  * **Update**: Updated @mcp-use/cli to v2.13.7
</Update>

<Update label="v1.17.4" description="February 2026">
  ## Widget Resource Propagation & Log Noise Reduction

  Patch release improving HMR reliability for widget resources and reducing dev server log noise.

  * **Fix**: Reduced noisy logs in the dev server
  * **Fix**: Propagated widget resources and resource templates to already-connected MCP sessions during HMR to avoid `Resource ui://widget/... not found` errors without reconnecting
  * **Update**: Updated @mcp-use/inspector to v0.18.9
  * **Update**: Updated @mcp-use/cli to v2.13.6
</Update>

<Update label="v1.17.3" description="February 2026">
  ## Inspector Reliability Alignment

  Patch release aligning TypeScript packages with the latest inspector reliability fixes.

  * **Enhancement**: Pulled in inspector fixes for widget readiness resets and safer iframe global update handling
  * **Update**: Updated @mcp-use/inspector to v0.18.8
  * **Update**: Updated @mcp-use/cli to v2.13.5
</Update>

<Update label="v1.17.2" description="February 2026">
  ## UI Resource Metadata & CSP Injection Fixes

  Patch release improving server-origin metadata enrichment for UI resources.

  * **Fix**: UI resource metadata enrichment now guarantees metadata initialization before applying origin-based updates
  * **Enhancement**: Server origin is now consistently injected into widget CSP fields (`resourceDomains`, `connectDomains`, `baseUriDomains`)
  * **Update**: Updated @mcp-use/inspector to v0.18.7
  * **Update**: Updated @mcp-use/cli to v2.13.4
</Update>

<Update label="v1.17.1" description="February 2026">
  ## useWidget Type Inference Improvements

  Patch release improving `useWidget` typing precision for pending vs ready states.

  * **Enhancement**: `UseWidgetResult` now uses a discriminated union on `isPending` for more accurate TypeScript inference
  * **Enhancement**: Added `UseWidgetResultBase` to separate shared fields from pending-state-specific props
  * **Update**: Updated @mcp-use/inspector to v0.18.6
  * **Update**: Updated @mcp-use/cli to v2.13.3
</Update>

<Update label="v1.17.0" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.17.0&title=Resource%20Template%20Completion%20%26%20Reverse%20Proxy%20Support&date=2026-02&lang=typescript" alt="Release 1.17.0" />
  </Frame>

  ## Resource Template Completion & Reverse Proxy Support

  Minor release adding resource template variable completion, custom route HMR, and comprehensive reverse proxy support.

  ### Resource Template Completion

  * **New**: Resource template variable completion  -  templates can define `callbacks.complete` per variable (string array or callback) for client-side autocomplete of URI template variables
  * **New**: `toResourceTemplateCompleteCallbacks` utility for normalizing completion definitions
  * **New**: MCP servers now publish completion capabilities

  ### HMR & Reverse Proxy Improvements

  * **New**: Custom HTTP route HMR  -  routes registered via `server.get()`, `server.post()`, etc. now hot-swap without restart
  * **New**: Widget tool protection during HMR  -  tools tagged with `_meta["mcp-use/widget"]` preserved during sync
  * **New**: Dynamic widget creation  -  `resources/` directory auto-created, dev server watches for new widgets even if none exist at startup
  * **New**: Vite HMR WebSocket proxy for hot-reload through reverse proxies (ngrok, E2B, Cloudflare tunnels)
  * **New**: `MCP_URL` environment variable can be pre-set by users for external proxy URLs; CLI will not overwrite it
  * **New**: `window.__mcpServerUrl` global injected into widget HTML for dynamic API URL construction
  * **Enhancement**: List-changed notifications now fire on removal, not just add/update
  * **Enhancement**: Pre-initialized request handlers prevent `-32601 Method not found` errors on dynamic tool registration
  * **Enhancement**: Widget type default changed to `mcpApps` (dual-protocol) instead of `appsSdk`

  ### Dependencies

  * **Update**: Updated @mcp-use/inspector to v0.18.5
  * **Update**: Updated @mcp-use/cli to v2.13.2
</Update>

<Update label="v1.16.4" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.16.4&title=HMR%20Improvements%20%26%20Widget%20Enhancements&date=2026-02&lang=typescript" alt="Release 1.16.4" />
  </Frame>

  ## HMR Improvements & Widget Enhancements

  Patch release with Hot Module Reload improvements, widget lifecycle enhancements, and CLI build system improvements.

  ### HMR & Server Improvements

  * **Fix**: Tool schema preservation during HMR now uses Zod schemas directly instead of converting to params
  * **Fix**: Empty schema changed from `{}` to `z.object({})` to ensure `safeParseAsync` works correctly
  * **Enhancement**: Prompts now support tool response helpers (`text()`, `object()`, `image()`, etc.) via automatic conversion to `GetPromptResult`
  * **Enhancement**: Resources now support tool response helpers via automatic conversion to `ReadResourceResult`
  * **Enhancement**: Widget resources (`ui://widget/*`) and resource templates preserved during HMR
  * **Enhancement**: Enhanced prompt conversion to handle edge cases (single content objects, bare content items, mixed content arrays)

  ### CLI Build Improvements

  * **New**: Build manifest with `entryPoint` tracking written to `dist/mcp-use.json` for reliable server location
  * **Enhancement**: Support for multiple TypeScript output paths (dist/index.js, dist/src/index.js, custom paths)
  * **Enhancement**: Start command reads `entryPoint` from manifest for accurate server location
  * **Enhancement**: Clear error messages when no built server file is found, listing all attempted locations

  ### Widget Improvements

  * **Fix**: Widget pending state now correctly emulated to reflect ChatGPT behavior
  * **Enhancement**: Immediate widget rendering during pending states
  * **Enhancement**: Enhanced widget lifecycle management with better tool output handling
  * **New**: Delayed weather tool example (`get-weather-delayed`) in conformance server for testing widget lifecycle

  ### Dependencies

  * **Update**: Updated @modelcontextprotocol/sdk to v1.26.0 (with Zod 4 compatibility patch)
  * **Update**: Updated @mcp-use/inspector to v0.18.4
  * **Update**: Updated @mcp-use/cli to v2.13.1
  * **Update**: Updated create-mcp-use-app to v0.12.3
</Update>

<Update label="v1.16.3" description="February 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.16.3&title=CLI%20Manufact%20Rebrand&date=2026-02&lang=typescript" alt="Release 1.16.3" />
  </Frame>

  ## CLI Manufact Rebrand

  Minor release with CLI branding updates and authentication improvements.

  ### CLI Rebrand

  * **Enhancement**: Updated CLI branding from "mcp-use" to "Manufact"
  * **Enhancement**: Changed default web URL from `mcp-use.com` to `manufact.com` for login flow
  * **Fix**: Fixed 431 "Request Header Fields Too Large" error by increasing callback server header limit to 16KB
  * **Enhancement**: Updated dashboard, inspector, and settings URLs to use `manufact.com` domain
  * **Enhancement**: Gateway domain remains `run.mcp-use.com` for backward compatibility with existing deployments

  ### Dependencies

  * **Update**: Updated @mcp-use/cli to v2.13.0
  * **Update**: Updated @mcp-use/inspector to v0.18.3
</Update>

<Update label="v1.16.2" description="January 2026">
  ## Widget Behavior Fix

  Patch release fixing widget pending state emulation.

  * **Fix**: Widget pending state now correctly emulated to reflect ChatGPT behavior
  * **Update**: Updated @mcp-use/inspector to v0.18.2
  * **Update**: Updated @mcp-use/cli to v2.12.6
</Update>

<Update label="v1.16.1" description="January 2026">
  ## Widget CSP Enhancement

  Patch release fixing widget Content Security Policy configuration.

  * **Fix**: Auto-inject server origin into `connectDomains` CSP
  * **Enhancement**: Widgets can now make fetch/XHR/WebSocket calls back to the MCP server without explicitly declaring the domain
  * **Fix**: Corrected oversight where CHANGELOG mentioned connectDomains injection but it was not implemented
</Update>

<Update label="v1.16.0" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.16.0&title=Prompt%20Autocomplete%20%26%20Dynamic%20CSP&date=2026-01&lang=typescript" alt="Release 1.16.0" />
  </Frame>

  ## Prompt Autocomplete & Dynamic CSP

  Minor release introducing prompt argument autocomplete and dynamic CSP domain injection for widgets.

  ### New Features

  * **New**: `completable()` helper for prompt argument autocomplete
  * **New**: Dynamic CSP domain injection for widgets at tools/list time

  ### Enhancements

  * **Enhancement**: Request origin (from X-Forwarded-Host or Host header) now automatically added to `connectDomains` and `resourceDomains` in tool metadata
  * **Enhancement**: Widgets now work correctly when accessed through proxies like ngrok, Cloudflare tunnels, or other reverse proxies
  * **Enhancement**: Server origin automatically enriched in widget CSP metadata

  ### Dependencies

  * **Update**: Updated @mcp-use/inspector to v0.18.0
  * **Update**: Updated @mcp-use/cli to v2.12.4
</Update>

<Update label="v1.15.3" description="January 2026">
  ## HMR & Theme Fixes

  Patch release fixing Hot Module Reloading edge cases and theme functionality.

  * **Fix**: HMR not working when server starts with 0 tools initially
  * **Fix**: Dark mode can now be enabled through theme URL parameter
  * **Update**: Updated @mcp-use/inspector to v0.17.3
  * **Update**: Updated @mcp-use/cli to v2.12.3
</Update>

<Update label="v1.15.2" description="January 2026">
  ## HMR File Watcher Fix

  Patch release fixing file watcher resource exhaustion in containerized environments.

  * **Fix**: HMR file watcher exhausting inotify limits by properly ignoring node\_modules
  * **Fix**: Prevented ENOSPC errors in containerized environments caused by watching files inside `node_modules/` despite ignore patterns
  * **Update**: Updated @mcp-use/inspector to v0.17.2
  * **Update**: Updated @mcp-use/cli to v2.12.2
</Update>

<Update label="v1.15.1" description="January 2026">
  ## CLI Deployment Enhancement

  Patch release with CLI deployment improvements.

  * **Enhancement**: CLI `getMcpServerUrl()` function for improved deployment URL handling
  * **Update**: Updated @mcp-use/cli to v2.12.1
  * **Update**: Updated @mcp-use/inspector to v0.17.1
</Update>

<Update label="v1.15.0" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.15.0&title=MCP%20Apps%20Support%20%26%20Landing%20Pages&date=2026-01&lang=typescript" alt="Release 1.15.0" />
  </Frame>

  ## MCP Apps Support & Landing Pages

  Major release introducing MCP Apps support with dual-protocol widget rendering and HTML landing pages for MCP server endpoints.

  ### MCP Apps Support

  * **New**: Dual-protocol support enabling widgets to work with both MCP Apps and ChatGPT Apps SDK
  * **New**: `MCPAppsRenderer` component for advanced debugging and visualization
  * **New**: `MCPAppsDebugControls` component for widget debugging
  * **New**: Sandboxed iframe support with console logging and safe area insets for isolated widget rendering
  * **New**: Widget adapters (MCP Apps, Apps SDK) with protocol helpers for seamless cross-protocol compatibility
  * **New**: MCP Apps documentation and example server

  ### Landing Pages

  * **New**: `generateLandingPage()` function that generates styled HTML landing pages for browser GET requests
  * **New**: Connection instructions for Claude Code, Cursor, VS Code, VS Code Insiders, and ChatGPT on landing pages
  * **Enhancement**: Browser host normalization for server connections in CLI

  ### Bug Fixes & Security

  * **Fix**: MCP server landing now shows the external URL instead of the internal URL
  * **Fix**: Zod JIT compilation to prevent CSP violations in sandboxed environments
  * **Security**: Fixed vulnerabilities in dependencies

  ### Dependencies

  * **Update**: Updated @mcp-use/inspector to v0.17.0
  * **Update**: Updated @mcp-use/cli to v2.12.0
</Update>

<Update label="v1.14.2" description="January 2026">
  ## Widget Rendering & Session Management Improvements

  Patch release with widget rendering fixes, session timeout adjustments, and CLI deployment enhancements.

  ### Widget Rendering & Session Management

  * **Fix**: Widget iframe reload by adding timestamp query parameter to force refresh when widget data changes
  * **Fix**: Retry logic with exponential backoff for dev widget fetching to handle Vite dev server cold starts
  * **Fix**: Default session idle timeout changed from 5 minutes to 1 day (86400000ms) to prevent premature session expiration
  * **Fix**: Session lastAccessedAt tracking now updates both persistent store and in-memory map
  * **Fix**: \_meta merging now preserves existing fields (e.g., openai/outputTemplate) when updating tools and widgets
  * **Enhancement**: Support for frame\_domains and redirect\_domains in widget CSP metadata

  ### CLI Improvements

  * **Fix**: Environment variables, build command, start command, and port configuration now properly passed during redeployment

  ### Documentation

  * **Fix**: Updated sessionIdleTimeoutMs default value documentation from 5 minutes to 1 day across multiple files
</Update>

<Update label="v1.14.1" description="January 2026">
  ## Dependency Updates

  Patch release with dependency updates.

  * **Update**: Updated dependencies to @mcp-use/inspector v0.16.1 and @mcp-use/cli v2.11.1
</Update>

<Update label="v1.14.0" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.14.0&title=Server%20Metadata%20%26%20Widget%20Enhancements&date=2026-01&lang=typescript" alt="Release 1.14.0" />
  </Frame>

  ## Server Metadata & Widget Enhancements

  Release introducing server metadata configuration and enhanced widget development experience.

  ### Server Metadata & Configuration

  * **New**: Server metadata support with `title`, `websiteUrl`, and `icons` fields in MCP server configuration
  * **New**: Inspector UI displays server website URLs and icons for better branding
  * **Deprecated**: `autoCreateSessionOnInvalidId` config option - use `sessionStore` for persistent sessions
  * **Enhancement**: Dynamic project name support in server configurations

  ### Widget & Development Experience

  * **Enhancement**: HMR support for widget tool management - widgets update immediately without server restart
  * **Enhancement**: Parallel widget building for improved development performance
  * **Enhancement**: ReDoS attack prevention in widget name slugification with input length validation
  * **Enhancement**: Improved widget lifecycle documentation with loading state guidance

  ### CLI Improvements

  * **New**: `MCP_URL` environment variable automatically set in server process for easy access to server URL
  * **Enhancement**: Server process environment now includes `MCP_URL` in both development and production modes
  * **Enhancement**: CLI now displays all 4 package versions (`@mcp-use/cli`, `mcp-use`, `@mcp-use/inspector`, `create-mcp-use-app`) in `dev` and `build` commands with `mcp-use` highlighted for clarity

  ### API & Protocol

  * **New**: HEAD request support in `mountMcp` function
  * **Enhancement**: Improved input schema handling in tool registration with better defaults

  ### MCP Proxy Middleware

  * **Enhancement**: Improved error logging with better context for debugging
  * **Enhancement**: Connection refused errors now logged as warnings instead of errors
  * **Enhancement**: Error responses include target URL to help identify failing proxy requests
  * **Enhancement**: More detailed error messages for proxy request failures

  ### Bug Fixes

  * **Fix**: Anthropic `tool_use.id` error resolved with LangChain package updates
  * **Fix**: Telemetry shutdown method compatibility with posthog-node v5.22.0
  * **Fix**: Input schema initialization now defaults to empty object when not provided

  ### Dependencies

  * **Update**: `@langchain/anthropic` to 1.3.10 (fixes tool\_call ID generation)
  * **Update**: `@langchain/core` to 1.1.15
  * **Update**: `langchain` to 1.2.10
  * **Update**: `react-resizable-panels` to 4.4.1
</Update>

<Update label="v1.13.5" description="January 2026">
  ## CLI Documentation Enhancement

  Patch release adding comprehensive CLI documentation.

  * **Enhancement**: Added `.gitignore` file to CLI package to exclude `.mcp-use` directory from version control
  * **Enhancement**: Added `CLAUDE.md` to CLI package with comprehensive guidance on usage, development commands, architecture details, and deployment instructions
  * **Enhancement**: Improved CSRF protection in authentication flow
  * **Enhancement**: Enhanced error handling for GitHub integration in deploy command
</Update>

<Update label="v1.13.4" description="January 2026">
  ## OAuth Proxy URL Handling Improvements

  Patch release improving OAuth proxy URL handling and connection logic.

  * **Refactor**: Changed `connectionUrl` from `let` to `const` to enforce immutability
  * **Enhancement**: Enhanced logic for deriving `oauthProxyUrl` from callback URL, including handling cases where callback is at root path
  * **Enhancement**: Updated comments to clarify distinction between `oauthProxyUrl` and `connectionUrl`
  * **Fix**: Removed clearing of OAuth storage before connecting to maintain valid tokens across sessions
</Update>

<Update label="v1.13.3" description="January 2026">
  ## Telemetry & Inspector Enhancements

  Patch release with telemetry improvements and inspector URL validation enhancements.

  * **Fix**: Enhanced localStorage checks in Telemetry class to verify both existence and functional methods (getItem, setItem, removeItem)
  * **Enhancement**: Added error handling to throw exception if localStorage is not available or functional
  * **Enhancement**: Inspector now automatically prepends "https\://" to URLs without protocol for better user experience
  * **Enhancement**: Improved error handling for invalid URLs in Inspector dashboard and server connection modal
  * **Enhancement**: Added localStorage clearing functionality in Inspector for troubleshooting
</Update>

<Update label="v1.13.2" description="January 2026">
  ## Dependency Updates & CLI Enhancements

  Minor release with dependency updates and CLI improvements for deployment workflows.

  * **Fix**: Updated dependency `hono` to 4.11.4
  * **Enhancement**: CLI login command with improved error handling and user feedback
  * **Enhancement**: CLI deployment command now prompts for login if not authenticated
  * **Enhancement**: Added git uncommitted changes check before deployment
  * **Fix**: Removed `fromSource` option from CLI deployment command
  * **Enhancement**: Simplified authentication UI in Inspector
</Update>

<Update label="v1.13.1" description="January 2026">
  ## Edge Runtime Fix

  Patch release improving edge runtime compatibility.

  * **Fix**: Enable JSON response in stateless mode for edge runtimes (Deno, Cloudflare Workers)
  * **Enhancement**: Improved reliability of API in various deployment scenarios
</Update>

<Update label="v1.13.0" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.13.0&title=Hot%20Module%20Reloading%20%26%20OAuth%20Enhancements&date=2026-01&lang=typescript" alt="Release 1.13.0" />
  </Frame>

  ## Hot Module Reloading & OAuth Enhancements

  Release introducing Hot Module Reloading for development and enhanced OAuth capabilities.

  ### Hot Module Reloading (HMR)

  * **New**: HMR support for `mcp-use dev` command - tools, prompts, and resources update instantly without server restart
  * **New**: Connected clients receive `list_changed` notifications and auto-refresh
  * **New**: Syntax errors during reload caught gracefully without crashing server
  * **New**: Comprehensive test suite for HMR functionality with integration tests
  * **Enhancement**: CLI uses `chokidar` to watch file changes with automatic module re-import
  * **Enhancement**: Session persistence during HMR - no client disconnections

  ### OAuth & Client Info

  * **New**: Enhanced OAuth proxy to support gateway/proxy scenarios (e.g., Supabase MCP servers)
  * **New**: `clientInfo` configuration prop for OAuth registration with client metadata (name, version, icons, website)
  * **New**: Server metadata caching with `CachedServerMetadata` interface for instant display on reconnect
  * **Enhancement**: OAuth metadata URL rewriting from gateway URLs to actual server URLs
  * **Enhancement**: Client info displayed on OAuth consent pages
  * **Enhancement**: Extended `StorageProvider` interface with metadata methods

  ### Inspector & Favicon

  * **Enhancement**: Enhanced favicon detector to try all subdomain levels (e.g., mcp.supabase.com → supabase.com)
  * **Enhancement**: Detection of default vs custom favicons using JSON API response
  * **Enhancement**: Improved logging middleware for API routes
  * **Enhancement**: X-Forwarded-Host support for proxy URL construction in dev

  ### Bug Fixes

  * **Fix**: Remove import from "mcp-use" which causes langchain import in server
  * **Fix**: Enhanced synchronization for tools, prompts, and resources during HMR
</Update>

<Update label="v1.12.4" description="January 2026">
  ## Connection Fix

  Patch release fixing autoconnect configuration parsing.

  * **Fix**: Autoconnect now correctly parses config objects in addition to string URLs
</Update>

<Update label="v1.12.3" description="January 2026">
  ## Security Fixes & OAuth Improvements

  Patch release addressing multiple security vulnerabilities and fixing OAuth flow issues.

  ### Security Fixes

  * **Security**: Fixed 13 vulnerabilities (3 moderate, 10 high)
  * **Security**: Updated `langchain` to 1.2.3 (fixes serialization injection vulnerability)
  * **Security**: Updated `@langchain/core` to 1.1.8 (fixes serialization injection vulnerability)
  * **Security**: Updated `react-router` to 7.12.0 (fixes XSS and CSRF vulnerabilities)
  * **Security**: Added override for `qs` to >=6.14.1 (fixes DoS vulnerability)
  * **Security**: Added override for `preact` to >=10.28.2 (fixes JSON VNode injection)

  ### OAuth & Connection Improvements

  * **Fix**: Resolved OAuth flow looping issue by removing duplicate fallback logic
  * **Enhancement**: Simplified connection handling with consolidated state management
  * **Enhancement**: Enhanced OAuth authentication flow with improved connection settings
  * **Enhancement**: Improved auto-connect functionality with better proxy handling and error management
  * **Enhancement**: Enhanced theme toggling with dropdown menu for better UX and accessibility
</Update>

<Update label="v1.12.2" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.12.2&title=Automatic%20Proxy%20Fallback%20%26%20API%20Improvements&date=2026-01&lang=typescript" alt="Release 1.12.2" />
  </Frame>

  ## Automatic Proxy Fallback & API Improvements

  Release with automatic proxy fallback, OAuth proxy support, and API naming improvements.

  ### Breaking Changes (with Deprecation Warnings)

  * **Breaking**: Renamed `customHeaders` to `headers` across all APIs for consistency. Old name still works but shows deprecation warnings.
  * **Breaking**: Renamed `samplingCallback` to `onSampling` for consistency with event handler patterns. Old name still works but shows deprecation warnings.
  * **Deprecated**: `clientConfig` option in favor of deriving configuration from `clientInfo`

  ### New Features

  * **New**: Automatic Proxy Fallback - `autoProxyFallback` option automatically retries failed connections through proxy on CORS/4xx errors
  * **New**: Provider-level proxy defaults with `defaultProxyConfig` and `defaultAutoProxyFallback` props in `McpClientProvider`
  * **New**: OAuth Proxy Support - `oauthProxyUrl` configuration to route OAuth discovery and token requests through backend proxy
  * **New**: Configurable `clientInfo` for MCP connection initialization with full metadata (name, title, version, description, icons, website URL)
  * **New**: Reconnect functionality for failed connections with reconnect button in Inspector UI

  ### Improvements

  * **Enhancement**: Better detection of OAuth discovery failures, CORS errors, and connection issues
  * **Enhancement**: OAuth provider uses original target URL for discovery, not proxy URL
  * **Enhancement**: Improved session cleanup to avoid noisy warning logs
  * **Enhancement**: Type safety with deprecation notices in TypeScript types
  * **Enhancement**: Proxy header support - `proxyConfig` now accepts a `headers` field for custom headers

  ### Bug Fixes

  * **Fix**: Custom headers now correctly included when copying connection configuration from saved tiles
  * **Fix**: HttpConnector automatic reconnection disabled, shifting responsibility to higher-level logic

  ### Refactoring

  * **Refactor**: Removed `oauth-helper.ts` (521 lines), consolidated into `browser-provider.ts`
  * **Refactor**: Major `useMcp` hook refactor with automatic retry, better error handling, and proxy fallback support
</Update>

<Update label="v1.12.1" description="January 2026">
  ## Security Update

  Patch release with security fixes and build improvements.

  * **Security**: Updated `@modelcontextprotocol/sdk` to 1.25.2 (fixes ReDoS vulnerability in UriTemplate regex patterns)
  * **Fix**: Updated building script to correctly export types for inspector/client components
</Update>

<Update label="v1.12.0" description="January 2026">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.12.0&title=Browser%20Compatibility%20%26%20Multi-Server%20Support&date=2026-01&lang=typescript" alt="Release 1.12.0" />
  </Frame>

  ## Browser Compatibility & Multi-Server Support

  Release focusing on browser compatibility, multi-server management, and improved React architecture.

  ### Breaking Changes

  * **Breaking**: Removed `winston` dependency. The logging system now uses a simple console logger that works in both browser and Node.js environments. See [Server Logging](/typescript/server/logging#migration-from-winston) for migration guide.

  ### Browser Runtime Support

  * **New**: Full browser compatibility - removed Node.js-specific dependencies from browser builds
  * **New**: Enhanced `browser.ts` entry point with improved browser-specific utilities
  * **New**: Browser utilities:
    * `utils/favicon-detector.ts` - Detect and extract favicons from URLs
    * `utils/proxy-config.ts` - Proxy configuration utilities for browser environments
    * `utils/mcpClientUtils.ts` - MCP client utilities moved from client package
  * **New**: `MCPAgent` exported for browser usage with `BrowserMCPClient` instance or through `RemoteAgent`
  * **Enhancement**: Comprehensive test suite to ensure `mcp-use/react` and `mcp-use/browser` do not import Node.js dependencies

  ### Multi-Server Support

  * **New**: `McpClientProvider` component to manage multiple MCP server connections in React applications
  * **New**: Pluggable storage system with `LocalStorageProvider` and `MemoryStorageProvider` for flexible server configuration persistence
  * **New**: Dynamic addition and removal of servers in React applications
  * **New**: Multi-server React example demonstrating new capabilities
  * **Enhancement**: Refactored `useMcp` hook for better multi-server support
  * **Enhancement**: Removed obsolete `McpContext` (replaced with `McpClientProvider`)

  ### Server Middleware

  * **New**: MCP Proxy Middleware (`server/middleware/mcp-proxy.ts`) - Hono middleware for proxying MCP server requests with optional authentication and request validation

  ### Inspector Enhancements

  * **Enhancement**: Improved UI responsiveness with enhanced mobile and tablet layouts and adaptive component visibility
  * **Enhancement**: Better server management with refactored server connection handling, improved icon display, and status tracking
  * **Enhancement**: Enhanced debugging with detailed logging in Layout and useAutoConnect components for better monitoring of server connection states
  * **Enhancement**: Simplified connection settings by removing deprecated transport types
  * **Enhancement**: Enhanced inspector components for better browser compatibility
  * **Enhancement**: Improved server icon support and component interactions
  * **Enhancement**: Added embedded mode support
  * **Enhancement**: Better configuration handling and MCP proxy integration

  ### RPC Logging

  * **New**: Enhanced RPC logging with new `rpc-logger` module and filtering capabilities to reduce noisy endpoint logging (telemetry, RPC streams). See [Client Logging](/typescript/client/logging) for usage.

  ### Architecture Improvements

  * **Refactor**: Separated telemetry into `telemetry-browser.ts` (browser) and `telemetry-node.ts` (Node.js) for better environment-specific implementations
  * **Refactor**: Replaced Winston with `SimpleConsoleLogger` that works across all environments. See [Server Logging](/typescript/server/logging#built-in-logging-system) for configuration details.
  * **Refactor**: Updated `tsup.config.ts` to exclude Node.js-specific dependencies (`winston`, `posthog-node`) from browser builds
  * **Refactor**: Updated components across inspector for cleaner architecture and imports

  ### Bug Fixes

  * **Fix**: Prevent rendering loop when autoretry is true in React hooks
  * **Fix**: Respect options timeout in HTTP connector (reduced default timeout from 30 seconds to 10 seconds)
  * **Fix**: Add client SDKs to add to client dropdown in inspector
  * **Fix**: Server connection retrieval in `OpenAIComponentRenderer` to directly access connections array
  * **Fix**: Linux patch for watch mode
  * **Fix**: Query URL handling in built mode to preserve arguments
  * **Fix**: Enhanced Zod version mapping in TypeScript PR preview workflow
  * **Fix**: Pinned Zod version to 3.24.4 for compatibility with modelcontextprotocol/sdk
  * **Fix**: Updated modelcontextprotocol-sdk references to new package name

  ### Documentation

  * **New**: Added troubleshooting section for Zod version conflicts in Supabase deployment
  * **Enhancement**: Updated Supabase deployment documentation with improved compatibility information
</Update>

<Update label="v1.11.2" description="December 2025">
  ## Documentation Updates - **Enhancement**: Updated examples and documentation

  to use preferred methods and APIs
</Update>

<Update label="v1.11.1" description="December 2025">
  ## Bug Fixes - **Fix**: Widget props not picked up when using Zod schemas
</Update>

<Update label="v1.11.0" description="December 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.11.0&title=Session%20Management%20Architecture%20%26%20CLI%20Client&date=2025-12&lang=typescript" alt="Release 1.11.0" />
  </Frame>

  ## Session Management Architecture & CLI Client

  Release introducing distributed session management with Redis support and a full-featured CLI client for terminal usage.

  ### Breaking Changes

  * **Breaking**: WebSocket transport support removed. Use streamable HTTP or SSE transports instead.
  * **Breaking**: LangChain adapter moved from main entry point to `mcp-use/adapters` subpath. `@langchain/core` and `langchain` are now optional peer dependencies.
  * **Deprecated**: `autoCreateSessionOnInvalidId` server config option. Now follows MCP spec strictly (returns 404 for invalid sessions).

  ### Session Management Features

  * **New**: Pluggable session management architecture separating metadata storage (`SessionStore`) from active connections (`StreamManager`)
  * **New**: `RedisSessionStore` for persistent, distributed session metadata storage
  * **New**: `RedisStreamManager` for cross-server notifications via Redis Pub/Sub
  * **New**: `FileSystemSessionStore` (dev mode default) persists sessions to `.mcp-use/sessions.json` for hot reload support
  * **New**: `InMemorySessionStore` and `InMemoryStreamManager` (production defaults)
  * **New**: Automatic 404 handling and re-initialization in clients per MCP spec
  * **New**: Convenience methods: `sendToolsListChanged()`, `sendResourcesListChanged()`, `sendPromptsListChanged()`
  * **Enhancement**: Auto-detection of stateless/stateful mode based on client `Accept` header
  * **Enhancement**: Sessions survive server restarts in dev mode with filesystem storage
  * **Enhancement**: Auto-cleanup of expired sessions (>24 hours)

  ### CLI Client Features

  * **New**: Full-featured CLI client for terminal MCP interactions (`npx mcp-use client`)
  * **New**: Scoped commands for tools, resources, prompts, and session management
  * **New**: Session persistence to `~/.mcp-use/cli-sessions.json` across terminal sessions
  * **New**: Interactive REPL mode for server exploration
  * **New**: JSON output mode (`--json`) for scripting and automation
  * **New**: Multi-session support with session switching
  * **New**: HTTP and stdio server connection support
  * **New**: Formatted output with colored tables for human readability
  * **New**: Automatic session restoration and reconnection
  * **New**: Shell script examples for automation workflows

  ### Client Improvements

  * **New**: Auto-refresh tools/resources/prompts when receiving list change notifications
  * **New**: Manual refresh methods: `refreshTools()`, `refreshResources()`, `refreshPrompts()`, `refreshAll()`
  * **New**: Automatic 404 handling and re-initialization per MCP spec
  * **Enhancement**: Deprecated `sse` transport type in React (use `http` or `auto`)

  ### Additional Features

  * **New**: CommonJS module support - full compatibility with `require()` syntax
  * **New**: Favicon support for widget pages with automatic serving and long-term caching
  * **New**: Enhanced session methods: `callTool()` defaults args to empty object, new `requireSession()` method
  * **New**: Session architecture documentation with ARCHITECTURE.md
  * **New**: Comparison guide with other MCP implementations (tmcp, FastMCP, xmcp, official SDK)
  * **New**: Comprehensive environments guide (Node.js, Browser, React, CLI)

  ### Documentation

  * **New**: Session Management guide with storage provider documentation (Memory, FileSystem, Redis)
  * **New**: CLI Client documentation with usage examples and scripting patterns
  * **New**: Environments guide explaining usage across different JavaScript runtimes
  * **New**: Comparison documentation analyzing mcp-use vs other implementations
  * **Enhancement**: Major documentation restructuring for better organization
  * **Enhancement**: Removed/consolidated outdated guides (direct-tool-calls, sandbox, connection-types)
  * **Enhancement**: Updated agent documentation with improved examples

  ### Widget Improvements

  * **Enhancement**: Automatic cleanup of stale widget directories in `.mcp-use` folder
  * **Enhancement**: Dev mode watches for widget file/directory deletions and cleans up build artifacts
  * **Fix**: Fixed widget styling isolation - widgets no longer pick up mcp-use styles
  * **Fix**: Fixed favicon URL generator for proper asset resolution
  * **Fix**: Fixed transport cleanup when session becomes idle

  ### Testing & Quality

  * **New**: Comprehensive test suite for session stores (498 lines)
  * **New**: Stream managers test suite (478 lines)
  * **New**: Widget data flow tests (496 lines)
  * **New**: CLI integration tests (242 lines)
  * **New**: CommonJS compatibility tests (256 lines)
  * **New**: Documentation example tests (agent, prompts, tools)
  * **New**: Client 404 re-initialization tests
  * **Enhancement**: Improved test coverage across all major features

  ### Dependencies & Compatibility

  * **Enhancement**: Added support for Node.js >= 18
  * **Enhancement**: CommonJS builds for all entry points
  * **Enhancement**: Migrated from `react-router-dom` to `react-router` for better compatibility
  * **Enhancement**: Repository metadata added to package.json
  * **Enhancement**: Dependency updates and optimizations

  ### Fixes

  * **Fix**: Agent access to resources and prompts
  * **Fix**: Import paths in CLI to avoid mixing dependencies
  * **Fix**: UUID generation and URL handling improvements
  * **Fix**: Various formatting and linting improvements
</Update>

<Update label="v1.10.0" description="December 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.10.0&title=API%20Improvements%20%26%20Session%20Management&date=2025-12&lang=typescript" alt="Release 1.10.0" />
  </Frame>

  ## API Improvements & Session Management

  Enhanced APIs with better type safety and improved session management capabilities.

  ### Breaking Changes

  * **Breaking**: Renamed `createMCPServer()` factory function to `MCPServer` class constructor. Factory function still available for backward compatibility but new code should use `new MCPServer({ name, ... })`.
  * **Breaking**: Replaced `session.connector.tools`, `session.connector.callTool()`, etc. with direct session methods: `session.tools`, `session.callTool()`, `session.listResources()`, `session.readResource()`, etc.
  * **Breaking**: Standardized OAuth environment variables to `MCP_USE_OAUTH_*` prefix (e.g., `AUTH0_DOMAIN` → `MCP_USE_OAUTH_AUTH0_DOMAIN`).

  ### New Features

  * **New**: Client Capabilities API with `ctx.client.can()` and `ctx.client.capabilities()` to check client capabilities in tool callbacks
  * **New**: Session Notifications API with `ctx.sendNotification()` and `ctx.sendNotificationToSession()` for sending notifications from tool callbacks
  * **New**: Session Info API with `ctx.session.sessionId` to access current session ID in tool callbacks
  * **New**: Resource Template Flat Structure support with `uriTemplate` directly on definition (in addition to nested structure)
  * **New**: Resource Template Callback Signatures now support multiple signatures: `()`, `(uri)`, `(uri, params)`, `(uri, params, ctx)`
  * **New**: Type Exports for `CallToolResult`, `Tool`, `ToolAnnotations`, `PromptResult`, `GetPromptResult` types

  ### Improvements

  * **Enhancement**: Enhanced type inference for resource template callbacks with better overload support
  * **Enhancement**: Server now captures and stores client capabilities during initialization
  * **Enhancement**: Added convenience methods to `MCPSession` for all MCP operations (listResources, readResource, subscribeToResource, listPrompts, getPrompt, etc.)
  * **Enhancement**: Major documentation refactoring and restructuring for better organization

  ### Fixes (v1.10.1 - v1.10.6)

  * **Fix**: Stateless mode for Deno runtime
  * **Fix**: Added CORS support to `getHandler()` method
  * **Fix**: Deno 5 compatibility improvements
  * **Fix**: Deno 3 compatibility fixes
  * **Fix**: Zod error handling improvements
  * **Fix**: Zod import in official SDK
  * **Fix**: Clear transport when session becomes idle
  * **Fix**: Allow agent to access resources and prompts
  * **Enhancement**: Added repository metadata in package.json
</Update>

<Update label="v1.9.0" description="December 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.9.0&title=Elicitation%20Support&date=2025-12&lang=typescript" alt="Release 1.9.0" />
  </Frame>

  ## Elicitation Support

  Added comprehensive elicitation support following MCP specification, enabling servers to request user input through clients.

  * **New**: Simplified API with `ctx.elicit(message, zodSchema)` and `ctx.elicit(message, url)` with automatic mode detection
  * **New**: Form Mode for structured data collection with Zod schema validation and full TypeScript type inference
  * **New**: URL Mode to direct users to external URLs for sensitive operations (OAuth, credentials)
  * **New**: Server-side validation with automatic Zod validation and clear error messages
  * **New**: Client support via `elicitationCallback` to MCPClient and `onElicitation` to React `useMcp` hook
  * **Enhancement**: Type-safe return types automatically inferred from Zod schemas
  * **Enhancement**: Configurable timeout with 5-minute default for user interactions
  * **Fix**: Transport bug fixes
</Update>

<Update label="v1.8.0" description="November 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.8.0&title=Sampling%20Support&date=2025-11&lang=typescript" alt="Release 1.8.0" />
  </Frame>

  ## Sampling Support

  Added sampling support in inspector with improved timeout handling for long-running requests.

  * **New**: LLM sampling capabilities in inspector
  * **Fix**: Long running sampling requests no longer timeout after 60 seconds
  * **Enhancement**: Better handling of extended sampling operations
</Update>

<Update label="v1.7.0" description="November 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.7.0&title=OAuth%20Authentication%20System&date=2025-11&lang=typescript" alt="Release 1.7.0" />
  </Frame>

  ## OAuth Authentication System

  Complete OAuth 2.0 support with built-in providers and enhanced server capabilities.

  * **New**: Complete OAuth 2.0 authentication framework with built-in providers (Auth0, WorkOS, Supabase, Keycloak)
  * **New**: OAuth middleware and routes for server-side OAuth flow handling with automatic token management
  * **New**: OAuth callback component in inspector for authentication flows
  * **New**: Context storage with async local storage for request-scoped context in servers
  * **New**: Response helpers for standardized HTTP responses and error handling
  * **New**: Runtime detection utilities for Node.js, Bun, and Deno environments
  * **New**: Server authentication examples for Auth0, WorkOS, and Supabase
  * **Enhancement**: Enhanced useMcp hook with improved connection management and OAuth support
  * **Enhancement**: Enhanced inspector dashboard with OAuth configuration UI
  * **Enhancement**: Better authentication flow handling with OAuth integration
  * **Enhancement**: Enhanced HTTP connectors with OAuth token handling
  * **Fix**: Dependency optimizations and AI SDK updates
</Update>

<Update label="v1.6.0" description="November 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.6.0&title=Notifications%20%26%20Sampling&date=2025-11&lang=typescript" alt="Release 1.6.0" />
  </Frame>

  ## Notifications & Sampling

  Bidirectional notification support and LLM sampling capabilities.

  * **New**: Bidirectional notification support between clients and servers with handler registration
  * **New**: LLM sampling allowing MCP tools to request completions from connected clients
  * **New**: Widget build ID support for cache busting in widget UI resources
  * **New**: Inspector notifications tab with real-time display
  * **New**: Server capabilities modal showing supported MCP features
  * **Enhancement**: Refactored HTTP transport to reuse sessions across requests with configurable idle timeout
  * **Enhancement**: Session management with tracking and automatic cleanup
  * **Enhancement**: Roots support in connectors and session API
  * **Enhancement**: Session event handling API for notification registration
  * **Enhancement**: Server methods for session management and targeted notifications
  * **Enhancement**: Enhanced search\_tools with metadata (total\_tools, namespaces, result\_count)
  * **Enhancement**: RPC message logging support in inspector
</Update>

<Update label="v1.5.0" description="October 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.5.0&title=OpenAI%20Apps%20SDK%20Integration&date=2025-10&lang=typescript" alt="Release 1.5.0" />
  </Frame>

  ## OpenAI Apps SDK Integration

  Release with comprehensive OpenAI Apps SDK support and widget system.

  * **New**: McpUseProvider component combining React setup (StrictMode, ThemeProvider, BrowserRouter, ErrorBoundary)
  * **New**: WidgetControls component with debug overlay and view controls (fullscreen, PIP)
  * **New**: useWidget hook for type-safe React adapter to OpenAI Apps SDK API
  * **New**: ErrorBoundary component for graceful error handling
  * **New**: Image component handling data URLs and public file paths
  * **New**: ThemeProvider for consistent theme management
  * **New**: WidgetInspectorControls for inspector-specific debugging
  * **New**: Console proxy toggle for iframe console logs
  * **New**: Product search result widget template with carousel and accordion components
  * **New**: Folder-based widget support with automatic detection
  * **New**: Public folder support for static assets
  * **Enhancement**: Enhanced SSR configuration with proper Vite settings
  * **Enhancement**: Improved OpenAI component renderer with better height calculation
  * **Enhancement**: Enhanced tool result display with multiple content types
  * **Enhancement**: Resizable panels with collapse support
  * **Enhancement**: Better widget security headers and CSP configuration
</Update>

<Update label="v1.4.0" description="October 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.4.0&title=Code%20Mode&date=2025-10&lang=typescript" alt="Release 1.4.0" />
  </Frame>

  ## Code Mode

  Introduced code execution capabilities for agents.

  * **New**: Code Mode feature allowing agents to execute code using MCP tools
  * **New**: VMCodeExecutor for local execution environments
  * **New**: E2BCodeExecutor for remote execution in cloud sandboxes
  * **New**: CodeModeConnector for tool discovery and execution
  * **Enhancement**: Enhanced MCPClient with code execution configuration
  * **Enhancement**: Comprehensive tests for code execution functionality
</Update>

<Update label="v1.3.0" description="October 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.3.0&title=Edge%20Runtime%20Support&date=2025-10&lang=typescript" alt="Release 1.3.0" />
  </Frame>

  ## Edge Runtime Support

  Migrated to Hono framework for edge runtime compatibility.

  * **Major**: Migrated from Express to Hono framework for edge runtime support (Cloudflare Workers, Deno Deploy, Supabase)
  * **New**: Runtime detection for Deno and Node.js environments
  * **New**: Connect middleware adapter for compatibility
  * **New**: `getHandler()` method for edge deployment
  * **New**: Supabase deployment documentation and templates
  * **Enhancement**: Improved MCPAgent message detection with robust helpers for different LangChain formats
  * **Enhancement**: Fixed server base URL handling for proper connection and routing
  * **Enhancement**: Better auto-connection logic with error handling and retry mechanisms
  * **Enhancement**: Enhanced useMcp hook with improved connection state management
</Update>

<Update label="v1.2.0" description="October 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.2.0&title=LangChain%201.0.0%20Support&date=2025-10&lang=typescript" alt="Release 1.2.0" />
  </Frame>

  ## LangChain 1.0.0 Support

  Updated to support LangChain 1.0.0 with improved compatibility.

  * **Major**: Support for LangChain 1.0.0
  * **Fix**: Model type compatibility for LangChain 1.0.0
  * **Fix**: Apps SDK metadata setup from widget build
  * **Enhancement**: Set CLI and inspector as dependencies
</Update>

<Update label="v1.1.0" description="October 2025">
  <Frame>
    <img src="https://mcp-use.com/api/og/release?v=1.1.0&title=Apps%20SDK%20Initial%20Integration&date=2025-10&lang=typescript" alt="Release 1.1.0" />
  </Frame>

  ## Apps SDK Initial Integration

  First integration of OpenAI Apps SDK support.

  * **New**: OpenAI Apps SDK integration with UI resource type
  * **New**: Enhanced MCP-UI adapter for Apps SDK metadata
  * **New**: Resource URI format supporting `ui://widget/` scheme
  * **New**: Tool definitions with Apps SDK-specific metadata
  * **Enhancement**: Comprehensive test suite for Apps SDK resources
  * **Refactor**: Renamed `fn` to `cb` in tool and prompt definitions for consistency
  * **Refactor**: Updated resource definitions to use `readCallback`
</Update>
