Commit graph inspector/client
Author SHA1 Message Date
Ola Hungerford
f274a52612
Merge branch 'main' into feature/completion-context 2025-07-26 09:41:56 -07:00
Felix Weinberger
939a7dab58
chore: update ts-sdk to 0.17.0 and bump version to 0.16.2 2025-07-25 15:57:43 +01:00
Cliff Hall
9f6e731dc4
Merge pull request #535 from QuantGeekDev/feature/elicitations
add: elicitation support
2025-07-24 11:50:43 -04:00
Cliff Hall
21745d6507
Merge branch 'main' into fweinberger/fix-cli-args 2025-07-24 11:46:54 -04:00
Cliff Hall
eda6c05ba1
Merge branch 'main' into feature/elicitations 2025-07-24 11:00:41 -04:00
Felix Weinberger
c7b90a1af9
Fix command-line argument passing to pre-fill UI
When running the inspector with command-line arguments (e.g.,
`npx @modelcontextprotocol/inspector node build/index.js arg1 arg2`),
the command and arguments were not being properly passed through to
the UI for pre-filling.

Changes:
- cli.ts now passes command and args to start.js
- start.js uses --command for the command and --args for arguments
- Server parses the new --command parameter
- /config endpoint returns correct values for UI pre-filling

This ensures the UI correctly displays the command and arguments
passed on the command line instead of showing old localStorage values.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 13:06:36 +01:00
Ola Hungerford
144755b369
Merge branch 'main' into feature/elicitations 2025-07-23 21:50:48 -07:00
Xiao Yijun
f6c9342678
test: update tests 2025-07-23 07:57:21 +08:00
Xiao Yijun
ee39d56e6d
chore: fix lint issue 2025-07-21 11:26:27 +08:00
Xiao Yijun
1c9b47a0e8
refactor: ui improvement 2025-07-21 11:24:54 +08:00
Alex Andru
6b204b5d29
feat: add active tab system 2025-07-18 18:21:40 +02:00
Xiao Yijun
91aacba85d
Merge branch 'main' into feat-support-enter-oauth-client-information-manually 2025-07-14 17:24:38 +08:00
Xiao Yijun
9e8042949d
refactor: update label for redirect URL 2025-07-14 17:23:02 +08:00
Dennis Geurts
e2de80fd84 feat: Removes prompt argument from completion state
This commit removes the prompt argument from the completion state.
The argument is deleted from the context after the completion is handled.
This prevents unexpected behavior and ensures a cleaner state.
2025-07-12 12:45:02 +02:00
Dennis Geurts
de474e5411 feat: Add context argument to completion handlers
This commit adds a `context` argument to the completion handlers in `PromptsTab`, `ResourcesTab`, `useCompletionState`, and `useConnection`.

The context argument allows passing additional information to the completion engine, which can be used to improve the quality of the completions.  The context is passed as a dictionary of key-value pairs.

The `ResourcesTab` component was also updated to pass `templateValues` as the `context` to the completion handler.

The `useConnection` hook was updated to include the context in the completion request sent to the server.
2025-07-12 12:42:21 +02:00
Ola Hungerford
430d6d4712
Merge branch 'main' into completion-support-default 2025-07-11 20:23:17 -07:00
Cliff Hall
5c15e50caa
Merge branch 'main' into patch-1 2025-07-11 14:58:06 -04:00
bhosmer-ant
3acc6d891c
Merge pull request #602 from kentcdodds/cursor/fix-pull-request-interpretation-and-tests-7a8f
fix: interpretation of unstructured content and tests
2025-07-11 11:31:23 -04:00
Cliff Hall
a7539d05e3
Merge pull request #564 from nandsha/feat/add-resource-link-support
feat: Add resource_link content type support to ToolResults component
2025-07-10 17:54:23 -04:00
cliffhall
acd166263e Bump version to 0.16.1 2025-07-10 16:08:47 -04:00
Cursor Agent
1756b010d8 Improve content compatibility messages for structured content matching
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 14:22:31 +00:00
Cursor Agent
78fd8949df Refactor content compatibility check and simplify test cases
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 13:22:38 +00:00
Cursor Agent
cbb3ebcd1a Enhance content compatibility checks for tool results with multiple blocks
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 12:45:47 +00:00
Cliff Hall
7a069b4cbf
Merge branch 'main' into feat-support-enter-oauth-client-information-manually 2025-07-09 17:37:19 -04:00
Nandha Reddy
914f6bb7c3
test: add resource link test coverage 2025-07-09 18:26:27 +10:00
Nandha Reddy
983c3a7c6a
Merge branch 'main' into feat/add-resource-link-support 2025-07-09 15:40:40 +10:00
Nandha Reddy
0dc7a50218
feat: Enhance ResourceLinkView with expandable resource content view
Add click-to-expand functionality for inline resource content display
2025-07-09 05:15:46 +10:00
olaservo
f8aac1758c chore: bump version to 0.16.0 2025-07-08 07:45:31 -07:00
Nandha Reddy
7c9cfa2113
Merge branch 'feat/add-resource-link-support' of https://github.com/nandsha/mcp-inspector into feat/add-resource-link-support 2025-07-08 22:34:23 +10:00
Nandha Reddy
c9ab61b09a
Merge branch 'main' into feat/add-resource-link-support 2025-07-08 22:32:58 +10:00
Xiao Yijun
3b3205228f
refactor: remove resource config 2025-07-08 10:21:40 +08:00
Xiao Yijun
b8120d9f85
feat: support manual entry of OAuth client information 2025-07-08 09:41:55 +08:00
Kent C. Dodds
80fcf1afa9 format 2025-07-07 16:08:02 -06:00
Kent C. Dodds
416fc15349
Merge branch 'main' into patch-1 2025-07-07 15:21:44 -06:00
Kent C. Dodds
7d5f7968d1
Rename MCP_PROXY_TOKEN to MCP_PROXY_AUTH_TOKEN (#1)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-07-07 15:21:27 -06:00
Ola Hungerford
e106194b40
Merge branch 'main' into completion-support-default 2025-07-07 05:00:52 -07:00
Ola Hungerford
7ff70e15b0
Merge branch 'main' into fveiras/copy_json 2025-07-07 04:59:31 -07:00
Ola Hungerford
30cefc8ede
Merge branch 'main' into feat/add-resource-link-support 2025-07-06 20:21:40 -07:00
Ola Hungerford
4ab7794494
Merge pull request #512 from richardkmichael/notification-expansion-state
Fix Server Notifications expansion state
2025-07-06 20:17:59 -07:00
Ola Hungerford
aa73daaa60
Merge branch 'main' into notification-expansion-state 2025-07-06 19:59:18 -07:00
Francisco Veiras
9842a6278a fix: Copy JSON button form submission 2025-07-06 12:08:20 -03:00
Alex Andru
6cddc51d91 Merge branch 'feature/elicitations' of https://github.com/QuantGeekDev/mcp-debug into feature/elicitations 2025-07-04 19:55:21 +02:00
Alex Andru
efd5f8a17c feat: enum support in dynamic json form 2025-07-04 19:45:55 +02:00
Alex Andru
3a121bc8fc fix: support JSON Schema spec compliant oneOf with const for labeled enums
- Make JsonSchemaType.type optional to support const-only schemas
- Add JsonSchemaConst type for schema objects using const values
- Update oneOf/anyOf to accept both full schemas and const schemas
- Add comprehensive tests for oneOf with const and title patterns

This fixes TypeScript compilation errors when using the JSON Schema
specification's recommended approach for labeled enums:
{ "type": "string", "oneOf": [{ "const": "red", "title": "Stop" }] }

Replaces deprecated enumNames pattern with spec-compliant implementation.
2025-07-04 19:39:03 +02:00
Alex Andru
e6c8b946aa feat: use decline instead of reject 2025-07-04 12:09:51 +02:00
Alex Andru
f2166c985f refactor: remove dead code 2025-07-04 10:59:29 +02:00
Alex Andru
28c1890117 feat: replace modal logic with new tab request for elicitation 2025-07-04 10:55:00 +02:00
Alex Andru
2baf8bc84b test: elicitations tab 2025-07-04 10:54:25 +02:00
Alex Andru
9539c16845 feat: add elicitations tab 2025-07-04 10:54:11 +02:00
Alex Andru
0411383d81 test: Elicitation request 2025-07-04 10:53:08 +02:00