Commit graph inspector/client
Author SHA1 Message Date
olaservo
2fb5d4b684 Fix formatting 2025-06-10 21:29:08 -07:00
olaservo
a2061a6f76 Add check to fix build failure 2025-06-10 21:27:54 -07:00
olaservo
15967d5572 Merge branch 'main' into fix-required 2025-06-10 21:24:10 -07:00
olaservo
123a462681 Fix formatting 2025-06-10 21:23:04 -07:00
Ola Hungerford
cf2778ad19
Update client/src/utils/schemaUtils.ts
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-10 21:21:51 -07:00
Ola Hungerford
51eb7cf849
Update client/src/utils/schemaUtils.ts
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-10 21:21:43 -07:00
Marc Abramowitz
d5ef137c42 Merge branch 'main' into tooltip-for-url-field 2025-06-06 06:00:37 -07:00
Marc Abramowitz
9a7ba3451a npm run prettier-fix 2025-06-06 05:49:49 -07:00
Marc Abramowitz
2ecfdb0f2e Display tooltip only if sseUrl is set. 2025-06-05 00:25:18 -07:00
Ola Hungerford
e28e08d37d
Merge branch 'main' into fix-required 2025-06-04 19:59:52 -07:00
Ola Hungerford
a2d2cf6f3d
Merge pull request #459 from msabramo/resizable-left-sidebar
Resizable left sidebar
2025-06-04 19:58:59 -07:00
Ola Hungerford
6f80feb0b2
Merge branch 'main' into fix-required 2025-06-04 18:35:50 -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
Cliff Hall
cc28a891e9
Merge branch 'main' into 450-template-queries 2025-06-04 14:54:57 -04:00
dr3s
9508cc4627 pretty 2025-06-04 14:44:15 -04:00
Marc Abramowitz
5da1dc3256 Add tooltip for URL field
A quick way to see the full URL if it's cut off

Inspired by @cliffhall's
[comment](https://github.com/modelcontextprotocol/inspector/pull/459#issuecomment-2932277785)
2025-06-03 22:54:19 -07:00
Marc Abramowitz
13d31596af Merge branch 'main' into resizable-left-sidebar 2025-06-03 22:29:15 -07:00
dr3s
21b86d409c add test 2025-06-03 13:58:33 -04:00
dr3s
26f744866a formatting 2025-06-03 13:58:33 -04:00
dr3s
07f3e4593b remove logs 2025-06-03 13:58:33 -04:00
dr3s
f1650d06e3 use UriTemplate variable names 2025-06-03 13:58:33 -04:00
dr3s
2f50a4ba0e fix: Resource template query parameters not appended to request URI #450 2025-06-03 13:58:33 -04:00
Paul Carleton
a387c6ad7e
hook warning 2025-06-03 17:29:22 +01:00
Paul Carleton
e2d3989bb2
use scopes from PRM if available 2025-06-03 11:05:45 +01:00
Paul Carleton
9371006838
less noisy errors 2025-06-03 11:02:34 +01:00
Paul Carleton
0f4a289a4d
Merge branch 'main' into pcarleton/auth-debugger-draft 2025-06-02 16:41:44 +01:00
Paul Carleton
fa01fafa59
version bump + lint 2025-06-02 16:21:55 +01:00
Paul Carleton
2d7936d10b
fix type errors 2025-06-02 16:20:16 +01:00
Cliff Hall
7df0ac40c5
Merge pull request #470 from cliffhall/send-delete-on-streamable-http-disconnect
Send HTTP DELETE on streamable transport disconnect
2025-06-02 10:05:30 -04:00
olaservo
0a1de24fdf Fix formatting 2025-06-01 21:05:33 -07:00
olaservo
3475670f1d Incorporate nested logic again 2025-06-01 20:53:17 -07:00
olaservo
e5e2edc4a1 Fix formatting 2025-06-01 16:11:20 -07:00
olaservo
06af321530 Fix tests 2025-06-01 16:07:45 -07:00
olaservo
990bc0f7fd Fix formatting 2025-06-01 15:41:30 -07:00
Ola Hungerford
73c0c13bda
Merge branch 'modelcontextprotocol:main' into fix-required 2025-06-01 12:37:44 -07:00
olaservo
b555e41c0b Address the schema architecture crisis 2025-06-01 09:03:02 -07:00
Cliff Hall
438390ecd5
Merge branch 'main' into send-delete-on-streamable-http-disconnect 2025-05-30 11:58:02 -04:00
Xiaoli
f87884900e
Merge branch 'main' into fix/header 2025-05-30 10:14:42 +08:00
xiaoli
b51ee625cd style: fix code style to pass CI checks 2025-05-30 10:14:03 +08:00
cliffhall
02aacb46a2 Send HTTP/DELETE when disconnecting client
* In server/src/index.ts
  - add delete handler for /mcp endpoint
    - gets the server transport for the sessionId
    - calls terminateSession on it
    - removes the webapp and server transports for the sessionId from the maps
    - returns status 200 to the client.

* In client/src/lib/hooks/useConnection.ts
  - import Transport
  - add useState for clientTransport, type Transport or null initialized to null
  - in connect() function
    - move creation of client transport down a ways, just before calling client.connect with it
    - immendiately efter calling client.connect, call setClientTransport with the connected transport (has to happen after, so that what's saved has the abort controller, etc. otherwise it doesn't work to save it prior.
    - in disconnect() function
      - immediately call clientTransport.terminateSession if transportType is "streamable-http"
      - setClientTransport to null
2025-05-29 19:54:36 -04:00
Ola Hungerford
029d2de26c
Merge pull request #449 from balajmarius/main
Improve color contrast and readability in dark mode
2025-05-29 09:07:10 -07:00
Cliff Hall
c186f531b8
Merge branch 'main' into fix/header 2025-05-29 12:01:17 -04:00
Cliff Hall
7fb2211bf2
Merge branch 'main' into fix-port-numbers 2025-05-29 11:41:10 -04:00
Balaj Marius
5ca6d3db40
Merge branch 'main' into main 2025-05-29 18:30:24 +03:00
Balaj Marius
2e5cc87659
Update index.css
Co-authored-by: Ola Hungerford <olahungerford@gmail.com>
2025-05-29 18:30:13 +03:00
Xiaoli
ee8c29b3ad
Merge branch 'main' into fix/header 2025-05-29 23:30:11 +08:00
Paul Carleton
e74f80db85
fix tests 2025-05-29 14:26:29 +01:00
Paul Carleton
11bc04364b
whitespace 2025-05-29 14:11:01 +01:00
Paul Carleton
03bb303bf9
rm loading, prm test 2025-05-29 14:10:32 +01:00
Paul Carleton
cc49358f5a
add test + prettier 2025-05-29 13:42:54 +01:00