Commit graph

1,464 commits

Author SHA1 Message Date
Marc Abramowitz
13d31596af Merge branch 'main' into resizable-left-sidebar 2025-06-03 22:29:15 -07:00
Marc Abramowitz
93553d591f Revert "Add tip to README.md"
This reverts commit 0e5e94393a.
2025-06-03 22:24:17 -07:00
Aaron Powell
f73894fbf0 Allowing setting of the ports at the environment variable level so the apps are aware of them 2025-06-04 12:30:44 +10:00
Aaron Powell
48af4797f4 Merge remote-tracking branch 'upstream' into dockerfile 2025-06-04 12:18:54 +10:00
Aaron Powell
769d045c16 Converting to multi-stage dockerfile 2025-06-04 12:18:43 +10:00
cliffhall
c485e57a39 Add reporting of the Proxy <-> Server sessionId. It's only possible to get the session id for this leg of the proxy if it is a StreamableHttp connection.
* In server/src/index.ts
  - slight format tweak of the Client <-> Proxy message so that the two messages will line up when displayed
* In server/src/mcpProxy.ts
  - add reportedServerSession boolean initialized to false
  - in transportToServer.onmessage,
    - if reportedServerSession isn't set yet, report the sessionId if present on the transport, and then set reportedServerSession to true
2025-06-03 17:46:57 -04:00
olaservo
04c3571b37 Merge branch 'main' of https://github.com/olaservo/inspector 2025-06-03 12:37:32 -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
evalstate
a58a259208 Merge remote-tracking branch 'upstream/main' 2025-06-03 08:44:09 +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
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
Cliff Hall
789c90cc0b
Merge branch 'main' into normalize-connection-logging 2025-06-02 10:25:30 -04: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
Aaron Powell
ef6d84933a
Apply suggestions from code review
Co-authored-by: John McBride <jpmmcbride@gmail.com>
2025-06-02 13:49:38 +10: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
olaservo
e0d46b7fc4 Merge branch 'main' of https://github.com/olaservo/inspector 2025-06-01 13:19:23 -07:00
Ola Hungerford
73c0c13bda
Merge branch 'modelcontextprotocol:main' into fix-required 2025-06-01 12:37:44 -07:00
Ryan Clark
5b674cfe35
feat: update README with example for http transport 2025-06-01 13:44:19 -05:00
Ryan Clark
7fbe86a88c
Merge branch 'main' into feat/cli-http 2025-06-01 13:27:49 -05:00
Ryan Clark
daa863ddfc
feat: add transport option to cli 2025-06-01 13:27:16 -05:00
olaservo
b555e41c0b Address the schema architecture crisis 2025-06-01 09:03:02 -07:00
Ola Hungerford
bf85cebb2f
Merge pull request #476 from olaservo/clarify-proxy-role-in-readme
Add simple architecture overview with note on proxy role
2025-05-30 16:44:28 -07:00
Cliff Hall
1919a0e9b2
Merge pull request #400 from Littly/fix/header
feat: support custom authorization headers, fix #395
2025-05-30 18:42:50 -04:00
Cliff Hall
021e6a423b
Merge branch 'main' into fix/header 2025-05-30 18:39:01 -04:00
Cliff Hall
291c59eaf9
Merge branch 'main' into clarify-proxy-role-in-readme 2025-05-30 18:37:40 -04:00
Cliff Hall
e55cd75e82
Merge branch 'main' into send-delete-on-streamable-http-disconnect 2025-05-30 18:36:10 -04:00
Cliff Hall
52dc2f6db6
Merge branch 'main' into normalize-connection-logging 2025-05-30 17:51:37 -04:00
cliffhall
b732ab4085 prettier 2025-05-30 17:51:22 -04:00
cliffhall
2df723804b Normalize the reporting of connection setup and connection errors. The logging is verbose and different for every server type. This is an attempt to make the console output cleaner and more readable.
* In server/index.js
  - in createTransport()
    - stringify query params to put them on one line
    - remove logging of transport creation (done in callers)
  - in /mcp POST handler
    - report POST request if session id is present
    - otherwise, report new StreamableHttp connection request
    - report creation of server transport
    - report creation of client transport
  - in /stdio GET handler
    - report new STDIO connection request
    - report creation of server transport
    - report creation of client transport
    - report 401 as authentication error without stack
    - in stderr data handler
      - if it includes "MODULE_NOT_FOUND"
        - report "Command not found"
        - remove transports
      - otherwise send to client as usual
  - in /sse GET handler
    - report SSE connection request
    - report 401 as authentication error without stack
    - report 404 as server that may not support SSE
    - report error with "ECONNREFUSED" as "Connection refused" without stack
    - only create, map, and proxy transports if serverTransport was successfully created
  - in /message POST handler
    - report received POST message

* In mcpProxy.ts
  - in onServerError()
    - if error message includes 404 OR error.cause includes ECONNREFUSED, report "Connection refused."
2025-05-30 17:13:53 -04:00
Ola Hungerford
2c527caaae
Merge pull request #462 from dbsanfte/patch-1
Add quick start example
2025-05-30 13:35:41 -07:00
evalstate
1e6063b7ed Merge remote-tracking branch 'upstream/main' 2025-05-30 21:18:38 +01:00
Cliff Hall
438390ecd5
Merge branch 'main' into send-delete-on-streamable-http-disconnect 2025-05-30 11:58:02 -04:00
Cliff Hall
e8d5e09b62
Merge pull request #428 from cliffhall/allow-multiple-client-connections
Allow multiple instances of the Inspector to connect to the same MCP server
2025-05-30 11:44:21 -04:00
Ola Hungerford
2eec03661c
Merge branch 'modelcontextprotocol:main' into main 2025-05-30 07:47:01 -07:00
olaservo
11757ef615 Add simple architecture overview 2025-05-30 07:46:28 -07:00
xiaoli
3510e1a561 fix: preserve capitalization in custom headers
Express converts all header names to lowercase, which prevents custom headers with uppercase characters from being properly passed to the target service. This fix ensures that custom headers preserve their original capitalization when forwarded through the proxy.
2025-05-30 21:34:40 +08:00
Baruch Odem
d7cc0fae2a chore: Add .node-version file and update workflows to use it 2025-05-30 15:08:40 +03:00