Commit graph

1,265 commits

Author SHA1 Message Date
Nandha Reddy
236dee0dca
Fix code style 2025-07-07 13:53:10 +10:00
Ola Hungerford
cbb9331643
Merge branch 'main' into fix/validate-json-on-tool-execution 2025-07-06 20:34:42 -07:00
Ola Hungerford
4ab7794494
Merge pull request #512 from richardkmichael/notification-expansion-state
Fix Server Notifications expansion state
2025-07-06 20:17:59 -07:00
Ola Hungerford
516fe9538e
Merge pull request #503 from evalstate/feat/prompt-layout
Make prompt layout consistent
2025-07-06 20:09:51 -07:00
Ola Hungerford
aa73daaa60
Merge branch 'main' into notification-expansion-state 2025-07-06 19:59:18 -07:00
shaun smith
18684f106f
Merge branch 'main' into feat/prompt-layout 2025-07-05 21:32:01 +01:00
Cliff Hall
e76bb0a88b
Merge pull request #583 from richardkmichael/node-engine-lock
chore: Add engines to `package-lock.json`
2025-07-04 13:32:22 -04:00
Richard Michael
d1e2498ad0 Add engines to package-lock.json 2025-07-03 21:28:00 -07:00
Cliff Hall
1cf3474c93
Merge branch 'main' into feat/prompt-layout 2025-07-03 17:13:48 -04:00
Cliff Hall
f2cae3d825
Merge pull request #554 from nabuskey/con-refused
fix connection refused error message
2025-07-03 12:00:00 -04:00
Cliff Hall
f3f06efa7e
Merge branch 'main' into con-refused 2025-07-03 11:30:12 -04:00
Manabu McCloskey
5868c6bad6 print explicit 404 message
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2025-07-03 14:48:46 +00:00
Cliff Hall
13014a0471
Merge pull request #500 from sebastian93921/sebastian/patch-remove-addition-slash
Fix: Remove addition slash for check proxy health
2025-07-02 15:54:37 -04:00
Cliff Hall
1089162f38
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 10:56:45 -04:00
Cliff Hall
ff1e5ec8f9
Merge pull request #581 from richardkmichael/fix-chrome-width
fix: full width in Chrome
2025-07-02 10:46:12 -04:00
Cliff Hall
415fb57589
Merge branch 'main' into fix-chrome-width 2025-07-02 10:13:40 -04:00
Sebastian Ko
85575de690
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 03:17:50 -04:00
Cliff Hall
7460ea2e49
Merge pull request #473 from baruchiro/baruchiro/node-version
chore: Add node-version to package.json and workflows
2025-07-01 15:34:21 -04:00
Richard Michael
0f2548e71d Remove unnecessary margin property 2025-07-01 09:31:19 -07:00
Richard Michael
daf5f0af38 Full-width #root 2025-07-01 09:30:36 -07:00
Nandha Reddy
98580cd5a9
Merge branch 'main' into fix/validate-json-on-tool-execution 2025-07-01 17:25:13 +10:00
Baruch Odem
0027e870cc follow the README
https://github.com/modelcontextprotocol/inspector/pull/318
2025-07-01 08:25:39 +03: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
Ola Hungerford
0130cf8c47
Merge branch 'main' into notification-expansion-state 2025-06-28 19:35:33 -07:00
Ola Hungerford
fbe6c11975
Merge pull request #548 from markacianfrani/main
fix: allow typing negative numbers in tool parameter inputs
2025-06-27 21:06:49 -07:00
Mark Anthony Cianfrani
9eb5e7b8c2
Merge branch 'main' into main 2025-06-27 20:06:31 -04:00
Cliff Hall
6a8c831308
Merge pull request #480 from olaservo/fix-required
Fix fundamental schema issue with required fields defined incorrectly on JsonSchemaType
2025-06-27 14:09:10 -04:00
Cliff Hall
c24d2a952f
Merge pull request #555 from modelcontextprotocol/fweinberger/fix-proxy-port-config
Fix proxy port configuration for non-default SERVER_PORT
2025-06-27 13:28:02 -04:00
Felix Weinberger
1aea3374ff
refactor: use ES6 shorthand property syntax in start.js
Replace explicit property assignments with shorthand syntax when
property names match variable names (e.g., SERVER_PORT: SERVER_PORT
becomes just SERVER_PORT).
2025-06-27 17:40:22 +01:00
Felix Weinberger
042e7a2aa7
refactor: move browser auto-open logic to client process
Simplifies the startup flow by consolidating browser opening
in the client script rather than the start script for prod.

We were duplicating a lot of logging, making it easy for
logs to go out of sync - this is a proposal to consolidate:

- server only logs info about itself
- client only logs info about itself

To reduce the number of places we print connection information
to the user.
2025-06-27 15:01:34 +01:00
Felix Weinberger
ae1aeb3c3f
fix: improve logging consistency between dev and prod client startup
Refactored startProdClient to match startDevClient's logging pattern,
ensuring consistent user feedback whether auto-open is enabled or disabled.

Also ensures that we log full information on how to open the browser
regardless of whether MCP_AUTO_OPEN_ENABLED=false.
2025-06-27 15:00:21 +01:00
Nandha Reddy
d65ed01922 Add JSON validation to tool execution
Prevents execution of tools with invalid JSON parameters by validating JSON
syntax before tool execution and showing error UI for invalid input.

- Add validateJson method to DynamicJsonForm via forwardRef
- Add validation check in ToolsTab before tool execution
- Reuse existing JsonEditor error display for consistent UX
2025-06-26 23:17:30 +10:00
Felix Weinberger
9e9419bf21
fix: ensure MCP_PROXY_PORT is included when auth is disabled
Address PR feedback by restructuring getClientUrl to always include
MCP_PROXY_PORT parameter when using non-default port, regardless of
auth status. Also improved code clarity by using params.size check.
2025-06-26 10:52:49 +01:00
Felix Weinberger
9fcfd89326
fix: pass proxy port via URL params when non-default
- Update client to read MCP_PROXY_PORT from URL parameters
- Update server to include port in displayed URL when non-default
- Update start scripts to pass SERVER_PORT to client
- Use DEFAULT_MCP_PROXY_LISTEN_PORT constant instead of magic numbers

This fixes the issue where the client couldn't connect to the proxy
when SERVER_PORT was set to a non-default value.
2025-06-26 10:52:49 +01:00
Felix Weinberger
eb5be0d853
Merge pull request #529 from modelcontextprotocol/fweinberger/client-localhost
fix: bind client to localhost to match server
2025-06-26 10:05:52 +01:00
Cliff Hall
b28a10eae5
Merge branch 'main' into fweinberger/client-localhost 2025-06-25 17:57:55 -04:00
Cliff Hall
5e92e889b8
Merge pull request #560 from olaservo/bump-version-15-0-0 0.15.0
Bump version to 0.15.0 and bump sdk
2025-06-25 13:36:52 -04:00
olaservo
d49a5f65c1 Bump sdk 2025-06-25 07:22:34 -07:00
olaservo
2ca82b5be6 Bump version to 0.15.0 2025-06-25 07:19:44 -07:00
Ola Hungerford
d29d7074f9
Merge pull request #557 from richardkmichael/update-radix-and-icons
chore: Update radix-ui components and icons
2025-06-25 06:12:45 -07:00
Ola Hungerford
4e68b93ca9
Merge branch 'main' into notification-expansion-state 2025-06-25 05:05:29 -07:00
Ola Hungerford
f2aaa8d668
Merge pull request #479 from ryanjclark/feat/cli-http
Feat/cli http
2025-06-25 05:02:32 -07: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
Ryan Clark
14a9b8fb36
feat: formatting 2025-06-25 00:46:11 -05:00
Sebastian Ko
7dc7b09cd4
Change var to let 2025-06-25 00:45:03 -04:00
Ola Hungerford
95975c58e7
Merge branch 'main' into fix-required 2025-06-24 21:35:27 -07:00
Richard Michael
73bb000597 Update lucide-react
Checked for icon name changes by teaching Claude to search the lucide-react repo with:

`git log -i -E --grep '(rename|change)' 0.448.0^...0.523.0

  ..then searching for any of the found icons in the Inspector imports.
2025-06-24 12:43:03 -07:00
Ryan Clark
0bef6f71ad
feat: add tests for http transport 2025-06-24 09:23:51 -05:00
Felix Weinberger
d0673ba9e1
refactor: Use specific SERVER_PORT and CLIENT_PORT env vars
Per PR feedback from cliffhall:
- Changed PORT to SERVER_PORT in server/src/index.ts
- Changed PORT to CLIENT_PORT in client/bin/client.js
- Added parseInt() for CLIENT_PORT consistency
- Updated start.js to pass correct env var names

This improves clarity by using specific environment variables for
server and client ports instead of the generic PORT variable.
2025-06-24 10:43:13 +01:00