Repository navigation
docs: bring the Inspector pages up to 2.13.0 - #3483
Merged
Merged
Conversation
Pages touched, in both docs/docs/2026-07-28 and docs/docs/draft: inspector/cli.mdx, inspector/configuration.mdx, inspector/mcpdo.mdx, inspector/protocol-eras.mdx, inspector/recipes.mdx, inspector/security.mdx, inspector/web.mdx. Claude-Session: https://claude.ai/code/session_016HDqNadqLF55K3ioiJHQwA
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
localden
approved these changes
Oct 31, 2026
This was referenced Nov 4, 2026
dend
added a commit
that referenced
this pull request
Nov 18, 2026
Adds a dedicated **Load testing** page, and an **Active sessions** section on the web client page. The load mode is run by the web client's Load test panel, the CLI (`--load`) and mcpdo (`tools/call --load`) on one shared engine. Active Sessions is a new web-client view of every session the backend holds open, with a way to end one (modelcontextprotocol/inspector#2901). Before this, the flags were listed only inside a dense CI-gates bullet on the CLI page and in one sentence on the mcpdo page (from #3483). Tracked in modelcontextprotocol/inspector#2869. Both doc versions (`draft` and `2026-07-28`) change identically, apart from their link prefixes. ## What changed | Page | Change | | --- | --- | | `tools/inspector/load-testing` (new) | An overview of the three front ends, then: **In the web client**, with five screenshots (the Load test button, the form, a run in progress, a tool summary, and a scenario stepped over three concurrency levels); **From the command line**, with a core flag table and a topic table for the rest; **The summary** (the three output shapes, each field, p50–p999 and the bounded histogram, the `--load-rate` fields, `stoppedEarly`, the mode-specific blocks); then **Watching a run**, **Saving every call**, **Varying the arguments**, **Scenarios**, **Stepped and ramped load**, **Open loop**, **When a run fails or stops**, **Thresholds** (all five, exit `10`), **Comparing against a baseline**, **Multiple sessions**, **Session churn**, **Notification fan-out**, **Multiple generator processes** (`--load-workers`), and **On an mcpdo connection** (runs inside the daemon, files read by `mcpdo`, later commands queue, Ctrl+C, `connection_lost` / `consecutive_errors`, extra sessions, elicitations). | | `tools/inspector/cli` | A short **Load testing a tool** section with one example, the exit behavior, and a link to the new page. The exit-code `10` row and the CI-gates bullet now link to the new page. | | `tools/inspector/mcpdo` | A short **Load testing** section with one example and a link to the new page's mcpdo section. | | `tools/inspector/web` | A short **Load testing** subsection under Tools, linking to the new page's web section. A new **Active sessions** section with three screenshots: the header button, the list (with **This tab** / **Attached** / **Detached** / **Closed** explained), and the list after a Terminate. It also covers the 60-second detach grace that lets a session outlive its tab, and the `GET` / `DELETE /api/mcp/sessions` routes behind the session token. | | `tools/inspector/configuration` | The **Load test** flag row names representative flags and links to the new page. | | `tools/inspector` | A **Load testing** card under "Where to go next". | | `docs.json` | The new page in both versions' navigation, after mcpdo. | | `images/inspector/load-test-*.png` | The five screenshots, from modelcontextprotocol/inspector#2929 (a real run against a composable test server). The two summary shots are cropped to the modal. | | `images/inspector/web-active-sessions*.png` | Three screenshots from modelcontextprotocol/inspector#2901 (a production build against a real backend). | | `images/inspector/web-tools.png` (replaced) | The Tools section's screenshot now shows a tool's form filled in and ready to run, matching the text, instead of a collapsed result panel. Captured from the current `v2/main` web build at the original 3840×2160, with its caption updated to match. | Sources: `clients/cli/README.md`, `clients/mcpdo/README.md` and `clients/web/README.md` on the Inspector's current `v2/main` (`2c03413b`), plus `core/cli/error-handler.ts` for exit code `130` `clients/web/src/components/groups/LoadTestModal` for the load panel, and `ActiveSessionsModal` plus `core/mcp/remote/node/remote-session.ts` for Active Sessions. ## Verification - `npm run check:docs:format`: passes. - `scripts/check-mdx-comments.ts`: OK. - `npx mint broken-links`: no broken links. Every fragment link in the Inspector pages, including the cross-page ones into the new page, was also checked against its target heading by script, since `broken-links` doesn't check fragments. - All changed `.mdx` files compile with `@mdx-js/mdx` + `remark-gfm`, confirming the `{{seq}}`-style placeholders stay inside code or attribute strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: cliffhall <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Den <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Den Delimarsky · Slack thread
Brings the Inspector pages under
docs/docs/2026-07-28/tools/inspector/anddocs/docs/draft/tools/inspector/up to Inspector 2.13.0, with the same edits in both copies. Each item was checked against the Inspector 2.13.0 tag (e3217388) or the--helpoutput of the published 2.13.0 package.Fixed
protocol-eras.mdx: the modern-era Tasks text no longer tells the reader to run a tool as a task; the web client hides that control on a modern connection and the server decides per request (clients/web/src/utils/toolUtils.ts,ToolDetailPanel.tsx).mcpdo.mdx,recipes.mdx:--taskis described as a legacy-server flag (mcpdo tools/call --help).cli.mdx,protocol-eras.mdx(released copy): spec links point at/specification/2026-07-28/instead of/specification/draft/.configuration.mdx: "Read by" cells namemcpdoforMCP_CATALOG_PATH,MCP_CLIENT_CONFIG_PATH,MCP_OAUTH_CALLBACK_URL,MCP_STORAGE_DIR,MCP_INSPECTOR_OAUTH_STATE_PATHandMCP_AUTO_OPEN_ENABLED(clients/mcpdo/src,core/client/runner.ts,core/auth/node).configuration.mdx:MCP_DEBUGandDEBUGare also read by the TUI (clients/tui/index.ts).configuration.mdx:"type": "http"is an alias written back as"streamable-http"(core/mcp/serverList.ts).web.mdx,security.mdx: theHostheader allow-list that runs ahead of every route and answers 403 (clients/web/server/host-allow-list.ts).Added
cli.mdx: exit codes10(--load-max-*threshold breached) and11(HTTP 429,rate_limitedenvelope withmethod,retryAfter,retryAfterMs) (core/cli/error-handler.ts).cli.mdx,configuration.mdx,mcpdo.mdx: the--loadfamily,--load,--load-concurrency,--load-connections,--load-duration,--load-requests,--load-rate,--load-max-error-rate,--load-max-p99(mcp-inspector --cli --help,mcpdo tools/call --help).configuration.mdx,recipes.mdx:MCP_INSPECTOR_ALLOWED_HOSTSand the reverse-proxy note (clients/web/server/host-allow-list.ts).configuration.mdx,web.mdx,recipes.mdx:INSPECTOR_TLS_KEY_PATHandINSPECTOR_TLS_CERT_PATH(clients/web/server/tls.ts,clients/cli/src/cli.ts).configuration.mdx:MCP_INSPECTOR_LOG_DIRandLOG_LEVELfor the TUI log (clients/tui/src/logger.ts).configuration.mdx:NO_COLOR(core/cli/style.ts).configuration.mdx:-V/--versionin the launcher table (clients/launcher/src/index.ts,mcp-inspector -V).mcpdo.mdx:mcpdo connections/use <name>andmcpdo connect --ema(mcpdo --help,mcpdo connect --help).mcpdo.mdx: thenpx skills add modelcontextprotocol/inspector --skill mcpdoinstall path (mcpdo --help).configuration.mdx: a reference table of the Inspector-specific catalog fields and their defaults, includingoauth.*(core/mcp/types.ts,core/extension/skills/conformance.ts,docs/mcp-server-configuration.mdin the Inspector repo).This PR was drafted with AI assistance (Claude Code).