Commit graph

1,464 commits

Author SHA1 Message Date
Cliff Hall
82b3257028
Merge branch 'modelcontextprotocol:main' into bump-to-0.11.0 2025-04-30 12:42:05 -04: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
Cliff Hall
fa458702ab
Merge pull request #350 from cliffhall/bump-to-0.11.0 0.11.0
Bump version to 0.11.0
2025-04-30 10:26:43 -04:00
Cliff Hall
173a45a200
Merge branch 'main' into bump-to-0.11.0 2025-04-30 10:22:25 -04:00
Ola Hungerford
62f57e302d
Merge branch 'main' into fix-port-numbers 2025-04-30 06:36:53 -07:00
olaservo
7611227fd4 Fix formatting 2025-04-30 06:19:44 -07:00
olaservo
24e1aaefd1 Remove unnecessary explicit port setting 2025-04-30 06:09:35 -07:00
olaservo
f641aa0470 Revert re-parsing url 2025-04-30 05:16:42 -07:00
olaservo
fe827426ae Revert re-parsing url 2025-04-30 05:16:00 -07:00
olaservo
7bf363cca9 Remove unnecessary comment 2025-04-30 05:05:23 -07:00
olaservo
0838ffde38 Update tests 2025-04-30 05:03:00 -07:00
olaservo
d16e89df1e Preserve original URL 2025-04-29 21:32:21 -07:00
Ola Hungerford
745991b8ef
Merge pull request #357 from OpenLinkSoftware/main
When argument to a tool is not specified it should not be default and send via MCP request as a NULL value.
2025-04-29 20:28:34 -07:00
Mitko Iliev
42b0a77505
Merge branch 'modelcontextprotocol:main' into main 2025-04-29 12:51:22 +03: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
Cliff Hall
cdab12a8e5
Merge pull request #339 from cliffhall/fix-streamable-endpoint
Fix support for streamable-http connections
2025-04-25 11:26:46 -04:00
Cliff Hall
966f95b5af
Merge branch 'main' into fix-streamable-endpoint 2025-04-24 16:53:26 -04:00
Cliff Hall
2e4a52250a
Merge pull request #246 from nathanArseneau/sampling-form
Create sampling response form
2025-04-24 14:34:55 -04:00
Cliff Hall
102fce5570
Merge branch 'main' into sampling-form 2025-04-24 14:20:17 -04:00
Cliff Hall
d1bff49deb
Merge pull request #338 from Kavyapriya-1804/fix-reset-prompt-results
fix - Reset Prompt results
2025-04-24 12:49:35 -04:00
cliffhall
5d0c3c48f6 Prettier 2025-04-24 12:01:02 -04:00
cliffhall
7b9cd1e74d In server/index.ts
- Add last-event-id to STREAMABLE_HTTP_HEADERS_PASSTHROUGH.
2025-04-24 11:39:48 -04:00
Aaron Powell
243fd1494e Fixing permissions 2025-04-24 15:46:22 +10:00
Aaron Powell
b0031d0b6f
Fixing permissions (#3) 2025-04-24 15:41:40 +10:00
Aaron Powell
9e186e3b1b
ci fix (#2) 2025-04-24 15:31:37 +10:00
Aaron Powell
890f6fdba2
Dockerfile (#1)
* Initial work for adding a Dockerfile and creating an image for inspector

Fixes #237

* Updating workflow to publish to GitHub Container Registry

Using guide from https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images
2025-04-24 15:28:30 +10:00
Aaron Powell
ad8d0579c4 Fixing prettier error 2025-04-24 15:12:19 +10:00
Aaron Powell
d9e63d918b Merge branch 'main' into dockerfile 2025-04-24 14:51:27 +10: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
Cliff Hall
498e49e2d8
Merge pull request #1 from shivdeepak/fix-streamable-endpoint
fix cors issue with accessing mcp-session-id header
2025-04-23 16:53:59 -04:00
Mitko Iliev
1dd99d651e
Merge branch 'modelcontextprotocol:main' into main 2025-04-23 21:56:13 +03:00
Shiv Deepak Muddada
1ec4e3b556 fix cors issue with accessing mcp-session-id header 2025-04-23 01:43:49 -07:00
Nathan Arseneau
29b465fe45 Merge branch 'main' into sampling-form 2025-04-22 22:07:37 -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
cliffhall
3a2e248527 Prettier 2025-04-21 11:40:01 -04:00
cliffhall
e5f6524eb6 Fix support for streamable-http connections.
* In server/index.js
  - add get/post handlers for /mcp
  - amend console log on SSE connect, with deprecation message
  - add /stdio GET handler and refactored /sse GET handler to not also do stdio. Each transport has its own handler now
  - add appropriate headers to streamable-http request

* In /client/src/lib/hooks/useConnection.ts
  - in connect function
    - create server url properly based on new transport type.
2025-04-21 11:34:55 -04:00
KavyapriyaJG
c843ac6e49 fix - Reset Prompt results on selection 2025-04-21 10:00:40 +05:30
Cliff Hall
6ab7ac3e1a
Merge pull request #294 from shivdeepak/main
add support for Streamable HTTP server
2025-04-19 12:21:20 -04:00
Mitko Iliev
fa6fc62ecb Fixed: if not given cannnot be null default, tests 2025-04-19 00:47:14 +03:00
Mitko Iliev
b9c58252a1 Fixed: if not given cannnot be null default 2025-04-19 00:05:56 +03:00
sumeetpardeshi
114df8ac30 feat: add copy config button 2025-04-18 00:04:02 -07:00
Shiv Deepak Muddada
8213402185 attach auth headers to the streamable http request 2025-04-17 21:34:17 -07:00
Shiv Deepak Muddada
36178632fc
Merge branch 'main' into main 2025-04-17 21:33:53 -07:00
KAWAKAMI Moeki
d82e06fe65 Fix format of README.md 2025-04-18 09:29:42 +09:00
KAWAKAMI Moeki
0e5a232967
Merge branch 'main' into auto_open 2025-04-18 09:28:06 +09:00
David Soria Parra
bbe4924c88
bump 0.10.2 2025-04-18 00:08:56 +01:00
David Soria Parra
d90940ab8f
0.10.2 2025-04-17 23:59:43 +01:00
David Soria Parra
8ed2651ffd
run build in ci 2025-04-17 23:55:50 +01:00
David Soria Parra
0f33c87ed4
Merge pull request #327 from cliffhall/bump-to-0.10.1
Bump inspector to 0.10.1
2025-04-17 23:39:17 +01:00
cliffhall
2720d68417 Bump inspector, cli, client, server to 0.10.1 2025-04-17 18:11:41 -04:00