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
Cliff Hall
0ae2b7e7fb
Merge branch 'main' into greg/add_null_support_to_tools
2025-10-11 11:59:07 -04:00
Ola Hungerford
f013291f34
Merge pull request #858 from cliffhall/fix-lint
...
Fix linter complaints
2025-10-10 19:08:26 -07:00
Greg Saab
3adddfb9f1
merge
2025-10-10 19:08:16 -04:00
Cliff Hall
fc86dad130
Merge pull request #761 from ln-12/json_view_copy_button
...
Add copy functionality to JsonView component
2025-10-10 18:46:30 -04:00
Cliff Hall
321100b5cc
Merge pull request #797 from JavaProgrammerLB/fixWrongRoleValue
...
fix wrong role default value
2025-10-10 17:37:57 -04:00
Cliff Hall
982e10d71c
Merge branch 'main' into crondinini/support-client-secret
2025-10-10 17:08:04 -04:00
Cliff Hall
bde12d1131
Merge branch 'main' into fixWrongRoleValue
2025-10-10 17:00:28 -04:00
Cliff Hall
ece0e27ad4
Merge pull request #823 from ksinder/main
...
`ToolsTab`: truncate longer tool descriptions for nicer rendering
2025-10-10 14:23:39 -04:00
Cliff Hall
8bfd164358
Merge branch 'main' into add-dropdowns-for-enums
2025-10-10 14:11:40 -04:00
crondinini-ant
bc1ca95aea
add client secret option
2025-10-10 18:21:34 +01:00
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
anilkumar
653e0f87d1
fix: prevent long unbreakable words in alert messages from overflowing container
2025-10-09 00:03:32 +05:30
Greg Saab
6dd62d3a6d
add UI spec
2025-10-08 13:04:57 -04:00
Greg Saab
6facce3fc1
conditionally render the checkbox
2025-10-08 13:04:50 -04:00
Greg Saab
9e74437dab
update specs
2025-10-08 12:34:13 -04:00
Greg Saab
3fd0feb75a
if a field is nullable, provide a means of specifying null
2025-10-08 12:22:47 -04:00
Bill Lau
be65a8d569
Merge branch 'main' into fixWrongRoleValue
2025-10-08 16:45:49 +08:00
Ola Hungerford
097e2dd722
Merge branch 'main' into add-dropdowns-for-enums
2025-10-07 23:15:37 -07:00
olaservo
01adbe5f10
Merge branch 'main' into ksinder/main
...
Resolved conflicts in ToolsTab.tsx by combining:
- Error alert display from main
- Description styling improvements from PR #823 (whitespace-pre-wrap, max-h-48, overflow-y-auto)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 22:30:03 -07:00
Ola Hungerford
1778ab70ca
Merge branch 'main' into fix766
2025-10-07 21:28:32 -07:00
olaservo
3d3a79e109
Add enum parameter support in ToolsTab component and corresponding tests
...
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 20:57:42 -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
lorenzo.neumann
fde922130d
Merge branch 'main' of https://github.com/modelcontextprotocol/inspector into json_view_copy_button
2025-10-02 09:21:46 +02: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
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
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
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
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