Commit graph inspector/package.json
Author SHA1 Message Date
Cliff Hall
86eaabe598
Merge branch 'main' into playwright-test 2025-06-23 11:39:59 -04:00
Paul Carleton
5db64265ce
[auth] Add resource compatibility to debugger (RFC 8707) (#526)
* pass resource in auth debugger, reusing server url

* throw error on resource url mismatch to match regular auth flow

* lint & tests

* add test

* make authserver url make more sense

* use latest typescript sdk

* more lenient resource checking

* pick resource, and store in state

* fixing tests and types

* [auth] use sdk function for selecting resource (#537)

* use sdk function

* bump typescript sdk

* fix some tests
2025-06-23 16:39:07 +01:00
Marc Abramowitz
b481ed0077
Set MCP_AUTO_OPEN_ENABLED=false for test:e2e script
Since merging the latest changes from `main` that put auto-open back in when running the start or dev scripts, the `test:e2e` run results in the Inspector being opened in the browser. This change suppresses that (tested locally). Thanks, @cliffhall!

Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-19 09:39:52 -07:00
Alex Andru
424b44966b chore: bump @modelcontextprotocol/sdk to version 1.13.0 2025-06-19 14:23:37 +02:00
Marc Abramowitz
2ca63cb161 Merge branch 'main' into playwright-test 2025-06-19 00:02:11 -07:00
Felix Weinberger
d06f3b5ebc
feat: Enable auto-open with authentication and unify start scripts
- Unified start.js to handle both dev and production modes with --dev flag
- Generate session token in parent process, pass via MCP_PROXY_TOKEN env var
- Enable browser auto-open even when authentication is enabled by including token in URL
- Auto-reloads now work seamlessly with persistent tokens across hot reloads
- Simplified npm scripts - dev and dev:windows now use the same unified script
- Better developer experience with consistent token handling

The token is generated once per session and remains stable through server/client
reloads, making development smoother while maintaining security.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-18 10:23:03 +01:00
Marc Abramowitz
b783b50f7f Make "npm run clean" remove Playwright files 2025-06-17 23:56:18 -07:00
cliffhall
1c75f88760 Bump version to 0.14.3
- Need to do a patch level release in order to test the ghcr docker container publishing feature added to main.yml in #257
2025-06-17 16:38:29 -04:00
Jerome
eb27b954e5
Bumped all versions to 0.14.2 2025-06-14 19:48:59 +01:00
Jerome
e585789208
Remaining version bump locations 2025-06-13 18:37:44 +01:00
Jerome
4d336af7e6
Bumped version 2025-06-13 15:40:31 +01:00
Marc Abramowitz
c803d9327e Move test:e2e up with other two test scripts 2025-06-06 19:33:54 -07:00
Marc Abramowitz
8babc44f0b Make npm run test:e2e work 2025-06-06 19:33:54 -07:00
Marc Abramowitz
226ad251bd Add a Playwright e2e test 2025-06-06 19:33:54 -07:00
cliffhall
8ef91e359e Bump Inspector packages to 0.14.0, and sdk to 1.12.1 2025-06-04 16:13:35 -04:00
Paul Carleton
98668507c7
version bump 2025-06-02 16:20:36 +01:00
Paul Carleton
2d7936d10b
fix type errors 2025-06-02 16:20:16 +01:00
Paul Carleton
b2fa99668e
bump typescript sdk 2025-05-29 10:19:39 +01:00
ihrpr
7cf85b526a
update TS sdk 2025-05-21 20:56:25 +01:00
ihrpr
bbdbd3afb9
update dependencies as well 2025-05-21 20:37:20 +01:00
ihrpr
b0db14c3a7
0.13.0 bump version 2025-05-21 20:33:19 +01:00
Paul Carleton
5e8e78c31d
Add Auth debugger tab (#355)
* wip auth debugger

* cleanup types and validation

* more cleanup

* draft test

* wip clean up some

* rm toasts

* consolidate state management

* prettier

* hoist state up to App

* working with quick and guided

* sort out displaying debugger

* prettier

* cleanup types

* fix tests

* cleanup comment

* prettier

* fixup types in tests

* prettier

* refactor debug to avoid toasting

* callback shuffling

* linting

* types

* rm toast in test

* bump typescript sdk version to 0.11.2 for scope parameter passing

* use proper scope handling

* test scope parameter passing

* move functions and s/sseUrl/serverUrl/

* extract status message into component

* refactor progress and steps into components

* fix test

* rename quick handler

* one less click

* last step complete

* add state machine

* test and types
2025-05-13 19:37:09 +01:00
KAWAKAMI Moeki
a60764e649 Merge branch 'main' into auto_open 2025-05-09 10:58:11 +09:00
KAWAKAMI Moeki
3473c8156d
Merge branch 'main' into auto_open 2025-05-08 12:56:02 +09:00
Ola Hungerford
f7b936e102 Bump version to 0.12.0 2025-05-07 05:28:24 -07:00
Cliff Hall
73a8e2dee6
Merge pull request #377 from kavinkumar807/Streamable-HTTP-invalid-protocol-version
fix: sdk version upgrade
2025-05-05 17:40:20 -04:00
kavinkumarbaskar
7a1fb0cfd9 fix: sdk version upgrade 2025-05-05 23:00:26 +05:30
KAWAKAMI Moeki
42e6f0afe1 Merge branch 'main' into auto_open 2025-05-04 19:46:52 +09:00
Ola Hungerford
c9d2f0761e Don't install rimraf 2025-05-03 20:01:33 -07:00
Ola Hungerford
ae87292d7c Update commands to include all build directories and remove unnecessary servers/node_modules 2025-05-02 08:17:45 -07:00
Ola Hungerford
70016bf3b6 Merge branch 'main' into add-npm-clean-script 2025-05-01 08:29:26 -07:00
Ola Hungerford
4d98b4a8bd Add clean script and rimraf 2025-05-01 08:28:48 -07:00
cliffhall
45d135a426 Bump release to 0.11.0
* In package.json
  - replaced prepare script, which will cause automatic build after npm install
2025-04-30 12:39:15 -04:00
cliffhall
b3fc199d25 Bump release to 0.11.0
* In main.yml
  - reversed a change from last release that did an explicit build, because the prepare script was no longer in package.json
* In package.json
  - replaced prepare script, which will cause automatic build after npm install
  - set version to 0.11.0
  - set versions of inspector-cli, inspector-client, and inspector-server to  ^0.11.0
* In package.lock.json
  - updated versions of inspector, inspector-cli, inspector-client, and inspector-server to  ^0.11.0
* In cli/package.json
  - set version to 0.11.0
  - set versions of sdk to 1.10.2
* In client/package.json
  - set version to 0.11.0
  - set versions of sdk to 1.10.2
* In server/package.json
  - set version to 0.11.0
  - set versions of sdk to 1.10.2
2025-04-25 11:49:39 -04:00
cliffhall
bf1026b6ec Fix failing unit tests
* This PR caused the Sidebar.test.ts file tests to fail because TransformStream is not found.
* TransformStream exists in the Node version I'm testing with (20), but it still isn't found by Jest
* Turns out it is a problem with Jest, and the workaround is the simple package jest-fixed-jsdom, which subclasses JSDOMEnvironment testing environment, placing this and several other dependencies in its global object.

* In package.json
  - add jest-fixed-jsdom as a devDependency

* In jest.config.cjs
  - change testEnvironment to jest-fixed-jsdom
2025-04-23 17:52:17 -04:00
cliffhall
6e4dcd6120 WIP: Attempting to proxy streamable-http connections. Inspector still works fine with STDIO and SSE servers.
* In index.ts,
  - refactor transport webAppTransports to be a map with the session id as key and transport as value.

* Implement /mcp GET and POST endpoints using StreamableHTTPServerTransport and doing the new session in the POST (opposite from SSE) handler.

* In package.json
  - update the SDK to 1.10.2

* In useConnection.ts
  - import StreamableHTTPClientTransport
    - NOTE: while we NEED to do this, it causes useConnection.test.ts to fail with " ReferenceError: TransformStream is not defined"
  - in connect method
    - instantiate the appropriate transport
2025-04-22 18:25:47 -04:00
KAWAKAMI Moeki
0e5a232967
Merge branch 'main' into auto_open 2025-04-18 09:28:06 +09:00
David Soria Parra
d90940ab8f
0.10.2 2025-04-17 23:59:43 +01:00
cliffhall
2720d68417 Bump inspector, cli, client, server to 0.10.1 2025-04-17 18:11:41 -04:00
cliffhall
958c9a36f1 Bump typescript-sdk version to 1.10.0 throughout 2025-04-17 15:42:56 -04:00
cliffhall
92bf9abb40 Bump version to 0.10.0 in
* cli/package.json
* client/package.json
* server/package.json
* package.json
  - also bump npm dependencies for cli, client, and server to 0.10.0
* package-lock.json
2025-04-17 14:21:22 -04:00
cliffhall
bb7834543b Revert "Bump version to 0.10.0 in"
This reverts commit d7dff30cdb.
2025-04-17 14:15:43 -04:00
cliffhall
d7dff30cdb Bump version to 0.10.0 in
* cli/package.json
* client/package.json
* server/package.json
* package.json
  - also bump npm dependencies for cli, client, and server to 0.10.0
* package-lock.json
2025-04-17 14:08:39 -04:00
KAWAKAMI Moeki
d2dc959307 Merge branch 'main' into auto_open 2025-04-17 18:13:53 +09:00
cliffhall
0229aed948 Fix bin path (remove ./) 2025-04-15 18:21:04 -04:00
cliffhall
6a99feaf33 Refactor project components
* Remove bin folder, leaving cli, server, and client
* This fixes #315
* In .gitignore,
  - add .idea
  - remove bin/build
* Remove bin and bin/cli.js
* Remove bin/scripts/copy-cli.js
* Refactor/move bin/scripts to cli/scripts
* Refactor/move bin/src/index.ts to cli/src/cli.ts
* Refactor/renamed client/bin/cli.js to client/bin/client.js
* In .github/workflows/main.yml,
  - add run of cli tests
* In cli/pacakge.json
  - change main and bin/mcp-inspector-cli properties to build/cli.js
* In client/package.json,
  - change bin/mcp-inspector-client properties to build/start.js
* In pacakge.json
  - change bin/mcp-inspector property to ./cli/build/cli.js
  - removed bin and cli/bin from files list
  - removed @modelcontextprotocol/inspector-bin dependency
  - rearranged and corrected scripts
2025-04-15 17:59:26 -04:00
Nicolas Barraud
de233c9b30 Conflict resolution 2025-04-14 13:34:49 -04:00
Nicolas Barraud
204a90b1d1 Resolved new conflicts 2025-04-14 13:30:12 -04:00
KAWAKAMI Moeki
a1fa0df0e6 Merge branch 'main' into auto_open 2025-04-13 21:22:12 +09:00
Nicolas Barraud
8423776873 Fixed conflicts 2025-04-12 10:33:22 -04:00