You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bbedff7
Browse filesBrowse the repository at this point in the historyBrowse files
description: "Drive a locally built server with a real client: the Inspector CLI (scripted), the Inspector web UI (by hand) and an LLM client. Use when smoke-testing a server change; when calling a tool, reading a resource or getting a prompt from the command line; when choosing a protocol era; or when the Inspector CLI will not connect to, or misreads, a server command."
3
+
description: "Drive a locally built server with a real client: the Inspector CLI (scripted), the Inspector web UI (through Playwright) and an LLM client. Use when smoke-testing a server change; when calling a tool, reading a resource or getting a prompt from the command line; when choosing a protocol era; or when the Inspector CLI will not connect to, or misreads, a server command."
4
4
disable-model-invocation: false
5
5
---
6
6
@@ -14,11 +14,11 @@ record is in `/pr-flow` (client evidence); building and starting the server is
14
14
15
15
Three clients, in the order to reach for them:
16
16
17
-
| Client | Driven by | Use it for |
18
-
| --- | --- | --- |
19
-
| Inspector **CLI** | A command. This is the **scripted path**, and the one an agent runs | One request, one JSON result: the evidence that goes in a PR |
20
-
| Inspector **web** UI | A person, by hand. Nothing in this repo automates a browser | What only a UI shows: notifications arriving, elicitation and sampling prompts, a long-running tool's progress |
21
-
| An **LLM client** | A prompt | Whether a model picks the tool and uses its result, which the PR checklist asks for |
| Inspector **CLI** | A command. This is the **scripted path**, and the one an agent runs | One request, one JSON result: the evidence that goes in a PR |
20
+
| Inspector **web** UI | A Playwright script in headless Chromium, which an agent writes and runs | What the CLI cannot do: elicitation and sampling round-trips, URL elicitation, tasks, notifications arriving, a long-running tool's progress |
21
+
| An **LLM client** | A prompt | Whether a model picks the tool and uses its result, which the PR checklist asks for |
22
22
23
23
Build first (`npm run build -w src/<server>`). Every command below runs the
24
24
last build of a TypeScript server, not your edit.
@@ -85,7 +85,7 @@ That rule produces the three failures people actually hit:
85
85
`--cli -e KEY=VALUE node …` leaves no server command at all, and the CLI
86
86
falls back to your personal catalog (`~/.mcp-inspector/mcp.json`). With
87
87
several servers in it that fails with `Multiple servers found in config
88
-
file. Please specify one with --server`. Either way it is no longer talking
88
+
file. Please specify one with --server`. Either way it is no longer talking
89
89
to your build, so move the option after the command.
90
90
- **`Method is required`** means the options ended up on the wrong side of a
| `trigger-url-elicitation` with `errorPath` on | **Two** dialogs: the -32042 error path, then the retry's | **One**: there is no -32042 on 2026-07-28 |
280
+
| `trigger-sampling-request`, rejected | **Results** with a **Tool Error** alert | **Tool Call Failed** |
281
+
| Each prompt for input | Plain dialog | The dialog also shows `input_required` (the answer is sent as a retry) |
282
+
283
+
A sketch of one scenario, with the launch and teardown above:
284
+
285
+
```js
286
+
const page = await browser.newPage();
287
+
await page.goto(url);
288
+
await page
289
+
.getByRole("switch", { name: /Connect or disconnect/ })
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ not in advance.
31
31
| [`local-dev`](.claude/skills/local-dev/SKILL.md) | Install, build and run each server from the checkout over the transports it implements; local `npx`/`uvx` and client-config runs; stale builds and fresh worktrees; the `overrides`, lockstep and `uv.lock` procedures | Model-invoked, or `/local-dev` |
32
32
| [`testing`](.claude/skills/testing/SKILL.md) | The in-process protocol-level harness, test placement, the commands per suite, `test` versus `coverage`, and clearing the per-file coverage gate | Model-invoked, or `/testing` |
33
33
| [`release`](.claude/skills/release/SKILL.md) | A milestone release end to end: the release issue, the preparation PRs on `v2/main` (audit, Version Packages, Python CalVer), the pure `v2/main` → `main` merge PR, the release ledger, and what a maintainer publishes | **Name-only**: `/release` |
34
-
| [`client-smoke`](.claude/skills/client-smoke/SKILL.md) | Driving a built server with the Inspector CLI (the scripted path), the Inspector web UI (by hand) and an LLM client; the CLI's argument split and exit codes; protocol eras and what can be exercised today | Model-invoked, or `/client-smoke` |
34
+
| [`client-smoke`](.claude/skills/client-smoke/SKILL.md) | Driving a built server with the Inspector CLI (the scripted path), the Inspector web UI (through Playwright) and an LLM client; the CLI's argument split and exit codes; protocol eras and what can be exercised today | Model-invoked, or `/client-smoke` |
35
35
36
36
A PR that adds a skill under `.claude/skills/<name>/SKILL.md` adds its row to
37
37
this table in the same change, and the table never lists a skill that does not
0 commit comments