Commit graph

1,733 commits

Author SHA1 Message Date
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
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
Cliff Hall
01caa53779
Merge pull request #808 from modelcontextprotocol/claude/issue-807-20250916-0337 0.16.8
chore: bump version to 0.16.8
2025-09-17 18:00:05 -04:00
Ola Hungerford
801f650faa
Merge branch 'main' into claude/issue-807-20250916-0337 2025-09-17 14:48:01 -07:00
Ola Hungerford
d2a715c9fb
Merge pull request #813 from cliffhall/fix-new-headers-issue
Polyfill Headers in proxy with node-fetch
2025-09-17 14:47:42 -07:00
cliffhall
f1e93e0475 * In server/index.ts
- in createCustomFetch function
    - convert finalHeaders to headers object for node-fetch compatibility
    - for SSE streams, convert node stream to response body to web ReadableStream since EventSource polyfill expects web-compatible stream

* In package-lock.json and package.json
  - add node-fetch as a dependency

This fixes #600
2025-09-17 14:45:58 -04:00
Cliff Hall
00a49736e7
Merge branch 'main' into tool-search 2025-09-17 13:42:39 -04:00
Ola Hungerford
c45ec06e14
Merge branch 'main' into fix/optional-arrays-issue-771 2025-09-17 06:38:16 -07:00
Ola Hungerford
88218785c2
Merge branch 'main' into claude/issue-807-20250916-0337 2025-09-16 17:56:30 -07:00
Ola Hungerford
81889e680d
Merge pull request #801 from modelcontextprotocol/basil/fix-oauth-redirect-uri-mismatch
Fix OAuth redirect URI mismatch in debug flow
2025-09-16 17:56:14 -07:00