Commit graph inspector/client/src
Author SHA1 Message Date
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
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
olaservo
8367ef242b Merge remote-tracking branch 'upstream/main' into issue-846 2025-10-12 20:25:58 -07:00
cliffhall
eda547ee7b Fix duplicate OAuth redirect URIs
* In auth.ts
  - add getter for redirect_uris which returns redirectUrl and debugRedirectUrl but de-duped
  - included comments that explains the problem and link to issue
  - in clientMetadata getter,
    - replace hardcoded array value with this..redirect_uris, so it will never contain duplicate uris

Fixes #825
2025-10-11 14:35:47 -04: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
olaservo
0123a71da4 Add input validation guidelines and enhance cleanParams function to preserve default values 2025-10-08 08:43:11 -07: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
842aa3c8ca Added general meta data section to add pairs for all requests 2025-10-02 11:23:29 +02:00
lorenzo.neumann
78c56b350b Fixed failing tests 2025-10-02 09:36:56 +02:00
lorenzo.neumann
7624eefc1e Merge remote-tracking branch 'origin2/main' into meta_properies_in_tools 2025-10-02 09:26:18 +02: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
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
olaservo
5abf1d5052 Clear validation errors after tool execution and adjust error display in ToolsTab 2025-09-27 22:09:44 -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
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