cliffhall
4e90143071
Fix linter complaints
...
* In JsonView.tsx
- add setCopied to dependencies of handleCopy useCallback
* In useCopy.ts
- add timeout to useEffect inside useCopy hook
2025-10-10 11:45:18 -04:00
Ola Hungerford
b025bffc9d
Merge pull request #767 from pja-ant/fix766
...
Fix issue 766 - Completions not populated until you start typing
2025-10-07 21:34:35 -07:00
Ola Hungerford
1778ab70ca
Merge branch 'main' into fix766
2025-10-07 21:28:32 -07:00
Ola Hungerford
b7ef160190
Merge pull request #819 from fredericbarthelet/update-resource-metadata-specs-link
...
Update link to actual mcp revision introducing protected resource metadata endpoint
2025-10-06 15:37:40 -07:00
Ola Hungerford
69f1216087
Merge pull request #839 from cliffhall/fix-cli-package.json-import
...
Fix cli package.json import
2025-10-04 13:50:10 -07:00
cliffhall
19a7d3752c
Depending upon whether it is being invoked from the npm package @modelcontextprotocol/inspector or @modelcontextprotocol/inspector-cli the location of package.json will either be in ../ or ../../
...
* In cli/src/index.ts
- load package.json from the parent folder or parent's parent depending on file existence in parent.
- move the load of package.json into callMethod function, which is the only place it is used, and is closer to where it is referenced.
2025-10-04 14:54:07 -04:00
cliffhall
6e27b5d530
In #544 a change to cli/src/index.ts was introduced that reads package.json from one level up. It works if the project is checked out locally, but not in the npm package, because the package.json of the workspace packages is not included in the inspector package. We can get that from one level up, the inpsector's own package, and so this change does that.
2025-10-04 13:23:33 -04:00
Cliff Hall
901d10c080
Merge pull request #830 from kentcdodds/auth-fix
...
0.17.0
fix: enhance OAuth token handling in useConnection hook to prevent infinite auth loops
2025-09-30 21:56:38 -04:00
Cliff Hall
5b4edefbc7
Update client/src/lib/hooks/useConnection.ts
2025-09-30 19:06:19 -04:00
Kent C. Dodds
9e95eec0f3
Merge branch 'main' into auth-fix
2025-09-30 15:40:39 -06:00
Ola Hungerford
1c35ee5c12
Merge pull request #833 from cliffhall/main
...
Bump Inspector version to 0.17.0
2025-09-30 14:34:58 -07:00
Kent C. Dodds
34534ed062
fix: update default authorization header to include empty Bearer token and improve validation logic
2025-09-30 15:17:13 -06:00
Cliff Hall
de71fb9d1c
Merge branch 'main' into auth-fix
2025-09-30 17:00:24 -04:00
Cliff Hall
a8aebd8a39
Merge branch 'modelcontextprotocol:main' into main
2025-09-30 15:57:53 -04:00
Cliff Hall
cd2b787066
Merge pull request #625 from olaservo/omit-optional-empty-strings
...
Update ToolsTab parameter handling to omit optional empty fields
2025-09-30 15:57:37 -04:00
cliffhall
0a60c58d4f
Bump Inspector version to 0.17.0
...
- New feature: Connection Type
- Reverts "fix: filter out client_secret when storing OAuth client information"
- Fixes STDIO "Headers is undefined" message when connecting to an SSE server.
2025-09-30 15:41:09 -04:00
olaservo
5abf1d5052
Clear validation errors after tool execution and adjust error display in ToolsTab
2025-09-27 22:09:44 -07:00
olaservo
36f5ba995b
Merge branch 'omit-optional-empty-strings' of https://github.com/olaservo/inspector into omit-optional-empty-strings-updated
2025-09-27 21:25:48 -07:00
Ola Hungerford
d255728a49
Merge branch 'main' into omit-optional-empty-strings
2025-09-27 21:25:00 -07:00
Ola Hungerford
5e1aef27bf
Merge pull request #772 from JMLX42/fix/optional-arrays-issue-771
...
Fix optional arrays/objects issue #771
2025-09-27 21:21:55 -07:00
olaservo
a11ee99818
Update ToolsTab tests to require JSON fields and adjust default value generation for optional types
2025-09-27 21:17:17 -07:00
olaservo
69c294c0ae
Let servers validate invalid input
2025-09-27 21:05:00 -07:00
olaservo
a4f99bd5d0
Remove demo video file
2025-09-27 20:54:09 -07:00
olaservo
2b49ab7aaf
Merge remote-tracking branch 'upstream/main' into omit-optional-empty-strings-updated
2025-09-27 20:53:06 -07:00
Ola Hungerford
ce4ac9e998
Merge pull request #528 from nandsha/fix/validate-json-on-tool-execution
...
fix: Validate JSON parameters before tool execution
2025-09-27 20:51:58 -07:00
olaservo
48fd23064c
Remove unused function
2025-09-27 20:39:11 -07:00
olaservo
45a1bde010
Refactor ToolsTab to handle cleared fields as undefined instead of empty strings; update tests for new behavior
2025-09-27 20:21:03 -07:00
Kent C. Dodds
0da5bc2a2e
refactor: streamline authorization header validation in useConnection hook
2025-09-26 13:26:46 -06:00
Kent C. Dodds
30f9855fd5
fix: update authorization header handling to prevent empty values and show validation error
2025-09-26 13:24:28 -06:00
olaservo
45abfe0d87
Merge remote-tracking branch 'upstream/main' into omit-optional-empty-strings-updated
2025-09-25 21:18:25 -07:00
Kent C. Dodds
17ace55bbf
fix: enhance OAuth token handling in useConnection hook to prevent infinite auth loops
2025-09-25 15:29:26 -06:00
Cliff Hall
861812e023
Merge pull request #827 from modelcontextprotocol/revert-pr-715
...
Revert "fix: filter out client_secret when storing OAuth client information"
2025-09-24 10:40:57 -04:00
olaservo
fcaaffff51
Fix TypeScript error: replace 'any' with proper JsonSchemaType
...
- Import JsonSchemaType from utils/jsonUtils
- Cast tool.inputSchema to JsonSchemaType instead of any
- Matches typing pattern used elsewhere in codebase
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 07:13:37 -07:00
Paul Carleton
b72e3c1233
Revert "fix: filter out client_secret when storing OAuth client information"
...
This reverts commit 36b9acc97e .
2025-09-24 15:12:52 +01:00
olaservo
2846e179a3
Fix formatting with Prettier
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 07:06:31 -07:00
olaservo
754c97956f
Omit optional fields with empty strings from tool calls
2025-09-24 07:01:04 -07:00
Nandha Reddy
9903c83753
Add PR demo video showing JSON validation improvements
...
- Demonstrates real-time JSON validation feedback
- Shows tool execution disabled on invalid JSON
- Displays improved error messages and auto-reset functionality
- File optimized for GitHub (709KB MP4 format)
2025-09-24 01:29:25 +10:00
Nandha Reddy
a3445c93ff
Fix ESLint issues in DynamicJsonForm.tsx
...
- Remove unnecessary escape character in regex pattern
- Add missing schema dependency to useCallback hook
2025-09-24 01:04:24 +10:00
Nandha Reddy
8d149b2673
Add real-time JSON validation and prevent tool execution on invalid input
2025-09-24 00:25:06 +10:00
Nandha Reddy
119922b8b5
Merge branch 'main' into fix/validate-json-on-tool-execution
2025-09-23 20:10:59 +10:00
Ola Hungerford
42aa95b343
Merge pull request #544 from richardkmichael/accurate-cli-version
...
fix: hard-coded CLI inspector version
2025-09-22 21:24:52 -07:00
Ola Hungerford
32ea112051
Merge branch 'main' into accurate-cli-version
2025-09-22 20:46:14 -07:00
Cliff Hall
92d1665b7c
Merge pull request #727 from cameronldroberts/tool-search
...
feat: Add search capability to the ListPane component to allow users to filter resources, prompts and tools
2025-09-22 16:34:45 -04:00
Cliff Hall
71aadf9652
Merge branch 'main' into tool-search
2025-09-22 16:23:04 -04:00
Cliff Hall
cf9acf607a
Merge pull request #810 from cliffhall/no-proxy-for-http-transports
...
Allow bypassing proxy with Connection Type dropdown
2025-09-20 19:29:48 -04:00
Cameron Roberts
d50aa6a238
Merge branch 'main' into tool-search
2025-09-19 23:11:16 +01:00
Frédéric Barthelet
b9cd692b55
Update link to actual mcp revision introducing protected resource metadata endpoint
2025-09-19 13:53:10 +02:00
cliffhall
6b7c752684
* In Sidebar.tsx
...
- Add tooltip over the Connection Type field
2025-09-18 17:43:12 -04:00
Cliff Hall
05534ca430
Merge branch 'main' into no-proxy-for-http-transports
2025-09-18 16:36:37 -04:00
Ola Hungerford
da386418ab
Merge branch 'main' into fix/optional-arrays-issue-771
2025-09-18 07:43:24 -07:00