Commit graph

1,937 commits

Author SHA1 Message Date
Ola Hungerford
e87623ce01
Merge pull request #895 from cliffhall/fix-default-null-array-input
Handle nullable arrays in tool inputSchemas
2025-10-30 21:25:16 -07:00
Cliff Hall
54484e7e8e
Merge branch 'main' into fix-default-null-array-input 2025-10-30 12:04:47 -04:00
Cliff Hall
3044d8f14c
Merge branch 'main' into meta_properies_in_tools 2025-10-30 11:55:46 -04:00
Cliff Hall
40045b3393
Merge pull request #889 from yanOO1497/fix_inspector_
fix: resolve $ref references in tool input schema properties
2025-10-30 11:22:10 -04:00
cliffhall
37acee9283 Handle nullable arrays in tool inputSchemas
* In DynamicJsonForm.tsx
  - In debouncedUpdateParent, formatJson, and validateJson,
    - when trimming the JSON value, use ?.trim() in case the field is null

* In jsonUtils.ts
  - in tryParseJson
    - use ?.trim() in case the field is null

* In schemaUtils.ts
  - in normalizeUnionType
    - add condition to handle the case where there is an anyOf with array or null as options

* In ToolsTab.tsx
  - for nullable fields, in null checkbox, in onCheckedChange handler
    - when not checked, if prop type is array, set to undefined (empty input field that can be edited rather than the word "null" as the default could provide

Fixes #846
2025-10-29 14:28:49 -04:00
lorenzo.neumann
1c1afc30cc Fix global metadata not being applied 2025-10-28 12:54:23 +01:00
lorenzo.neumann
5b9e69f36a Aligned naming 2025-10-27 12:24:47 +01:00
lorenzo.neumann
8f28ea791b Aligned naming 2025-10-27 12:22:49 +01:00
lorenzo.neumann
159a049f94 Renamed mata schema to only meta 2025-10-27 12:09:44 +01:00
lorenzo.neumann
6b1765652f Removed test output 2025-10-27 12:09:13 +01:00
yanOO1497
fb7fae1436 fix: resolve $ref references in tool input schema properties 2025-10-25 17:02:25 +08:00
Cliff Hall
99120937e2
Merge branch 'main' into fix/set-scope-dcr 2025-10-24 17:25:13 -04:00
lorenzo.neumann
ddbc238c58 Cleanup, added test cases 2025-10-24 15:49:48 +02:00
lorenzo.neumann
4622d81f81 Fixed tools tab test 2025-10-24 15:06:24 +02:00
lorenzo.neumann
caa1a2e1f5 Merge remote-tracking branch 'origin2/main' into meta_properies_in_tools 2025-10-24 15:04:38 +02:00
lorenzo.neumann
f82530fabb Fixed file names 2025-10-24 14:53:10 +02:00
lorenzo.neumann
809436d65c Added metadata cli tests, renaming 2025-10-24 14:37:22 +02:00
lorenzo.neumann
b9963014a0 Fixed naming 2025-10-24 14:02:41 +02:00
lorenzo.neumann
3d3925d02a Fixed metadata naming 2025-10-24 14:01:30 +02:00
Cliff Hall
c7683b464a
Merge pull request #886 from olaservo/version-bump-0.17.2 0.17.2
Version bump 0.17.2
2025-10-22 11:50:50 -04:00
olaservo
d99a3576b1 chore: bump version to 0.17.2
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 08:23:24 -07:00
olaservo
aa17bb223f 0.17.2 2025-10-22 07:58:44 -07:00
Ola Hungerford
6f64875299
Merge pull request #883 from cliffhall/npm-deps-update
Bump TS SDK to latest + npm audit fix
2025-10-21 20:10:39 -07:00
Stanislav Deviatykh
3b247ea21f mock clearScopeFromSessionStorage 2025-10-22 00:11:58 +03:00
Stanislav Deviatykh
eb76696d97 correctly clear scope 2025-10-22 00:09:57 +03:00
cliffhall
eeaaeb5707 Bump TS SDK to latest + npm audit fix
* In package.json under cli/, client/, server/ and /
  - bump @modelcontextprotocol/sdk to ^1.20.1
* In client/package.json
  - bump @vitejs/plugin-react to ^5.0.4
  - bump vite to ^7.1.11
* In package-lock.json
  - bump playwright to 1.56.1
  - cascading changes to rollup and other dependencies
2025-10-21 13:29:09 -04:00
cliffhall
742fd8e18d Bump TS SDK to latest + npm audit fix
* In package.json under cli/, client/, server/ and /
  - bump @modelcontextprotocol/sdk to ^1.20.1
* In client/package.json
  - bump @vitejs/plugin-react to ^5.0.4
  - bump vite to ^7.1.11
* In package-lock.json
  - bump playwright to 1.56.1
  - cascading changes to rollup and other dependencies
2025-10-21 12:17:56 -04:00
Cliff Hall
a45a291919
Merge branch 'main' into jesselumarie/test-SEP-974 2025-10-20 15:19:29 -04:00
Cliff Hall
dced81d908
Merge pull request #849 from olaservo/issue-846
Add input validation guidelines and fix the case where there are null defaults or tri-state booleans
2025-10-20 13:18:46 -04:00
Ola Hungerford
7f6a2768c0
Merge branch 'main' into issue-846 2025-10-19 18:06:36 -07:00
olaservo
60ff2d37af Move Tool Input Validation Guidelines to Readme 2025-10-19 17:31:31 -07:00
olaservo
acf30b077a Handle tri state nullable boolean in null checkbox 2025-10-19 11:01:37 -07:00
olaservo
1a93897533 Update AGENTS to be directed at agent 2025-10-19 11:00:19 -07:00
olaservo
93fc8cc97e Support tri-state nullable boolean 2025-10-19 05:47:33 -07:00
olaservo
541a59f1fe Add test to explicitly reproduce issue #846 regression
This test verifies that tools with multiple nullable parameters
(default: null) work correctly. In v0.17.0, cleanParams would
incorrectly remove these null values, breaking tool execution.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 21:20:33 -07:00
Jesse Lumarie
9dc3b748a8 mcp: add icons 2025-10-18 20:42:46 -06:00
Cliff Hall
f216d424f6
Merge pull request #875 from modelcontextprotocol/fix/increase-default-timeout-for-elicitation
Increase default request timeout to 5 minutes for elicitation support
2025-10-18 15:08:45 -04:00
Cliff Hall
68788fcdae
Merge branch 'main' into inspector/error-popup 2025-10-18 14:49:40 -04:00
olaservo
1306a95ae1 Merge branch 'main' of https://github.com/modelcontextprotocol/inspector into issue-846 2025-10-18 10:07:20 -07:00
Basil Hosmer
e74cbf0d40
Fix tests to match updated timeout description 2025-10-16 17:25:51 -04:00
Basil Hosmer
d6b179e6a8
Increase default request timeout to 5 minutes
- Changed MCP_SERVER_REQUEST_TIMEOUT from 10s to 5m (300000ms)
- Supports elicitation tools and other long-running operations
- Updated documentation to clarify client-side vs server-side timeouts
- Users can still customize via UI config or URL parameters
2025-10-16 17:13:14 -04:00
Stanislav Deviatykh
40fa6cb27d refactor test 2025-10-16 00:57:06 +03:00
Stanislav Deviatykh
c2dbff738e fix: set user specified scope in DCR 2025-10-16 00:50:42 +03:00
bhosmer-ant
d54ab71473
Merge pull request #870 from antonpk1/fix/lock-get-intrinsic-1.3.0
fix: lock get-intrinsic to 1.3.0 to avoid generator-function dependency
2025-10-14 15:13:27 -04:00
Anton Pidkuiko MacBook
266abf422c
fix: lock get-intrinsic to 1.3.0 to avoid generator-function dependency
Add npm override to lock get-intrinsic to version 1.3.0, preventing
upgrades to 1.3.1 which requires the generator-function package.

The generator-function package is not available in Anthropic's internal
Artifactory, causing installation failures when users run
`npx @modelcontextprotocol/inspector` and npm resolves to get-intrinsic@1.3.1.

This override ensures all installations use get-intrinsic@1.3.0 which does
not have the generator-function dependency.
2025-10-14 15:26:31 +01:00
Cliff Hall
636e4deaa7
Merge pull request #865 from olaservo/bump-version-101225 0.17.1
Bump version to 0.17.1
2025-10-13 14:43:45 -04:00
Ola Hungerford
4b26caf67c
Merge branch 'main' into bump-version-101225 2025-10-13 08:30:57 -07:00
Ola Hungerford
da2b81e407
Merge pull request #862 from cliffhall/fix/duplicate-redirect-uris
Fix duplicate OAuth redirect URIs
2025-10-13 08:30:13 -07:00
John Howard
0b569f2fff Move under else 2025-10-13 08:22:15 -07:00
John Howard
2bfbdca485 Add a toast on connection error
When failing to connect to an MCP server, its very hard to understand
why. There is only an opaque "Connection Error" message with no
additional info. This also doesn't change at all on repeated attempts,
so there is no indication we attempted again and failed.

This change introduces a `toast` to visualize the error, and adds the
`cause` into the error message for further debugging
2025-10-13 08:22:15 -07:00