# Changelog ## 0.30.1 ### Fixed - **`auth login` works on a server that speaks only 2026-07-28.** The login went through, then the command failed on its own 2025 `initialize` with "Unsupported protocol version: 2025-11-25". `auth login` now negotiates the version the way `snapshot` does by default. - **`init` pins `astral-sh/setup-uv` at v10.3.3**, the version toolmenu's own workflows now use. ## 0.30.0 ### New - **`scan` ranks across servers (`search/outranked`).** An agent with several servers loaded searches all their tools at once, so a tool its own server ranks in the top results can drop out. With Atlassian, GitHub, Sentry and Azure DevOps together, 8 tools do in Claude's search (GitHub's `list_issues`: 4th alone, 23rd with the others), none in Codex's. `scan --routes` checks your phrases across servers; `scan --client` ranks per client. - **`--client a,b` checks for several clients in one run** (also `scan --client`, and a list in the config). The client-specific rules run for each, labelled "For Codex: …"; the first client is the main one. - **`search/client-difference`** (info): with two or more clients toolmenu can rank, the tools one client's search finds by their own name and another's misses. Sentry 0.49.0's `find_organizations` is 23rd in Claude's search and 7th in Codex's: missed in one, found in the other. - **`--client codex` ranks tools for `search/findable`.** Codex's source (commit `3869f39`, read 2026-11-19) defers every MCP tool when the model supports tool search, ranks them with BM25 over the name, `title`, description and top-level argument names (not their descriptions), and returns 8 by default. `search/findable` now uses each client's own result count, 5 for Claude, 8 for Codex, and Codex's fields for Codex. ### Repository - **The plugin runs toolmenu 0.29.0** (was 0.28.1): its snapshots report `instructions/unknown-name` and `spec/discover-refused`, and no longer `description/late-instruction`. ### Fixed - **A call whose connection drops is the network's, not a `session/step-failed` error.** When toolmenu's own request gets no answer (Node's fetch throws "fetch failed": a reset, the other side closed), the call counts under `session/untested` as "on the network", with a next step to rerun. On the 2026-11-22 weekly bench, aliasbakery's `about` answered at step 2 and dropped at step 11, and the finding called it the server's error. A tool that answers "fetch failed" as its own error stays a `session/tool-error`. ## 0.29.0 ### New - **`instructions/unknown-name`** (warn): the server's `instructions` name a tool the menu doesn't list, or, with `--lists resources`, a resource URI no listed resource or template matches. Dreamwork 1.10.0's instructions told the agent to call `submit_feedback` while its menu didn't have it (it was added a day later, under the same version). Tool names are read from the words, so the finding is marked unsure; fields, values, subcommands, prompts and names in a sentence that says why they're missing (old names, a login, a token, an API key) are left out. On 1,078 hosted servers listed without credentials, 16 get it, from 52 before those filters. - **`spec/discover-refused`** (warn): `server/discover` refused with 401 or 403 while the 2025 handshake serves the menu. 0.28.1 falls back past it; this says so to the server's author, since a client that tries 2026-07-28 first stops there (the official SDK client with `versionNegotiation: auto`). Dreamwork 1.10.0 and 3 of 733 hosted servers that needed a login on 2026-11-09 do this. - **`diff/server-version-stale`** (info, with `--release`): the server reported the same `serverInfo.version` in both releases, so whatever tracks it by that version sees no change. `serbia-prices-mcp` 0.1.5 reports FastMCP's own 4.2.1. ### Changes - **`description/late-instruction` is retired.** It flagged instructions past character 280, a cut that no client documents: the number came from one private client. Claude Code documents 16,384 and 4,096; `description/buried` checks those, the `amazon-q` preset's 10,024 (reported, not documented), or your own `descriptionLimit`. A config that still names the rule loads, with a line saying it changes nothing; `toolmenu explain description/late-instruction` says why it went. - **A config rule id that isn't a rule is no longer ignored in silence.** `"naming/vauge-id": "error"` used to change nothing without a word, so a CI gate on it wasn't one. toolmenu now says so on stderr, with the closest ids, and runs. - **`auth login` says when the server didn't ask for the login.** A token stored earlier, sent to a server that never challenged, read as "Logged in" with nothing else; it now adds how many tools the server lists without a login, and the commands to compare or log out. ### Repository - **The plugin runs toolmenu 0.28.1** (was 0.28.0): `snapshot` lists a server that refuses `server/discover` but serves a menu over the 2025 handshake. ## 0.28.1 ### Fixes - **A `server/discover` refused with 401 or 403 is no longer read as a login wall.** Dreamwork 1.10.0 answers `server/discover` with a 401 and serves a 74-tool guest menu over the 2025 handshake; `snapshot` stopped at "wants credentials". toolmenu now tries the 2025 `initialize` first and reports credentials only when that is refused too. `--protocol modern` still uses the 2026-07-28 handshake alone. - **`auth login` says so when the server never asked for a login**, and stores nothing, instead of "Logged in" with no token behind it. ### Repository - **The plugin runs toolmenu 0.28.0** (was 0.27.0): its tools' `apps/resource` findings no longer call a read that failed for credentials or the network the server's. ## 0.28.0 ### Fixes - **`apps/resource` no longer calls a failed read the server's when it was the run's.** `mcp/teamwork` with a dummy key answered "not authenticated", and a hosted server that lists its tools without credentials answered "missing authorization header"; both were warnings that the resource "MUST exist". A read that fails for credentials, the network, a rate limit or time is now info saying so, with the same classifier as `--read-resources`. In the committed bench data, 3 of the 9 failed reads behind `apps/resource` findings move; the other 6 stay warnings. ### New - **`snapshot --read-resources`** (with `--lists resources`, or `readResources` in the config) reads each resource `resources/list` names and reports the ones a client gets nothing usable from. `@dpantani/tdmcp` 0.13.2 listed five resources whose read answered `{"error": "Python class … not found."}` as content; the list itself was fine, so nothing said so. Three rules: - `lists/resource-unreadable` (warn): the read fails with an error that is the server's, or succeeds with only an error for a body (marked unsure). Unsure too when every read fails in the same unexplained words. info for an empty `contents`. - `lists/resource-read-schema` (error): a result that doesn't match the official schema of the negotiated version, or that the official SDK client refuses. - `lists/resource-unread` (info): what wasn't checked and why: credentials, a rate limit, a timeout, a backend the server says it lacks, an `InputRequiredResult`, `--max-reads`, the 120 s running out. Templates and `http(s)://` URIs aren't read; a `ui://` resource a tool names stays with `apps/resource`. `--max-reads ` reads n, spread over the sorted list, one request each. No content is kept or quoted, and the reads aren't in the menu file. FINDINGS F21 has the bench run: 53 servers, 6 of them listing 13 resources a client can't read. ### Repository - **The PR comment checks toolmenu's own server.** CI runs the Action on `toolmenu mcp` (6 tools) against the new `docs/toolmenu-menu.json`; the run on the three-tool fixture still tests the Action, without a comment. A test fails when the committed menu file or badge no longer match the server. - **The weekly bench reads resources:** `--read-resources` on stdio servers and images, `--max-reads 5` on hosted ones, and snapshot's outer timeout from 300 to 420 s. `build-vendors.py` filed `lists/resource-unreadable` under `lists/resource-unread`'s kind (it matched rule names as prefixes); an entry without a trailing `/` now matches one rule whole. - Every Action pin in the docs is `v0.28.0`, including three examples in `docs/github-action.md` that were still on `v0.16.1`. ## 0.27.1 ### New - **`toolmenu mcp` has two more tools.** `review_baseline` runs `review`: should a new menu file replace the baseline, with one verdict (exit 1 there is the verdict, not a failure). `check_auth` runs `auth check` on an `https` URL, without credentials; a URL with a user or password in it is refused. `check_session`'s description says it checks results against `outputSchema`, as it has since 0.27.0. - **The plugin runs toolmenu 0.27.0** (was 0.25.0), so it has 0.26.0's security fixes. A fourth skill, `check-mcp-auth`, for a server that answers 401 or a client that can't sign in. `release-check` reports `review`'s verdict, `check-mcp-menu` covers results a client rejects and `--client`, and `setup-ci` mentions `gate: review`. Two eval cases for the new skill. - `.claude/agents/bench-finding-checker.md`: a read-only subagent for this repository that checks one bench finding against the run's raw output. ### Docs - `AGENTS.md`: the docs pages, what belongs in the README, the release steps. - README cut from 989 lines to about 250: what toolmenu catches with the server each was seen on, the commands in one table, and what the bench numbers do and don't say. The reference moved to `docs/`: `snapshot.md`, `session.md`, `diff.md`, `clients.md`, `usage.md`, `ci.md`; the Action's inputs are in `docs/github-action.md`. - New pictures: what a client does and what toolmenu checks at each step (`docs/overview.svg`), `review` as markdown and the HTML report. The terminal demo prints line by line (`scripts/render-demo.mjs`). - The registry, plugin and marketplace descriptions say what toolmenu does now: tests a server as clients meet it, not only its tool list. - `bench/README.md`: the weekly stdio pass rechecks up to 1,000 servers, as `weekly.sh` does. ## 0.27.0 ### New - **`toolmenu auth check `**: an HTTP server's OAuth discovery, checked the way a client that follows the 2025-11-25 authorization spec walks it, without logging in (`auth/discovery`, `auth/resource-metadata`, `auth/server-metadata`, `auth/pkce`, `auth/registration`). A document it can't read (a 403, a 5xx, no answer) is unchecked, never missing. - **`session/output-schema`** (a warning when only `format` checks fail, which many validators skip). A tool that declares an `outputSchema` must return `structuredContent` that matches it (2025-06-18 on, a MUST); the official SDK client raises an error otherwise. `session` now checks every result it gets. - **`session --auto --call-everything`** calls every tool once, writes included, with made-up values where the schema gives none, for a stdio server in a sealed sandbox (refused over HTTP). The bench runs it with no network and no credentials, so every tool's answer is checked, not only the read-only ones'. A readable tool error in answer to made-up values is the right answer, so there it's info, not a `session/tool-error` warning. The bench's `SEALED=1` runs it in a container with no network (`bench/scripts/sealed-one.sh`). A call that fails there, or a run where no call got through, is info too: made-up values and no network say how a tool meets such input, not that the server is broken. Results that break their own `outputSchema` or lack `resultType` keep their level. - **`toolmenu review `: should the new menu replace the baseline?** `diff`, plus the menu rules on both files: which findings the new menu adds, clears or changes (a summary that now names another tool is worse), and one verdict (`unchanged`, `safe`, `breaking-released`, `breaking`, `review`) with an exit code to match. With `--release`, breaking changes are accepted when the bump allows them. Text, markdown and JSON; `reviewMenus` in the library. - **The Action leads with the review verdict.** Every report starts with whether the PR's menu can replace the baseline as it is, and the findings it adds, clears or makes worse; the `verdict` and `accept` outputs carry it. `gate: review` makes the job pass or fail on the verdict instead of `diff`'s findings (a breaking change the release bump allows passes). The default, `gate: findings`, keeps 0.26's behaviour. - **Seven more `--client` profiles**, each value read from the client's own docs or source: `codex`, `vscode`, `copilot-cloud-agent`, `copilot-code-review`, `gemini-cli`, `gemini-api` and `antigravity`. Two rules come with them. `menu/client-limit` warns when one server lists more tools than the client sends at once (VS Code: 128 a request). `menu/client-features` says what the client leaves out: Copilot cloud agent and code review use tools only, and code review only tools marked `readOnlyHint: true`. `naming/client-name` now covers clients that rewrite a name instead of refusing it (Gemini CLI). Limits that only forum posts state (Cursor's 40) aren't checked. - **`docs/PROTOCOLS.md`, written by a test.** Every protocol version in `schemas/` is run against a fixture server on each `npm test` (handshake, `spec/schema` on a good and a bad list, a session whose call adds a tool mid-list); the table is that run. - **False-positive guards.** A fixture server that does everything right gets no finding from snapshot (all options), `--client`, `session --auto` or `diff`, on either protocol; and the findings on nine real menus are recorded (`test/fixtures/golden/findings.json`), so an engine change that moves one fails until it's explained. ### Fixes - **`diff` and `review` no longer crash on boolean subschemas.** JSON Schema allows `true` and `false` as a whole schema; `"items": true` (figma-mcp-rs 0.1.0) threw "Cannot use 'in' operator to search for 'const' in true", so the Action's diff step failed on any such server. `true` now reads as anything, `false` as nothing. A `null`, a string or a number where a schema belongs (a broken server) no longer crashes `snapshot`'s ID rules, the token breakdown or `diff` either; a change to one is still reported. `test/odd-schemas.test.mjs` runs every analysis on all of them. - **`spec/schema` says why the SDK rejected a list.** It quoted the first line of the SDK's error, which for a validation error is "Invalid result for tools/list: [". Each problem is now a detail line: `tools.1.outputSchema.type: Invalid input: expected "object"`. - **`session/edit` only in a field the model doesn't read is a warning.** The same `version` hash, changing between two lists mid-session, was an error saying it invalidates the cached prompt. Like the variance rules, it now warns and names the field. - **A call refused with HTTP 401 or 403 is a credential failure**, whatever its words: Google's hosted servers list tools to anyone and answer each call with a 401 and a `WWW-Authenticate` for that tool. Those were `session/step-failed` errors. - **More setup failures read as setup failures:** "needs credentials" (botverse-mcp), "no browser found" and "the extension is not connected" (mcp-session-bridge), and "not a git repository" (diffci) were `session/step-failed` errors, and "needs an Entyrix API key and ENTYRIX_API_KEY is not set" (@entyrix/mcp) a `session/tool-error`. - **"API key not configured" is a missing credential.** A tool that said so (mcp-adr-analysis-server) was a `session/step-failed` error, the server's fault; it's now counted with the other setup failures in `session/untested`. - **`session --union-out` keeps the list's cache hints** (`ttlMs`, `cacheScope`), as `snapshot`'s menu file does. Without them, `review` of a snapshot against a union menu from the same server said `spec/cache-hints` was gone (14 of 250 servers). - **Variance only in fields the model doesn't read is a warning.** `menu/nondeterministic`, `menu/process-variance` and `menu/connection-variance` said "every conversation can miss the prompt cache" (error) when tools/list differed only in, say, a per-tool `version` hash that changes on every call (59 `@pipeworx` servers). The model reads names, descriptions and input schemas, so no cache is lost; the baseline still never matches. They now warn, name the fields, and say that. - **`wait_for: tools_list_changed` after a call sees the notification that call caused.** It counted only notifications that arrived after it started, but a call's `list_changed` usually arrives while the call step runs, so the README's own scenario (`call: unlock_toolset`, then `wait_for`) waited out its timeout and said `timed-out`. It now counts from the start of the last call, or from the end of the last `wait_for`. - **`diff/param-type` names only the types calls lose.** `null|string → string` said "Calls that send a null|string fail validation"; it now says "a null". ### Bench - Four panels, rerun weekly (`bench/scripts/weekly.sh`): the hosted panel, registry stdio servers with a new release (up to 1,000 a week), the servers vendors publish themselves (npm, PyPI, images), and Docker's MCP catalog. Local servers get the sealed `--call-everything` pass. `CHANGES.md` compares each week with the last; FINDINGS F17 to F20 have the first run. ### Docs - `AGENTS.md`: where things are, how to add a rule, what counts as a finding, how the bench runs third-party servers, and how pull request descriptions read. A PR template. - README: what a finding looks like and how much each rule family can be trusted, near the top; the real-server testing in its own section; the session flow as a step-by-step diagram. ## 0.26.0 ### Security From a security audit of the repository. - **`auth login` opens only `https` login addresses** (or `http` to this machine). The address comes from the server's OAuth metadata, and the browser opener does whatever its scheme says: a hostile server could have `xdg-open`, `open` or `rundll32` open a `file:`, `smb:` or app link, which on Windows can start a program. It's refused before anything is opened or printed. - **`toolmenu mcp`: honest annotations, `save_as` inside `cwd`.** `snapshot_menu` and `check_session` run the command they're given, but were annotated `destructiveHint: false`, so a client that auto-approves non-destructive tools would let a prompt-injected agent run anything. They're `destructiveHint: true` now. `save_as` writes only inside `cwd` (symlinks followed): a new file, or an existing menu file, never a shell profile or a source file. - **Reports show a server's text; they never act on it.** Tool names, descriptions, `serverInfo` and error text went into reports as sent. In a terminal, escape sequences could change the title, clear the screen or fake links, and a newline could forge a finding or a `::error::` line in a CI log. In markdown (the Action's PR comment) a backtick ended the code span, and images, links, @mentions and #references rendered, posted by github-actions. Now control, invisible and text-direction characters are shown as escapes (`\u001b`, `\n`), markdown is escaped around toolmenu's own `code`, and every write to stdout and stderr goes through the same escaping. JSON output stays the same JSON. The menu file keeps the exact bytes. - **The Action's PR comment can't be taken over.** It edited the first comment with its marker, whoever wrote it; now only one its own token wrote. - **The Action keeps PR text out of its arguments and its markdown**: `--release` is one argument (a `package.json` version with spaces added arguments), and error output goes in a code block its backticks can't close. - **`scan` fills `${VAR}` only from variables you name** with `--allow-env` (or `'*'`). A config decides where each value goes, a URL included, so scanning someone else's `.mcp.json` could send any secret in your environment to their server. - **Credentials off the command line.** `TOOLMENU_ARGS` (a JSON array of options and their values) keeps `--header`, `--env` and `--client-secret` values out of `ps`, where every user of the machine can read them; the Action passes its `headers` and `env` that way (to an older `version` still as arguments, with a warning). - **Release and CI workflows**: least-privilege tokens, every action pinned to a commit (Dependabot keeps them current), and the npm package built in a job apart from the tests and published from a job that runs no dependency, with npm's trusted publishing: no long-lived npm token anymore. `toolmenu init` pins the actions it writes the same way. - Smaller: a menu file, `toolmenu.config.json` or scan list that isn't JSON is reported without quoting it; JUnit output escapes characters a terminal acts on; `history` uses only semver-shaped registry versions; macOS runners (bash 3.2) get their SARIF files. ### Breaking - `scan`: a config that uses `${VAR}` needs `--allow-env VAR` (or `--allow-env '*'` for the old behaviour). The entry says which. - `toolmenu mcp`: `save_as` outside `cwd`, or over a file that isn't a menu, is an error. The release-check skill keeps its baseline inside the worktree. - `snapshot` exits 1 on a server whose tool names hold control, invisible or text-direction characters (`spec/tool-name`, below). ### Also - **`spec/tool-name`**: a tool name outside the format the spec recommends from 2025-11-25 (1 to 128 of `A-Z a-z 0-9 _ - .`) is a warning (info on older protocols), and an error when it hides characters. - **An HTML report.** `--html ` writes the run of `snapshot`, `diff` or `session` as one self-contained page beside the usual report: stat cards (errors, warnings, tools, tokens; breaking changes and the suggested bump for `diff`), the menu as a table in server order with each tool's share of the tokens, and the findings with their next steps. `diff` shows each tool before and after; `session` has a row per step with the menu after it, marking tools inserted, appended or edited, and links each step to its findings. No script and nothing fetched, so it opens offline from a CI artifact; light and dark follow the viewer. The design follows the Board UI design system, in the logo's colours. - Library: `session` takes `onStepMenu` (the menu after each step, with what the step inserted, appended, moved, edited or removed; `stepMenu` and `StepTool` are exported), kept out of the result so the JSON output is unchanged. New `comparedTools(before, after, ignore)` returns the tools `diffMenus` compares (after the ignore globs, with their served positions) and which were added, removed and renamed; `diffMenus` uses it too. ## 0.25.2 - **JUnit output, for CI systems other than GitHub.** `--junit ` writes the findings of `snapshot`, `diff` or `session` as JUnit XML beside the usual report; `--format junit` prints it instead. Each finding is a test case named after its tool (classname `toolmenu..`), failing at or above `--fail-on`, so GitLab, Jenkins, Azure DevOps and CircleCI show them as test results that agree with the exit code. The README has a GitLab CI example. - **README: toolmenu as a library.** The exported API (`snapshot`, `diffMenus`, `session`, `history`…) was there but not documented; now it has a section. And `routes.yml`, the keyword-routing check, is in the "What it catches" table. - **The MCP server refuses a URL with credentials in it.** `snapshot_menu`, `diff_menus` and `check_session` passed `url` to the CLI as an argument, where other local users can read it (`ps`). A `https://user:password@host/mcp` URL is now an error that points to `headers`, which travel through the environment; the error doesn't repeat the URL. An unparsable URL is refused too. ## 0.25.1 - **In the MCP Registry.** `server.json` lists toolmenu's MCP server as `io.github.niksa90/toolmenu`, and `package.json` gains the matching `mcpName`, which is how the registry checks that the npm package is this server's. The release workflow publishes the entry after npm, signed in with GitHub's OIDC token. - The npm page shows the logo and the Glama badge. ## 0.25.0 - **A README badge.** `snapshot --badge ` writes a shields.io endpoint file (`toolmenu | 12 tools · ~4.1K tokens · 2 warnings`, red with errors, yellow with warnings) and prints the README line, which reads it from GitHub on the default branch. Committed with the baseline, it changes when the baseline does. toolmenu's README shows its own MCP server's. - **SARIF output, for GitHub code scanning.** `--sarif ` writes the findings of `snapshot`, `diff` or `session` as SARIF 2.1.0 beside the usual report; `--format sarif` prints it instead. Each result points at the menu file, at the line of the tool it's about (`--sarif-menu` names the committed one when the menu was written elsewhere), with a fingerprint from its rule and tool (and which of that rule's findings on the tool it is) so alerts track across runs. The Action's new `sarif` input writes `snapshot.sarif`, `diff.sarif` and `session.sarif` into a folder for `github/codeql-action/upload-sarif`. - **Plugin: two more skills, and evals.** `release-check` (before tagging or publishing: what changed since the last release, what breaks clients, the bump it needs) and `setup-ci` (adds toolmenu to CI with `toolmenu init`). `check-mcp-menu` names more of the moments it's for (a rename, a description edit, an agent picking the wrong tool) and falls back to the CLI without the MCP tools. `plugins/toolmenu/evals/` has seven cases for `claude plugin eval`: each skill fires on its own prompts (3 of 3 runs, 0 of 3 without the plugin), none fires on unrelated work, and `setup-ci` gives the right `init` command for a scaffolded project. ## 0.24.0 toolmenu as an MCP server, so the agent building your server can check it while it works, and a Claude Code plugin that installs it. - **`toolmenu mcp`**: toolmenu as an MCP server over stdio, for the agent building your server. Four tools, `snapshot_menu`, `diff_menus`, `check_session` and `explain_rule`, each running the matching command in a child process and returning its report. Findings are a report, not a tool error; a server that couldn't start or a bad path is. Its own menu has no findings at any level, on both protocols and under `session --auto`, and a test keeps it that way. - Each run is its own process group: a cancelled call, a run past 10 minutes and the client disconnecting stop the run and the server it started, a server that ignores SIGTERM included. On Windows, where there are no process groups, a stop ends the run's process tree (`taskkill /T`), with no console window per run. - Header and env values (credentials) reach the CLI through the environment, not its command line, and a tool error never repeats the command line. - Paths, rule names and option values from the agent are never read as options, and a `cwd` that isn't a folder says so. - **A Claude Code plugin** in this repository (`/plugin marketplace add niksa90/toolmenu`): the server, pinned to the plugin's version, and a `check-mcp-menu` skill that says when to run it and how to read the report. - `@modelcontextprotocol/server` and `zod` are runtime dependencies now (the server). - **Security: the MCP SDKs are 2.4.0 or later** (`client`, `server`) and zod 4.6.7 or later. Earlier client releases could send OAuth credentials to an authorization server the MCP server chose, and re-send custom headers (an `Authorization` given with `--header`) across a cross-origin redirect; toolmenu connects to servers it doesn't control with both. 0.23.0 and earlier allow the affected versions. - **A server that redirects to another origin now fails to connect**, where 0.23 followed it: the SDK (2.3 and later) follows a redirect only within the same scheme, host and port (or http to https on the same host), so it doesn't re-send headers and credentials elsewhere. Clients built on the TypeScript SDK fail the same way (others may still follow it). toolmenu says so and names the URL to use (`toolmenu snapshot `). - **`spec/x-mcp-header`**: a header on a `number` parameter is now like any other broken annotation (error over HTTP, warn on stdio), not a warning everywhere: the SDK client drops those tools too since 2.4.0. `diff/x-mcp-header-invalid` counts it as well. - **Releases**: a tag push also creates the GitHub Release, with the version's CHANGELOG section as its notes, in its own job: the only one with write access, and safe to re-run after the npm publish. ## 0.23.0 MCP extensions: Apps, Tasks, Server Cards, and the extension capability itself. These are live on real servers now, so toolmenu checks them too. - **MCP Apps** (`io.modelcontextprotocol/ui`). `snapshot` and `session` list as a client that renders apps, as they already declared elicitation, so a baseline holds the tools and UI variants a server keeps for Apps hosts. - **`apps/resource`** (warn): each `ui://` resource a tool names is read with `resources/read`, as a host does. It must exist, be `text/html;profile=mcp-app` and carry text or a blob. - **`apps/visibility`** (warn), **`apps/legacy-key`** (info), and **`apps/app-only-listed`** (warn): a tool meant for the app only, listed to a client without Apps, whose agent then gets it as a regular tool. GitHub's hosted server lists its `ui_get` that way (reported upstream). - Tools only the app sees (visibility without `"model"`) are left out of what the agent reads: the naming, description, ID and search rules, the token breakdown, the `--client` cost and `diff`'s token totals. The unannotated-tool and read-only-mismatch rules still cover them: the host confirms the app's calls by their annotations. - **`menu/capability-dependent`** now says which capability a tool depends on, elicitation or Apps, and covers tools that go away for a capable client (Supabase's hosted server keeps `get_cost` and `confirm_cost` for clients it can't ask). - **Extensions** (SEP-2133). The menu file records `capabilities.extensions`. **`spec/extension-id`** (warn) checks each identifier's vendor-prefix/name form, and that its settings are an object. `diff` reports an extension removed (breaking), added or with new settings, a tool losing `"model"` from its visibility (breaking), gaining it, or naming another UI. Menu files from before 0.23 have no extensions recorded and aren't compared on them. - **Tasks**. **`session/undeclared-task`** (error): a call answered with a task to poll (`resultType: "task"`) although session declares no Tasks support, which ext-tasks forbids. **`spec/task-required`** (info): a 2025-11-25 tool marked `execution.taskSupport: "required"`, which a client without Tasks can't call. - **Server Cards** (SEP-2127). For an HTTP server, `snapshot` reads `/server-card` without credentials. **`spec/server-card`** (warn) reports a card that fails the Server Card schema (bundled), or whose version or protocol versions contradict the live server. No card says nothing. - **`spec/server-info`** is info on 2026-07-28, where serverInfo is a SHOULD, and says an empty version is empty. It stays a warning on 2025, where it's required. - **`scan --no-auth`** skips stored logins (it used them anyway). An option that belongs to another command is named on stderr, not ignored silently. - **The leading verb reads past a namespace prefix and an object-first name** again (`kubectl_create`, `browserbase_session_create`), for the unannotated-tool and read-only-mismatch rules and `--auto`'s read-only guard: a regression since 0.20.1. - **`write/read-only-mismatch`** leaves out a tool whose description says it only reads. Vercel's `create_observability_query` runs a read-only query. - **Colour in a terminal**: severities, rule ids, the `→ Next:` step and the verdict, with evidence dimmed, for every command's text report and for errors. Only when the output is a terminal: pipes, CI logs, `--json`, markdown and github output are unchanged. `NO_COLOR` turns it off, `FORCE_COLOR` on. - Checked on real servers: - The 22-server bench, now declaring Apps: every server starts and lists as before. Apify keeps two widget tools for Apps hosts; their UI resolves. - Four servers with Apps UIs pass the `apps/*` rules. Five hosted servers serve a Server Card (Context7, Hugging Face, Exa, GitHub, Notion); all agree with the live server. - Hosted and local servers with real credentials (GitHub, Atlassian, Sentry, Notion, Supabase, Vercel), snapshot and `session --auto` on read-only tools: the findings above, and none false. ## 0.22.0 Three things the 0.21 corpus run found in real servers, now rules of their own. - **`session/error-not-flagged`** (warn, unsure): a tool that passes its API's HTTP error on as a plain result, not marked `isError`. Notion's server returns `{"status":401,"object":"error",…}` that way, so a client that branches on `isError` takes it for a success. The error must be a JSON object whose own `status` (4xx, 5xx) or code says so, with a sign it's an error (`object: "error"`, an `error` field, a `message`). Tools that take a URL are left out: their answer is the page's. One finding for the run. An auth one still counts toward `session/untested`. - **`menu/network-dependent`** (warn) with **`snapshot --offline-check`** (stdio, or `offlineCheck` in the config, which `scan` follows too). The menu is listed once more from a process whose proxy variables point at a closed port. - inite-visibility serves 3 tools that way and 10 with the network; Netlify's server serves 9 and 10. A baseline made on a machine with the network doesn't match one without. - A server that doesn't start offline is info. - It's one-sided, and the docs say so: a server that ignores the proxy variables still reaches the network where the machine has direct access. - **`session/server-unresponsive`** (error): the finding for a server that stopped answering after a step (0.21 stopped the run there), under its own id rather than `session/step-failed`. fulcra-context-mcp polls its device-code sign-in on the event loop inside a tool call. - **`snapshot` lists as a client that supports elicitation**, and once more without it: **`menu/capability-dependent`** (info) names the tools only one of them sees. github-mcp-server 1.14 lists `delete_repository` only to a client that can ask the user to confirm; toolmenu declared nothing until now, so a baseline missed the most destructive tool on the server and `diff` could never see it change. The menu file now holds the elicitation client's menu: a baseline from 0.21 or earlier may show such tools as new in the first `diff` after upgrading. The extra listing isn't made with `--processes 1`. - **Later processes speak the main connection's protocol.** On stdio, the official SDK falls back to the 2025 handshake when the `server/discover` probe times out (within `--timeout`); under load, mastra's main process did, while its second process got 2026-07-28. The two menus then differed in `$schema`, a false `menu/process-variance`. A probe that ends on the other protocol is now asked again on the main one's. `spec/discover` then says the connection fell back, not that the server isn't on 2026-07-28. - **`ids/authored` reads a router's operations**: an enum value like `list_workflows` (github-mcp-server's `actions_list { method }`) or `list_project_views` counts as a tool that lists that kind. It must name the kind after its verb (`list_public` doesn't), and a router's `get_…` doesn't count, since it needs the ID. A `commentNodeID` is a comment's ID. On github-mcp-server's full menu, 4 of the 8 notes were false and are gone; in the corpus, one other note (sapiens' `toUserId`, listed by its `search_users` operation). - Corpus run (224 installed npm and PyPI servers, `snapshot --offline-check` and `session --auto`), every new finding read by hand: - `menu/network-dependent` on 3 servers: inite-visibility (3 tools offline, 10 online), Netlify's (9 and 10), and n2c's (the same 28 tools, schemas fetched when it can). - 15 servers don't start or list offline (info): each fetches its tool list at start (apick-mcp, dchub-mcp-server, the scento-perfume pair…). - `session/error-not-flagged` on Notion's server only. - One false positive was found and fixed before release: TabRunner's server talks to its own bridge on 127.0.0.1, and the first offline environment cut loopback too. ## 0.21.0 Two new commands, and four things the hosted scan asked for. - **`toolmenu scan `**: every server in an MCP client config (Claude Desktop, Claude Code's `.mcp.json`, Cursor, VS Code) or a text list, a few at a time (`--concurrency`), side by side, then each one's findings. A server that couldn't be started or read is a row with the reason and makes the exit 2: it wasn't checked, so the scan isn't a pass. `${VAR}` in a config is filled from the environment, and a server whose variable isn't set isn't started with an empty credential. URLs are printed without their query. `--out-dir` saves each menu. - **`toolmenu explain `**: what a rule checks, its default level, and how to change it. Every rule `snapshot`, `diff` and `session` can report is now in [docs/RULES.md](docs/RULES.md); 48 of the 101 had no entry in the README or SPEC tables before (most of `diff`'s, the `catalog/` rules, `menu/gated`, `spec/server-info`…). A test fails on a rule without an entry, or with the wrong level. - **`auth/invalid-accepted`** (warn): with credentials over HTTP, `snapshot` lists the menu once more with an invalid credential in the same scheme. Atlassian Rovo (`mcp.atlassian.com/v1/mcp`) serves 4 of its tools to any `Authorization` header, so a client whose token expired gets a smaller menu, not a 401 that would make it log in again. `--processes 1` turns it off. - **`session --auto --create-handles`** (2026-07-28): calls the tool that creates a session, basket or cart, and gives the tools that take it back the handle it returned, beside the made-up one. **`session/handle-roundtrip`** (warn, unsure): the handle just returned is refused; info when the result carries no handle to find. - **`auth login --no-browser`**: prints the login URL, and takes the address the browser ends on, pasted back, for SSH sessions and containers. - **Stdio servers behind a proxy get the proxy and CA settings** (`HTTPS_PROXY`, `NO_PROXY`, `NODE_EXTRA_CA_CERTS`, `SSL_CERT_FILE`, `REQUESTS_CA_BUNDLE`…), and `NODE_USE_ENV_PROXY=1`. The minimal environment left them out, so Stripe's and Supabase's servers couldn't reach their APIs in the hosted scan's container and failed as if broken. Node 22's warning about that variable is left out of the server's stderr in errors. - **An auth error passed on as an answer counts as one** (`session/untested`). With the network reachable, Notion's server got its API's 401 and returned it as a plain result, not `isError`, and `--auto` reported 3 answered calls and nothing else. A JSON object whose own `status` (401, 403) or `code` (`unauthorized`, `forbidden`, `invalid_auth`…) says so now counts; 401 elsewhere in the data doesn't. - **A server that stops answering ends the session.** fulcra-context-mcp polls a device-code sign-in inside a tool call and blocks the server; every later step waited out its timeout and the `tools/list` after it (22 minutes, 20 findings). A `tools/list` that times out after a step now stops the run with one finding. - Corpus run, 0.20.1 → 0.21.0 (224 installed npm and PyPI servers, `snapshot` and `session --auto`), every difference read by hand: 14 servers that failed to start behind the container's proxy (`apick-mcp`, `dchub-mcp-server`, `perfume-mcp`…, which fetch their tool list at start) are now read; 7 sessions whose calls failed on the network now get answers, and Notion's gets its 401 (above); 3 servers serve a larger menu when they can reach the network (inite-visibility 3 → 10 tools, Netlify's 9 → 10, n2c's schemas): with the proxy variables overridden to empty, 0.21 lists exactly what 0.20.1 did. No other finding changed. ## 0.20.1 From the first scan of hosted servers: 200 Streamable HTTP servers from the MCP registry (`bench/corpus/hosted.tsv`), of which 116 listed their tools (45 on 2026-07-28), 78 wanted OAuth and 6 were down. Each fix has a test that failed before. - **`session --auto` no longer calls a tool marked read-only whose name says it writes.** A hosted server marked `create_my_ideal_account` `readOnlyHint: true`, and `--auto` called it on the hint (it failed for want of sign-in). Such a tool is now skipped, with the reason. New **`write/read-only-mismatch`** (warn, unsure) reports them: 28 tools on 8 of the scanned servers, among them a hosted `create_booking`; 16 are one structural-analysis server's model-building tools, which may change only its own state. The verb is the one the name leads with, after a prefix most of the menu's tools share: `score_status_update` scores, it doesn't update. `write/unannotated` reads the verb the same way now (it flagged a hosted `percent_change`). - **Behind a proxy Node doesn't use** (a host `NO_PROXY` exempts aside), every host "doesn't resolve": Node's `fetch` reads `HTTPS_PROXY` only with `NODE_USE_ENV_PROXY=1` (Node 22.21 and later). toolmenu now names the proxy variable and says what to run. - **A proxy that won't open the tunnel** (it answered CONNECT with 502) was "Version negotiation probe failed: fetch failed"; now it says the proxy couldn't reach the host, and what to check. - **Setup failures in hosted servers' words** are counted as setup, not as the server's: "Sign in to … to continue", "Connect your … account" (credentials), and a paid tool ("Payment required", HTTP 402), a new `payment` class. - keboola-mcp-server's "This session has no Keboola credentials" is now one `session/untested` (17 calls, all on credentials), not 17 tool errors. - **A CLI that names its commands when given none** ("Unknown command: undefined. Expected 'init' or 'run'", @cloudflare/mcp-server-cloudflare) gets "try … run". - **`lists/schema`**: "Method not supported" (-32600) for a declared list is Method not found in other words: info, not a warning. - What the scan confirmed: 4 servers on 2026-07-28 leave `ttlMs`/`cacheScope` (one also `resultType`) off `tools/list`, and the official SDK client really refuses their tool list (`spec/schema`); the first hosted server whose tool asked for input mid-call took the decline and answered. None of the 45 menus on 2026-07-28 uses `x-mcp-header`, and none varied between connections. ## 0.20.0 The reference server, a review of 0.18 and 0.19, and `diff` for prompts and resources. - **Checked against the reference server.** `@modelcontextprotocol/server-everything` 2.1.0 (the protocol's reference implementation, on 2026-07-28) is pinned in `bench/` with a scenario that calls its elicitation and sampling demos. Every finding was checked by hand; none is false. Form, multi-step and URL elicitation are each declined and answered; sampling, roots and the async demo's `extensions` capability each come back `-32021` and count as client gaps. - **`diff` compares prompts and resources** when both menus were snapshot with `--lists`: a prompt removed or newly requiring an argument, and a resource template removed, are breaking (`diff/prompt-removed`, `diff/prompt-argument-required`, `diff/resource-template-removed`); added ones are minor; a prompt's other changes and resources added or gone (data) are notices. A list only one menu has isn't compared, and `diff/lists-unread` says so. - **`bench/`**: the corpus (86 registry, 60 popular npm, 37 PyPI servers, pinned versions), the scripts that install and run them, and `compare.py`, which prints every server whose findings change between two runs. What every release here was checked with, now in the repository. - From the review of 0.18 and 0.19: - `--client toString` (or `"client": "constructor"`, or such a `descriptionLimit`) named no client but passed the check and crashed: only real client names pass. - A list longer than 50 pages was checked as if it were all of it; the snapshot now says the checks cover the pages read. - `--format markdown` shows the other lists too. - **`--client openai` has an up-front figure.** OpenAI's tool search guide (developers.openai.com, read 2026-11-03) says a deferred function keeps its name and description in front of the model and defers only its schema; a deferred MCP server shows only its own name and description. The cost line now counts names and descriptions up front and the rest per tool a search loads. How many tools a search returns, and what it matches on, still isn't documented, so `search/findable` still doesn't run for OpenAI. - README: the 2026-07-28 and client sections cover what 0.16–0.19 added. ## 0.19.0 Prompts and resources (point 8 of the 2026-07-28 plan): toolmenu now checks everything a client loads up front, not only the tool menu. On 2026-07-28, `prompts/list`, `resources/list` and `resources/templates/list` are cacheable like `tools/list` (`ttlMs` and `cacheScope` required) and no longer vary per connection. - **`snapshot --lists prompts,resources`** (or `"lists"` in the config) reads each list the server declares a capability for, twice on one connection and once from a second process or connection, and saves it in the menu file beside the tools (optional `prompts`, `resources`, `resourceTemplates` keys; the file is still `toolmenu: 1`). The snapshot says how many it listed. - **`lists/variance`** (warn): a list that changes between two calls, or from a second process or connection. - **`lists/schema`** (error): a list result that doesn't match the official schema, such as one without the cache hints 2026-07-28 requires. A declared list that fails to answer is a warning; Method not found is info (7 of 86 registry servers declare resources without `resources/templates/list`), and a setup failure (credentials, an app that isn't running) is info that says it wasn't checked. - A list asked for that the server doesn't offer is a note on the snapshot line ("no prompts offered"), not a finding: on 86 registry servers it would have been 63 findings saying nothing. - `diff` doesn't compare prompts and resources yet. ## 0.18.0 Client profiles (point 6 of the 2026-07-28 plan): what an agent sees depends on its client, and toolmenu now checks a menu for one, from that client's own docs. Every value carries its source and the date it was read (`src/clients.ts`); what a client doesn't document is left out, not guessed. - **`snapshot --client claude-code | claude-api-search | openai`** (or `"client"` in the config): - a cost line: up front (Claude Code: the deferred tools' names, and the tools marked to load up front in full; Claude's tool search: nothing from deferred tools) and on demand, per tool a search loads, with the largest. OpenAI's spec doesn't say what the model sees before a search, so it gets no up-front figure. `--json` has a `client` object. - the description cut from the profile: Claude Code's (16,384 through search, 4,096 up front); none for the Claude API or OpenAI, whose docs give none. - `search/findable` runs at any menu size for a client that defers, and for Claude Code ranks a description only up to character 4,096, all its search reads. Not for OpenAI: how many results its search returns isn't in its spec. - **`naming/client-name`** (warn, with `--client`): tool names the client's API refuses. Both the Claude API (`^[a-zA-Z0-9_-]{1,128}$`) and OpenAI's functions (`^[a-zA-Z0-9_-]+$`, up to 128) refuse names MCP allows, such as `files.read`. - Sources, read 2026-11-02: code.claude.com/docs/en/mcp; platform.claude.com tool search and define-tools docs; openai/openai-openapi `openapi.yaml` (platform.openai.com wasn't reachable from where this was built; 0.20.0 adds OpenAI's tool search guide). ## 0.17.1 From running 0.17.0 on a real 2026-07-28 server that mints sessions (User Intuition), a review of 0.17.0, and Claude Code's current docs. Each fix has a test that failed before. - **Claude Code's description cut is 16,384 characters, not 2,048.** Its docs (code.claude.com/docs/en/mcp, read 2026-11-02) say Claude Code cuts a tool loaded through tool search, which is on by default, at 16,384 characters, and one that loads up front at 4,096; 2,048 was the cut before v2.1.296. `description/buried` and `description/cut` used 2,048, so they reported cuts Claude Code no longer makes. The default now follows the docs per tool: 4,096 for a tool marked `_meta["anthropic/alwaysLoad"]: true`, 16,384 otherwise. New preset `descriptionLimit: "claude-code-upfront"` (4,096 for every tool) for tool search off. - **"No authentication found" (or no API key, credentials or token "found", "provided", "configured", "set") is a credentials failure.** It was a `session/tool-error` on every call of a server run without its key (User Intuition), instead of one `session/untested` that says to rerun with credentials. - **`session --auto` probes optional handles too.** A read-only tool whose handle is optional (`inspect_research_session { view, session_id? }`) gets one more call with a made-up one. A handle with a `pattern` is probed when the made-up value passes it (the nil-version UUID passes most UUID patterns); 0.17.0 skipped every pattern, so the one real server with session handles was never probed. - **A probe that fails on credentials says nothing about the handle.** 0.17.0 read a "No authentication found" tool error as the right answer to an unknown handle, and could call an auth protocol error `session/handle-error`. Both are now setup failures, counted in `session/untested` like any other. - **`--save-scenario` writes probe steps commented out**, with a note to put a real handle in: replayed as written, they failed as steps. - **`--as`: header names match whatever their case.** `--header "Authorization: …"` with `--as admin:authorization: …` sent both. - **Config `identities` with credentials only for the other kind of server** (`env` for an HTTP server) is a usage error, not an identity that silently lists as nobody in particular. ## 0.17.0 Two parts of the 2026-07-28 standard: server-minted handles (SEP-2567), state across calls that a tool hands out (`session_id`) and others take back; and menus that vary by who asks. On 86 registry servers `snapshot` gives the same results as 0.16.2 apart from one new `ids/handle-lifetime` (User Intuition's `create_research_session`); on 39 servers on 2026-07-28 `session --auto` gives the same steps and findings. - **`ids/handle-lifetime`** (info, unsure, 2026-07-28): a tool that creates a handle another tool takes back, whose description doesn't say how long it lasts. The spec asks for that in the creation tool's description. Handles are kinds that are always short-lived (session, basket, cart, checkout, handle, lease, lock): on the scanned menus, email drafts, CI runs and planner tasks are records that stay. - **`session/handle-error`** (warn, unsure, 2026-07-28): `--auto` calls each read-only tool that takes a handle some tool in the menu creates once with one that can't exist (`toolmenu-unknown-session`). A protocol error in reply is the finding: the model gets no result it can read, so it can't tell it should start a new one. A tool error is the right answer. - **`snapshot --as name:credential`** (repeatable; or `identities` in the config): lists the menu once per identity, an HTTP header or a stdio env var over `--header`/`--env`. The first is the menu saved; the others are compared with it. - **`menu/auth-variance`** (info): what each identity's menu adds, lacks or defines differently, and its tokens. The spec allows it; a baseline of one identity's menu doesn't cover the others. An identity that can't be listed is said, and the rest are still compared. - **`spec/cache-scope-public`** (warn, 2026-07-28): the menu differs by identity and `tools/list` says `cacheScope: "public"`. With identities given, it replaces `spec/cache-hints`' public-scope hint. - A second process's menu (and an identity's) now keeps its list's cache hints. - **`session/session-lost` is for 2025-era servers only.** On 2026-07-28 there are no protocol sessions, so "Unknown session" from such a server is about a session it minted itself; it used to stop the run. ## 0.16.2 The rest of the 0.16.1 review: smaller cases, each fixed with a test that failed before. - **`session`: a `requestState` that isn't a string** stops the call and is `session/result-type` (error). The official SDK client drops one without a word, so the next call went out without it: the tool ran again from scratch and toolmenu counted it as answered. toolmenu now reads `requestState` as the server sent it. - **`session`: a loop is the same question every round.** A question's message now counts, apart from its counters, case and spacing: "Delete a.txt?" then "Delete b.txt?" on one form is still asking (`gave-up`), not a loop; "Go ahead? (asked 2 times)" is the same question again. Asking the same twice and then something else isn't a loop either. The `gave-up` message says "not always for the same thing". - **`$ref`** (`spec/ref`, the token breakdown, and now `diff`): - relative `$id`s and refs join against the resource they're in, even when the root has no absolute `$id` (`dir/a.json` then `b.json` is `dir/b.json`); - two spellings of one URI are one resource (case of host, `./` and `../`); - a draft-06/07 `$id` like `other.json#node` names both the resource and the node; - a ref into a `$defs` entry through a list the walk doesn't enter (an entry's `examples`) marks the entry used. - **`diff` resolves `$ref` with the same resolver.** A malformed escape in one ref no longer leaves the whole schema unexpanded (every other ref compared as written), anchors and `$id` resources expand, and a `"$ref"` inside `enum` or `default` stays data. - **`menu/gated` and `session/unlock-coverage`:** a dispatcher that runs a tool from a set (`call_tool { toolset, tool, arguments }`) is no longer charged as an unlock. A tool that only takes `toolset` still is. ## 0.16.1 Fixes from a review of 0.15.0 and 0.16.0. Each has a regression test made from the failure the review found. On 86 registry servers `snapshot` gives the same results as 0.16.0, and on 39 servers on 2026-07-28 `session --auto` gives the same steps and findings (see the release notes for the runs). - **`snapshot` no longer crashes on a malformed `$ref`.** One bad percent-escape (`#/$defs/100%`) in any tool's schema aborted the whole run (0.16.0; the token breakdown had the same bug before). `spec/ref` and the breakdown now share one resolver: parameters named `default` or `examples` are checked, pointers resolve inside embedded `$id` resources, and draft-07 `#name` ids, `""` refs, `$dynamicAnchor`, anchors nested in a definition and refs to boolean schemas resolve; draft-07 `dependencies` is walked. A local `#…` ref that doesn't resolve is "points to nothing", never "a network URI", whatever the schema's `$id`. - **`menu/gated` and `session/unlock-coverage` warn again** for a tool whose parameter is named for tool sets (`toolsets`), even when its description doesn't say it unlocks tools. 0.15.0's Garmin fix had silenced them too. `domains`, `capabilities`, `packs` and `bundles` still need the description to say so (a device's capabilities, a price bundle). - **`session`, tools that ask for input:** - only the server's own JSON-RPC error to a retry that carried a decline is `session/decline-fails`. A timeout, a rate limit (429 or its words), a lost connection, the SDK rejecting a result the server did send, or an error after rounds where nothing was asked is a failed call, waited out or reported as usual; - `--json` keeps the server's message (first line) when a decline is refused; - rounds that carry only `requestState` are the tool still working, not questions; one that never ends (10 rounds, or 3 × the request timeout in all) is `session/input-loop`, worded as such, also after a question it took; - the same question again is a loop whatever its request key or wording; pages to open (URL mode) are the same question only when the URL is (its query, often a nonce, is ignored); an `input_required` round with nothing in it ends the call; - a tool error answering a decline is never counted as a setup problem ("the user declined to connect GitHub" isn't an authentication failure); - a call that never finished its input rounds is counted in the summary ("never finished"), and doesn't count as having unlocked anything; - elicitation is declared only by `session`: `snapshot` sees the same menu as before 0.16, even from a server that lists more tools to clients that can be asked things. `session --init` honours `--elicitation`. - **Startup hints:** "memory usage 120MB" or an `Options: {…}` log line is no longer read as usage text; a docs or update link is no longer taken for the server's HTTP address; a subcommand is suggested only from where commands go in the help, never from an option's description, and the suggested command is the whole one. Wrapped description lines and log lines never offer one either; commander-style rows (`serve [options]`) do. A server that hasn't exited (timed out, or only closed its stdout) never gets "printed its usage and exited", and rejected credentials come first. Checked again on the 25 registry servers these hints came from: `agentation-mcp` now gets its real subcommand (`server`, not `mcp`). - **`Unsupported platform: myspace`** is the tool's own error again, not a missing piece of this machine; only an operating system's name counts (`linux`, `Windows_NT`, `(darwin)`…), or the message ending right after "platform". - **`x-mcp-header`:** a duplicate involving a `number` parameter is caught. New `diff/x-mcp-header-invalid` (warn): a 2026-07-28 release whose annotation makes HTTP clients drop the tool. A warning, not breaking, because a menu file doesn't say whether the server runs over HTTP; never for operations behind a search tool. Also raised for a server upgrading to 2026-07-28 and for tools a release adds. - The SDK's "excluding tool" warning is held back only while toolmenu lists or calls tools (also in `catalog`, `--init` and auth checks), not for the whole process (it was global for anyone importing toolmenu); overlapping runs share the filter and leave `console.warn` as it was. - The client-capability label no longer says "roots or sampling" when `-32021` names something else. ## 0.16.0 The 2026-07-28 standard, part one: the menu as compliant clients actually show it, and tools that stop to ask the user something. Each rule ships with tests that run a fixture server through the CLI and use the official SDK client as the referee. - **`session`: tools that ask the user something (2026-07-28 multi round-trip requests).** A 2026 tool can stop mid-call and ask for input (`input_required`): a form, a URL to open, or roots or sampling. toolmenu used to report every one as a failed call. It now declares elicitation, declines every request (the same answer every run, no LLM; `--elicitation cancel` for the other one), sends the tool's `requestState` back byte for byte and calls again, and reports what happened: - `session/input-required` (info): which tools asked, for what, and how they answered the decline. - `session/input-loop` (warn): a tool that asks the same thing again after a decline, so an agent whose user says no is stuck. - `session/decline-fails` (warn): a decline that gets a protocol error back instead of a result the model can read. - `session/undeclared-input` (warn): a server that asks for roots or sampling the client didn't declare, instead of returning `-32021`. - `session/result-type` (error): a result without `resultType`, which the official SDK client rejects. `-32021` is read by its code as a setup problem, with the capability it names. Roots and sampling stay undeclared: 2026-07-28 deprecates them. On `@modelcontextprotocol/server-everything` 2.1.0 all three elicitation tools take the decline and answer. - **New rule `spec/x-mcp-header` (2026-07-28): tools that HTTP clients must hide.** A parameter can be mirrored into an `Mcp-Param-*` HTTP header, and Streamable HTTP clients **must** drop any tool whose annotation breaks the spec's rules: empty, not a valid header name, used twice, on an object or array or a parameter with no single type, or reached through anything but `properties`. The official SDK client drops it with only a console warning, so neither the agent nor the server's author sees it go. toolmenu reads the list off the wire, so it still sees the tool, and says which annotation is broken and why. Error over HTTP, warning over stdio. `number` is a warning everywhere: the spec forbids it, the SDK client accepts it for now. The tests run a real SDK client against a fixture server and check that the errors are exactly the tools it drops. - **New rule `spec/ref` (2026-07-28): `$ref`s clients can't resolve.** Clients must not fetch a network URI, so a `$ref` has to point inside the schema. In an output schema, one that doesn't fails every call to the tool in the official SDK client ("has an invalid outputSchema"), however well the server answers: an error. In an input schema, a ref to nothing is an error (the schema isn't valid), a network URI a warning (clients should reject it). `#/$defs`, `#anchor`, `$id` and `#` refs resolve. None of the 788 `$ref`s in the scan corpus is broken; the tests serve each case from a fixture and check the SDK client's behaviour. - **Token breakdown:** a `$defs` entry named by its `$anchor` or `$id` is no longer counted as unused. - **`diff/x-mcp-header`:** a header added, removed or renamed between releases is said as such, with the old and new `Mcp-Param-*` name, instead of "changed in keywords toolmenu doesn't classify". - The SDK client's own "excluding tool" warnings no longer clutter toolmenu's stderr: the finding says the same, once. ## 0.15.0 Fixes and one new rule, from starting ~235 servers: the recent npm and PyPI servers in the official MCP registry, and the 60 most-downloaded npm MCP packages. On 86 recent registry servers, `snapshot` gives the same tool counts, tokens and findings as 0.14.1, apart from the new rule's 14 info findings and one false positive gone (Garmin's `menu/gated`). - **New rule `search/findable` (info): can an agent find each tool by searching?** Clients that defer a large menu (Claude's tool search, OpenAI's `tool_search`, Claude Code's deferred MCP tools) let the model search it, and a search returns 5 tools unless the model asks for more. For menus of 10+ tools and 10K+ tokens (or 30+ tools), toolmenu ranks every tool the way a BM25 tool search does, over its name, description, argument names and argument descriptions, and lists the ones that a search for their own name doesn't put in the top 5. With `routes.yml`, a `must_match` tool past the top 5 for its keyword is a warning. It flagged tools on 14 of the 26 registry servers large enough to defer: Porkbun's `list_domains` comes 37th for "list domains", behind tools whose 5,000-character descriptions say "domain" again and again. No LLM: the ranks are deterministic, but a client's own search can rank a little differently, so findings are unsure. - **A server that doesn't start gets the right next step.** These were the commonest ways a first run failed: - **A CLI that prints its usage and exits** is now said to be one, with the subcommand its usage lists: `Its usage lists “mcp”: try hashgrid mcp` (also `mcp start`, `server start`, `serve`, …). Before, toolmenu told it to log to stderr, the wrong fix for about 25 of the servers that didn't start. Following the new hint started 6 of 10 of them, Azure MCP (73 tools) among them. - **A server that opens an HTTP port instead of talking on stdio** (`@modelcontextprotocol/server-pdf`, `figma-developer-mcp`) is told so, with the address it printed: start it in stdio mode, or run toolmenu against the URL. - **`session`: fewer setup problems reported as the server's fault.** - A tool that asks the client for roots, sampling or elicitation, which toolmenu doesn't provide, counts toward `session/untested`. Before, it was a `session/step-failed` error: `@modelcontextprotocol/server-everything`'s `get-roots-list` failed the run. - "Admin auth is missing" and "Runtime credentials are missing" (securenow) are credential problems, so they count toward `session/untested` instead of failing the run. - A server that says it can't run on this operating system ("Editmamei runs on Windows and macOS; this process is on "linux"", "Unsupported platform: linux") counts toward `session/untested` (something missing on this machine), as one finding for the run, not a `session/tool-error` per call. - **`session`: a long path in an error loses its middle, not its end.** A step's error is cut at 120 characters, and a long path pushed out what came after it: “spawn /tmp/…/scratch…” hid both the missing binary and the `ENOENT`. Absolute paths over 40 characters are now kept to their last two parts when the text is too long (“spawn …/bin/editmamei-core-linux-x64 ENOENT”). URLs keep their paths. - **False positives fixed.** - `menu/gated` and `session/unlock-coverage` need the tool's name or description to say it unlocks tools before an enum of domains counts: garmin-insights' `garmin_sync { domains: [sleep, hrv, …] }` downloads data. `session --auto` still tries such a tool once. - `ids/authored`: `viewUUID` is a view's ID. The kind came out as "view_uu", so the finding named it wrongly and missed `display_pdf`'s output schema, which returns `viewUUID` (server-pdf). - **Docs:** the plan for 0.15 → 0.19, the 2026-07-28 standard (`docs/plans/0.15-2026-readiness.md`). SPEC §1: a rule also earns its place when a 2026-07-28 MUST makes compliant clients hide, reject or misread part of the menu. ## 0.14.1 - **diff: a recursive schema whose `definitions` moved to `$defs` with a new `$schema` is the dialect change, not a removed option.** 0.14.0 fixed this for schemas too large to expand; a recursive reference, which is unrolled once and then left as a `$ref`, still showed `no longer accepts #/definitions/x` as a false `diff/param-type` error beside the `diff/schema-dialect` notice. The pool spelling is now normalised, and an option really removed under the same move is still breaking. ## 0.14.0 A handshake flag for baselines, and two fixes found on real servers. Checked on the 22 bench servers (identical menus and findings against the build before these changes) and on 37 more, where the Azure tool errors now show their reason. - **`--protocol `** (and `"protocol"` in the config file): which handshake to make. `auto` (the default) is as before. `legacy` makes the 2025 handshake only, so a server that now serves both is still checked as a 2025 server and a baseline stays comparable. `modern` pins 2026-07-28 and fails, with a next step, when the server has no `server/discover`. - **`session`:** a tool error that carries a JSON body is shown by its message, and `--json` keeps the tool's whole error text in `serverText`. The "isn't available here" hint no longer fires on the bare words permission or role. - **`diff`:** for a schema too large to expand, `definitions` → `$defs` together with a changed `$schema` is the dialect change only. It no longer reads as a removed union option (an error) next to the dialect finding. ## 0.13.0 Every finding and error now says what's wrong, where, what toolmenu saw, and what to do next. Checked on 70 server setups against 0.12.0: the same menus and tokens on all 61 that started, findings 406 → 291 with no real finding lost, and every one of the 291 with a next step. - **Messages (SPEC §25):** findings gain `fix`, shown as `→ Next:` in text, markdown and GitHub annotations, and `confidence: "unsure"`, shown as `· unsure`, for heuristics and inferences, whose messages say what was seen rather than what it means. One root cause is one finding; the same change in many places is one finding that lists them. Text summaries lead with ✗ / ! / ✓. - **Connection errors** say what failed, at which stage, what was seen and what to do: - stray stdout lines are quoted; - timeouts name the stage and each wait, and why stdio waits twice (`server/discover`, then `initialize`); - crashes give the exit code or signal and the last stderr lines, read to the end; - a server whose stderr says its key was rejected (401, Unauthorized, invalid_api_key) gets that in the headline, as a reading of its log; - a page that isn't an MCP endpoint gives its status, type and title, not its HTML; - DNS, refused, TLS and blocked-port failures are unwrapped from "fetch failed". A server that never answered is stopped at once. A mistyped option suggests the nearest one, and an unreadable menu file says why. - **Per-command help:** `toolmenu --help` (or `toolmenu help `) shows that command's usage, options, examples and exit codes. `--help` is a short overview, and an unknown command lists the commands. - **`init` makes a workflow that works on the runner:** - Paths in the command that are inside the repository become relative to where the server starts. An absolute program on PATH (node from nvm) is called by name. Paths outside the repository, `localhost` URLs, `--env` values that are local paths, and a virtualenv the runner lacks are listed under "Won't work in CI as written", each with what to do. - It can be run from a subfolder: `.github/` goes to the git root, the project file is found in a parent folder, and the server starts in CI where `init` ran. In a monorepo, packages install where their lockfile is and build in their folder, and `release` is off there. - The printed refresh command keeps `--env` and `--header`, with values as shell variables. Files the server needs that git doesn't have yet join the `git add` line. - **`session --auto` reaches more tools:** - `--value name=value` (or `tool.param=value`, or `--values-file`) fills required parameters the schema has no value for. - `--assume-read-only a,b` calls named tools a server doesn't mark readOnlyHint. It takes exact names only, never a tool marked or named as a write, and is loud in the report (`session/assumed-read-only`). - On mcp-server-git 0 → 4 tools called, on DeepWiki 0 → 3. - A required list with no fillable item is "needs values", not `[]`, and a default that doesn't fit its type isn't used. - A call that runs out of toolmenu's `--timeout` says so and suggests a longer one, rather than blaming the server. - **One finding per cause in `session`:** - The same tool error at several steps is one finding. - A mid-session change only in values that vary on every tools/list (PayPal 1.8.1's clock-built defaults) is `session/known-variance` (info), pointing to the finding that reported it. - `session/untested` gives a step for each failure class it saw. - **`snapshot --catalog` reads command routers:** tools that take a `command` and its `parameters` and list their commands with a flag like `learn: true` (Azure's namespace mode). - Each router is called once in its listing mode, never with a command. Its operations land in the same catalog, so `diff` compares them. - On `@azure/mcp` 3.0.0-beta.47 that's 412 operations behind 65 routers, all real. - `catalog.routers` names routers that detection misses. - `catalog/read`, `catalog/failed` and `catalog/skipped` (info) say what was called, what came back and what failed. - **`diff`:** - The same change in several tools is one finding that lists them (`tools`, `places`): chrome-devtools-mcp 1.8.0's 25 "pageId is new and required" rows are one. Counts are per change, and `classes` gives changes and tools touched per class. - Under 1.0.0 the bump check reads versions as npm's caret does: breaking changes need a minor bump, new features a patch. `requiredBump` and `releaseAs` are new in the JSON. - New `diff/param-renamed` (warn, unsure) flags a likely rename; both changes stay breaking. - Paths are code as they nest (`tool.param[](kind="x")`), also in `places`. - Reports lead with the changes and the version verdict, and markdown groups findings by class. - **Snapshot rules:** - `write/unannotated` and `naming/vague-id` are one finding per menu (Miro's 53 warnings become one), the latter with a suggested name. - New `description/late-instruction` (info) takes over the "instructions after character 280" hint from `description/cut`, and a setting for `description/cut` still applies to it. - Determinism findings name the value that differs and what kind of change it is, and variance findings with the same cause point to `menu/nondeterministic`. - `ignore`d tools are left out of summaries. - **`history`:** - A failed version says what happened and what to try, and identical failures are one entry. - npm install failures show npm's own words. - `--format markdown` is a table; JSON rows gain `message`, `fix` and `confidence`, and the report gains `written`. - **`auth`** messages say what failed and what to try. A stored login that can't be used says whether it never finished, expired, or was removed. - **The token breakdown** gives units and a next step for unused `$defs`. - **JSON:** new fields only. `places` in `diff` uses the path form above. ## 0.12.0 - **`diff` is tested by mutation, on real menus:** `test/mutation.test.mjs` edits the schemas of five published servers (mongodb, Notion, Firecrawl, Playwright, Supabase) and the field report's document schema at every position `diff` compares, ten ways (enum narrowed or widened, type changed, field made required, removed or added, union option removed or reordered, block moved to `$defs`, description changed), and checks each gives exactly the rule and bump it should. About 3,100 mutations, every `npm test`. On 0.11.0's code (main at 8b41fc2) 166 were misreported; all pass now. What the sweep found, fixed: - a property named `type` was read as the `type` keyword in the check that keeps changes from going unreported, so reordering its union's options was a false "review it"; - a union option that is itself a union (a `$ref` to one) is compared as its options (Notion's `parent`); - an option edited beyond recognition (its type, its only field) is one change, not "removed" plus "added", and two options without properties have the same shape; - a union cut down to one option is compared with the option it was. The harness also checks that one edit is one finding, which caught this: - **Fix, shared unions:** an option added to or removed from a union that fields of differently shaped objects share (a heading's content and a table cell's) was one finding per object. Findings about a union group by the union itself. - **Union options, further:** an option that's an unexpanded `$ref` (a recursive definition past its unrolled level) no longer hides the others' discriminator (`type="paragraph"`, not `object{content,type} #1`); two objects with fields and none in common are one option replaced by another; matching options is a lookup, not a scan (1,500 changed options: under a second, was 36 s). - **Too large to expand, both sides:** `$defs` entries are compared by name, so an enum narrowed inside one is still breaking; definitions only one side has are one line. - **Checked on 14 public servers' releases (69 pairs) and their menus:** - **zod 3 → 4 spellings are the same schema:** `additionalProperties: {}` is `true`, and an integer's `maximum`/`minimum` of ±(2^53 − 1) (zod 4 adds them to every `.int()`) excludes nothing. chrome-devtools-mcp 1.9.0 → 1.10.1 goes from 61 "review it" to one dialect notice. - **A description inside a nullable option** (`anyOf: [{type: string, description}, {type: null}]`, sentry-mcp) is compared, also when the field has a description of its own; one moved between the option and the node is no change. - **zod 3 → 4 on an MCP SDK server** (27 constructs, zod 3.25 through the SDK's converter, `test/fixtures/zod`): from 2 errors and 40 notices to the real changes. - **`diff/properties-opened`** (minor) and **`diff/properties-closed`** (breaking): `additionalProperties: false` removed or added. zod 4 drops it from every object; that's one line for the menu ("27 tools now accept properties they don't list, at 35 places"), not a "review it" per object. The official `everything` server's 2026.7.4 release: 9 "review it" became that one line. - Absent, `true` and `{}` `additionalProperties` are one spelling, and `propertyNames: {type: "string"}` is dropped. - Still reported: `z.any()`/`z.unknown()` keys made required (breaking), and the patterns zod 4 adds to email, uuid and datetime, and a tuple's dropped bounds. - Several tools restructured or spelled differently but accepting the same input are one `diff/schema-equivalent` line. - **Fix, `diff` on deep schemas:** the field-by-field comparison stopped 8 levels down, counting every array and union option, so one change to a definition a document schema's five block types share was an error for paragraphs and headings and a "review it" for lists, tables and quotes. The limit is 64, and a change past it says so. On mongodb-mcp-server 2.1.2 → 3.0.0 this finds `numCandidates` and `limit` narrowed to integer inside `explain` and `export` too, not only `aggregate`. - **One change at several places is one finding:** the same change, to the same field, with the same schema before and after, inside objects that accept the same (one shared definition), is reported once: the headline names the first place, the detail the others, and `places` in `--json` has them all. Two independent `limit` parameters removed stay two findings. - **Fix, `diff` on unions without a discriminator:** options were paired by position, so reordering a plain `z.union` of objects, or adding an option in front, read as four breaking changes. Identical options pair first, then by type and shared property names; an option with nothing in common is removed or added. Labels name an option by its shape (`object{path}`), not its position. - **Fix, `diff` on very large schemas:** past 50,000 nodes of `$ref` expansion one side was compared unexpanded against the other, and read as "object → any". Both sides are now compared as written, with a notice saying why. - **`diff` compares inside parameters:** fields of object parameters and of array items are compared at every depth, with the same rules and their path (`gen.body.text`). Before, a breaking change nested in a parameter was a "schema-other" notice and a patch bump. - **`diff` expands local `$ref`s** before comparing. A block moved into `$defs` read as "type widened: object → any" on every parameter that used it, with a minor bump; it's now one `diff/schema-equivalent` notice with the token change. A breaking change inside `$defs` is breaking. - **Repeated blocks inside one schema:** the token breakdown fingerprints every nested piece of every schema, and reports blocks repeated inside a tool (with what a `$defs` entry could save) as well as across tools. `repeated` in `--json` gains `count`, `within`, `withinTool`, `saving` and `where`. - **Unused `$defs`:** the breakdown reports definitions nothing in the tool refers to (`unusedDefs` in `--json`). - **`diff` compares union options:** `anyOf`/`oneOf` options (zod unions, discriminated unions, `.nullable()` on a non-primitive) are paired by discriminator value, else by type, and compared with every rule; an option removed is breaking, one added widens. An enum narrowed inside a union was a "review it" and a patch bump while the same change behind a plain `$ref` was an error. mongodb-mcp-server 2.1.2 → 3.0.0: `numCandidates` and `limit` narrowed from number to integer, found. - **Fix, `diff` and recursive schemas:** a recursive `$ref` kept `$defs` on both sides, so a refactor into `$defs` reported nothing at all, not even the promised `diff/schema-equivalent`. Recursion is unrolled one level and `$defs` dropped. And a schema change no rule classifies is now always a `diff/schema-other`. - **`--auto` and open-world servers:** a read-only unlock runs without `--open-world` (it spends no search credits); other open-world tools still wait for the flag. A run that calls nothing is `session/nothing-called` (warn), with the reasons, not a clean pass; an unlock `--auto` skips is `session/unlock-coverage`, with why. Each unlock's first value is repeated, as in the `--init` starter. - **`diff/schema-dialect`** (notice): only the declared `$schema` changed. Said once for every tool that switched: mongodb-mcp-server 3.0.0 moved 27 tools from draft-07 to 2020-12, which read as 27 "review it" notices. - **`session` and rate limits:** a request refused for being too many is waited out, 2 s up to 32 s, and sent again, when that repeats nothing: connecting, listing, the list_changed subscription, the second connections that compare menus and check a change's scope, and a tool call the transport refused with a 429 (the server never ran it). A tool that says it was rate-limited, thrown or as its result, is called again only if it's marked readOnlyHint: it may have done part of the work first. A limit that outlasts the waits, or a write's, stops the run with one `session/rate-limited` (error) naming the steps that didn't run; one while connecting says so instead of the transport's error. A session and a scenario run back to back against a server with a per-IP limit was 19 errors, three for each refused step, and kept calling. An unlock the stopped run never got to isn't also `session/unlock-coverage`. "Order 429 not found" or "rateLimit must be a positive number" isn't a rate limit, for catalog either. `snapshot` (so the Action and `init`), `session --init` and `session --auto` wait out a refused connection and menu read the same way, and say what to do when it outlasts the waits instead of the transport's error. - **Fix, `init`:** only `--env` names that looked like credentials became secrets, so values like `DATABASE_URL` or `SENTRY_DSN` went into the workflow as text. Every value is a `${{ secrets.… }}` now; `GITHUB_*` names get an `MCP_` prefix (GitHub reserves them, and `secrets.GITHUB_TOKEN` is the job's own token). uv projects got `astral-sh/setup-uv@v10`, a tag that doesn't exist: now `v10.2.0`. - **Fix, `session`:** a server that holds a file or a port can't start a second copy mid-session, and that ended the run with no report. The scope is left unchecked instead (`session/scope-unchecked`, info). - **`menu/duplicate-name`** (error): two tools with one name. Such a menu was reported as `menu/nondeterministic`, which it wasn't. - **`spec/tools-capability`** (error): a server that doesn't declare `tools`, which SDK clients never list. Its "0 tools" came with no reason, and the SDK's log line broke `--format json`; library logging goes to stderr now. - **Fix, `description/buried`:** another tool's name counts only as a whole word (`search` isn't in "research"). - **Fix, `diff`:** a changed or added `const` is a breaking change, like a narrowed enum. Versions with trailing text (`1.2.3foo`) aren't read as semver. - **Fix, `session --init`:** the regex that reads a tool's description for "loads more tools" held stray control bytes where `\b` belonged, so it never matched: an unlock tool was only found by its name. Descriptions count again (whole words), and `namespace` alone no longer marks a tool as an unlock (Kubernetes and Pinecone take one on every read). - **Unlock detection, checked on live servers** (github-mcp-server 1.0.5 `--dynamic-toolsets`, toolception 0.6.3, excalidraw-room-mcp staged tools, Serena, and the 22-server corpus): lookups like `get_toolset_tools` and `list_toolsets` no longer count as unlocks (one tied GitHub's `enable_toolset`); an unlock annotated destructive (toolception) is suggested instead of dropped; an unlock-named tool's one required parameter is its argument. - **Every unlock value, not two:** `session --init` unlocks every value of an unlock (its enum, or, without one, the values the server's own read-only listing returns, like toolception's `list_toolsets`), and `session --auto` does the same outside the call budget. On github-mcp-server 1.0.5 `--dynamic-toolsets`, the union went from 9 tools to 107: all 81 of `--toolsets all`, and 23 only the dynamic mode serves. - **`session/unlock-coverage`** (warn): an unlock called with only some of its enum values, or, with `--union-out`, never called. The tools behind the rest aren't in the baseline, so `diff` can't check them. - **Fix, `session` scope:** a step that takes the menu back to where it started (a room left, a toolset disabled) read as `global`. It's `unclear`: a fresh process starts there anyway. - **`session/session-lost`** (error): a server that keeps one session per client ended toolmenu's when its second connection arrived, and every later step read as a server error, the calls as a "404 on the credentials". Now said once, and the run stops; `--processes 1` also turns off the scope probe, so the run completes. - **Fix, `auth login` on Windows:** the browser opens without `cmd`, which cut the URL at its first `&`. ## 0.11.0 - **`--catalog` crawls the catalog by its own names:** from the search tool's own example phrases and the menu's nouns, it searches for every operation found or mentioned, until 20 queries in a row find nothing new (at most 200). On Atlassian's hosted server: 154 of 154 operations, from 8. `catalog.crawl`, `catalog.maxQueries`, `catalog.stopAfter` in the config. - **Fix:** a search result that is JSON followed by prose (Atlassian's `discover`) was dropped whole. The leading JSON is read, and operations named in the prose are followed. ## 0.10.0 - **`toolmenu init`:** snapshots the server into `menu.json` and writes `.github/workflows/toolmenu.yml` for the project it finds (Node, Python, Go, Rust), the Action pinned to this version. Credentials become `${{ secrets.… }}`, never values; it never overwrites a file. - **Where the tokens go:** the snapshot report shows the biggest tools and their description/schema split, the largest enums, and parameters repeated across tools. - **`snapshot --catalog`:** operations behind a search tool (search and execute: Sentry, Atlassian) are read with a fixed set of queries and kept in the menu file; `diff` compares them with the tool rules. Not found this time is a notice, never a breaking change. Paced, and rate limits are waited out. ## 0.9.0 - **OAuth:** `toolmenu auth login ` logs in to an OAuth-protected server once (browser, PKCE, a loopback redirect on a fixed port, `state` checked), and `snapshot` and `session` use the stored login, refreshing it as needed. `auth list`, `auth logout`, `--no-auth`; `--client-id`/`--client-secret` for servers without dynamic registration. Logins are stored per server, readable only by you, and bound to the authorization server that issued them. - **`session --auto`:** steps built from the menu, no scenario: every read-only tool whose required arguments the schema gives, cheapest first, then the first call again. Never a guessed ID; tools marked `openWorldHint: true` only with `--open-world`; `--max-calls`, `--save-scenario`. The Action takes `scenario: auto`. - **`session --union-out`:** every tool the session saw, as a menu file: the baseline for servers whose tools appear after an unlock. The Action's `baseline-from: session` diffs it, in one step. ## 0.8.0 Measured on 22 public servers before and after (`bench/`, FINDINGS F13). - **`menu/process-variance`** (stdio) and **`menu/connection-variance`** (HTTP): `snapshot` starts a second server process or connection and compares menus. On the corpus it fires on exactly one server, mcp-atlassian 0.23.1, whose menu changes on every start. `--processes ` (default 2; `1` turns it off). `session` uses the same check and rules; `session/connection-variance` is renamed accordingly. - **The main process runs with `PYTHONHASHSEED=0`** (unless you set it), so a Python server's saved menu is the same on every run and `diff` doesn't report its set order as a change. The second process gets another seed. - **Findings say which value differs**, down to the leaf, and spot the same items in a different order ("same 11 items, different order: sort them"). - **`session/untested`**: calls that fail before reaching the tool (authentication, something missing on the machine, the network) are one finding for the run, a warning, or an error when no call got through. They no longer count as `session/tool-error` or `session/step-failed` per step. - **Cache wording:** findings no longer say "~N tokens from position p on", which implied the prompt before p stayed cached. Any change to the tool list invalidates the cached prompt; findings say where the change starts and how big the tool list is. - **Quieter heuristics:** `ids/authored` is `info` and one finding per kind of ID, knows `org`/`organization`-style abbreviations, and accepts "found in the URL" as a source; `naming/vague-id` no longer flags `ref`; the starter scenario doesn't take a search filter called `category` for an unlock. - `bench/`: the corpus, a runner and a report, for measuring rule changes. ## 0.7.1 - **Token counts cover what the model reads**: each tool's name, description and input schema. 0.7.0 counted the whole tool definition, including output schemas, annotations, icons and `_meta`, which clients don't send the model. On GitHub's official server (embedded icons) that inflated the menu 5×: ~115K estimated, ~23K real. Baselines written by 0.7.0 are recounted when read, so `diff` compares them fairly with new snapshots. - `diff`: a type written as `anyOf`/`oneOf` alternatives (`anyOf: [{type: string}, {type: null}]`) is the same as `type: [string, null]`. Schema generators switch between the two; 0.7.0 reported it as a breaking type change. - `diff`: a new required parameter that has a default says so. ## 0.7.0 (first release) - `snapshot`: lists the menu twice, checks it against the official schema for its protocol version (2024-11-05 to 2026-07-28), and runs the menu rules: determinism, buried instructions, vague and invented IDs, unannotated writes, routing (`routes.yml`). - `session`: runs a scripted session and reports every mid-session menu change with the step that caused it and where in the list it happened (any mid-session change to a tool list sent at the start of the prompt invalidates the cached conversation; appends are only cache-safe with tool search); flags per-connection changes ruled out by 2026-07-28. `--init` writes a starter scenario that finds unlock tools and unlocks for real. - `diff`: breaking, minor and notice changes between two menus, the token change, and a suggested semver bump, checked against release versions (`--release`). - `history`: installs, snapshots and diffs an npm package's published versions. - GitHub Action: one PR comment, updated on every push, diffing against the baseline on the base branch (or the previous tag), with the version-bump check in any language (`release: auto`). - Formats: text, json, github annotations, markdown. - Needs Node 22 or later (Node 20 reached end of life in April 2026). - The Action: `headers` and `env` for servers behind auth; PRs without secrets are skipped with a note. - The Action runs the toolmenu release that matches its own tag by default (`version: latest` for the newest), so a pinned Action keeps its CLI. - `ignore` in `diff` covers the token change and `tokenBudget` too.