Commit graph inspector/.github/workflows
Author SHA1 Message Date
Bob Dickinson
2488ca5e38
feat: port CLI, TUI, and launcher from v1.5 into v2 (#1452)
Ports the CLI, TUI, and launcher from v1.5 into v2 behind a single
`mcp-inspector` entrypoint (launcher → web/cli/tui). Includes the
`mcp-inspector --web --dev` launcher fix (Vite alias resolution + prod-server
double-start), the root `postinstall` install cascade with simplified CI, and
spec/AGENTS docs (no-workspaces rationale, Development setup).

Closes #1246.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 20:27:49 -04:00
Bob Dickinson
62d442b073 Revert "First pass at pulling the v1.5 CLI, TUI, and Launcher clients into v2."
This reverts commit 467b01edd6.
2026-06-09 21:56:38 -07:00
Bob Dickinson
467b01edd6 First pass at pulling the v1.5 CLI, TUI, and Launcher clients into v2. 2026-06-09 17:38:00 -07:00
Cliff Hall
a4215e57b9
ci(storybook): wire test:storybook into CI (#1251) (#1297)
* ci(storybook): wire test:storybook into CI (#1251)

- Add test:storybook:watch to clients/web for interactive iteration; the
  one-shot script already existed.
- Surface test:storybook at the repo root, delegating to the web client.
- Add a separate CI step that installs the Playwright Chromium binary
  and runs the storybook play-function suite after validate. Kept out of
  validate because the suite needs a real browser and is ~10s slower
  than the unit tests.
- Document the new pre-push step in AGENTS.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci(storybook): cache Playwright browsers + tighten AGENTS wording

Cache the Chromium binary keyed on clients/web/package-lock.json so the
~150MB download is a no-op on CI cache hits. Also clarify that CI runs
test:storybook after the unit/lint/build checks (not literal `validate`,
which is a local-only script).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 15:58:15 -04:00
Cliff Hall
75f74d64c1
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file (#1245) (#1269)
* test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file (#1245)

Establishes the unit-test runtime AGENTS.md mandates: a vitest "unit"
project alongside the existing storybook project, RTL + jest-dom +
happy-dom, a Mantine-aware render helper, and a 90%-line per-file
coverage gate enforced by CI. Adds 66 test files covering all 62
components under elements/groups/screens/views, plus core/mcp and
clients/web/src/utils. Total: 577 tests, 98.7% line coverage globally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(coverage): address PR #1269 review feedback

- AGENTS.md: correct coverage gate description (lines ≥ 90, statements ≥ 85,
  functions ≥ 80, branches ≥ 50) with rationale for the relaxed branch
  threshold
- InspectorView.test.tsx: document what the Math.random() mock values
  (0.1 / 0.99) control vs. STUB_SUCCESS_RATE in InspectorView.tsx
- vite.config.ts / tsconfig.test.json: drop unused `globals: true` and the
  `vitest/globals` type now that every test file imports describe/it/expect/vi
  explicitly; manual `afterEach(cleanup)` in setup.ts remains required because
  testing-library auto-cleanup relies on globalThis.afterEach

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 15:15:32 -04:00
cliffhall
8ac539ac62 Install root dependencies in CI so core/*.ts can resolve SDK
clients/web/tsconfig.app.json's include pulls in ../../core/**/*.ts.
TypeScript module resolution from those files walks up from core/mcp/
looking for node_modules, which lands at the repo root. CI only ran
npm install inside clients/web/, so root node_modules was empty and
core/mcp/types.ts / elicitationCreateMessage.ts / taskNotificationSchemas.ts
failed to resolve @modelcontextprotocol/sdk/types.js and zod/v4
(locally the build worked because root had been manually installed).

Add an explicit root npm install step before the clients/web install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 12:43:27 -04:00
cliffhall
f7217fa670 update main.yml 2026-03-17 16:51:58 -04:00
cliffhall
9102d20814 update main.yml 2026-03-17 16:50:55 -04:00
cliffhall
c065db0e4c update main.yml 2026-03-17 16:49:50 -04:00
cliffhall
707cb19b2f update main.yml 2026-03-17 16:48:32 -04:00
cliffhall
4b28a69856 formatting 2026-03-17 16:43:27 -04:00
cliffhall
442bb68532 Remove all from v2/main 2025-11-28 13:49:31 -05:00
Koichi ITO
b566f0406e Bump Claude Code GitHub Action to v1
Follow-up to https://github.com/modelcontextprotocol/servers/pull/3018.

This PR bumps Claude Code GitHub Action to v1 from beta.
https://github.com/anthropics/claude-code-action/releases/tag/v1
2025-11-19 15:58:30 +09:00
Koichi ITO
002dad07bc Fix a typo 2025-11-03 17:01:51 +09:00
olaservo
ddf74d0766 Fix formatting 2025-08-26 10:00:03 -07:00
olaservo
5bbbd64555 Update CC GitHub Action to have same config as reference servers repo action 2025-08-18 06:15:15 -07:00
François Leblanc
b84e5271f4 Explicitly exit process for CI 2025-07-14 23:35:52 -04:00
François Leblanc
ff2d932904 Add await to runCli call 2025-07-14 23:27:58 -04:00
François Leblanc
616ef0d04c Use the node version in root package.json 2025-07-14 23:22:47 -04:00
François Leblanc
b6a4aa40cb Install more, but stay put 2025-07-14 23:21:15 -04:00
François Leblanc
c1ab2a52d2 Stay in cli/ but ignore scripts? 2025-07-14 23:19:05 -04:00
François Leblanc
f10b76b0ae Run commands from root dir instead 2025-07-14 23:17:06 -04:00
François Leblanc
9adcc0dd77 Add logging for pwd 2025-07-14 23:10:56 -04:00
François Leblanc
718e61d492 Use simpler install method? 2025-07-14 22:36:00 -04:00
François Leblanc
ace91a81ad Use Node version defined in cli/package.json 2025-07-14 22:25:47 -04:00
François Leblanc
ea6177b552 Run in both pull requests and push events 2025-07-14 22:11:37 -04:00
François Leblanc
f49f97f585 Run prettier 2025-07-14 22:07:12 -04:00
François Leblanc
29462172f2
Merge branch 'main' into ci-test-cli 2025-07-14 14:34:17 -04:00
François Leblanc
b3cb844730 Run the CLI tests in CI
Right now, the inspector has a CLI feature as well as a series of tests.
However, they're not currently run in CI. For the moment, they are only
triggered on file changes in the CLI folder, as AFAICT it is currently a
separate code base.
2025-07-14 14:33:08 -04:00
ihrpr
7667e56ce3
CI fix 2025-07-10 11:40:50 +01:00
ihrpr
2b14fc0d7a
limit to only a few people for now and remove review action 2025-07-09 13:04:30 +01:00
Inna Harper
0af642aeb4 Claude Code Review workflow 2025-07-09 12:47:16 +01:00
Inna Harper
a5f6b2e116 Claude PR Assistant workflow 2025-07-09 12:47:15 +01:00
Baruch Odem
80082e1272 chore: update Node.js version requirement and adjust workflows to use package.json for node version 2025-06-29 07:46:25 +03:00
Baruch Odem (Rothkoff)
297a6b3a88
Merge branch 'main' into baruchiro/node-version 2025-06-29 07:35:01 +03:00
Richard Michael
36e053ae66 Adjust e2e test configuration
- Playwright installation can take more than 5m, increase to 15m

- Only attempt to upload the report if Playwright executed, otherwise
  there are no report files, and the upload step will error
2025-06-25 02:05:46 -07:00
Marc Abramowitz
ebc249b3d5 Always gen test summary but only comment on same repo PRs 2025-06-20 19:43:19 -07:00
Marc Abramowitz
2cd7b7490c Revert 2025-06-20 19:29:47 -07:00
Marc Abramowitz
94a35d07f3 Only try to comment on PR if the PR is from the canonical repo and not from a fork 2025-06-20 19:24:32 -07:00
Marc Abramowitz
c747fe85d8 Only try to comment on PR if the PR is from the canonical repo and not from a fork 2025-06-20 19:17:12 -07:00
Marc Abramowitz
465ee9aaf4 Revert "Update .github/workflows/e2e_tests.yml"
This reverts commit d5b4a6e6a7.
2025-06-20 13:55:12 -07:00
Marc Abramowitz
3e28357e9c Revert "Replace pull_request with pull_request_target"
This reverts commit 1ff39f13f5.
2025-06-20 13:36:00 -07:00
Marc Abramowitz
9ffe63ee08 Revert "Both pull_request and pull_request_target"
This reverts commit 4b14b96f41.
2025-06-20 13:35:45 -07:00
Marc Abramowitz
4b14b96f41 Both pull_request and pull_request_target 2025-06-20 12:13:29 -07:00
Marc Abramowitz
1ff39f13f5 Replace pull_request with pull_request_target 2025-06-20 11:44:45 -07:00
Marc Abramowitz
eb89e0191f Change retention-days from 30 to 2 2025-06-20 11:39:40 -07:00
Marc Abramowitz
d5b4a6e6a7
Update .github/workflows/e2e_tests.yml
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-20 11:12:03 -07:00
Marc Abramowitz
2ca63cb161 Merge branch 'main' into playwright-test 2025-06-19 00:02:11 -07:00
Marc Abramowitz
4ef6bdb1b8 e2e_tests.yml: Remove start dev server
since now we are doing that in `playwright.config.ts`
2025-06-17 20:19:41 -07:00
Cliff Hall
dc77327c65
Merge branch 'main' into jerome/feature/version-update-and-check-scripts 2025-06-17 15:58:39 -04:00