Commit Graph

745 Commits

Author SHA1 Message Date
cliffhall
b19c78bc0a Remove cli tests from build (build has to happen first for those tests) 2025-04-15 18:08:31 -04:00
cliffhall
6a99feaf33 Refactor project components
* Remove bin folder, leaving cli, server, and client
* This fixes #315
* In .gitignore,
  - add .idea
  - remove bin/build
* Remove bin and bin/cli.js
* Remove bin/scripts/copy-cli.js
* Refactor/move bin/scripts to cli/scripts
* Refactor/move bin/src/index.ts to cli/src/cli.ts
* Refactor/renamed client/bin/cli.js to client/bin/client.js
* In .github/workflows/main.yml,
  - add run of cli tests
* In cli/pacakge.json
  - change main and bin/mcp-inspector-cli properties to build/cli.js
* In client/package.json,
  - change bin/mcp-inspector-client properties to build/start.js
* In pacakge.json
  - change bin/mcp-inspector property to ./cli/build/cli.js
  - removed bin and cli/bin from files list
  - removed @modelcontextprotocol/inspector-bin dependency
  - rearranged and corrected scripts
2025-04-15 17:59:26 -04:00
Cliff Hall
f7272d8d8c Merge pull request #177 from nbarraud/cli-and-config-file-support
Add CLI and config file support
2025-04-15 13:57:25 -04:00
Nicolas Barraud
fd7dbba7a8 Merge branch 'main' into cli-and-config-file-support 2025-04-15 12:06:09 -04:00
Cliff Hall
5fa76a7e02 Merge pull request #270 from leoshimo/leo/269-show-initialize-request-in-history
feat: Show initialize request/response in History panel (#269)
2025-04-15 11:27:39 -04:00
Nicolas Barraud
fe02efd017 Merge branch 'main' into cli-and-config-file-support 2025-04-14 22:28:49 -04:00
leoshimo
22eb81350a feat: Show initialize request/response in History panel (#269)
- Add logging for initialize request and response in useConnection.connect
- Include server capabilities, version, and instructions in history
2025-04-14 17:33:58 -07:00
Cliff Hall
0b37722ad1 Merge pull request #272 from idosal/set-header
Enable Authentication header name configuration
2025-04-14 18:52:34 -04:00
Nicolas Barraud
485e703043 Merge branch 'main' into cli-and-config-file-support 2025-04-14 18:51:33 -04:00
Cliff Hall
6420605d30 Merge branch 'main' into set-header 2025-04-14 18:23:55 -04:00
Cliff Hall
25cc0f69fd Merge pull request #300 from kavinkumar807/fix-tool-error-is-not-highlighted-for-sample-llm-tool-call-rejection
fix: missing condition for lengthy strings
2025-04-14 17:53:07 -04:00
Cliff Hall
f1d5824a25 Merge branch 'main' into fix-tool-error-is-not-highlighted-for-sample-llm-tool-call-rejection 2025-04-14 17:50:35 -04:00
Cliff Hall
d332352968 Merge pull request #286 from Cloudkkk/main
feat: 🎸 Add clear button for error notifications
2025-04-14 17:06:03 -04:00
Cliff Hall
d0622d3eb5 Merge branch 'main' into main 2025-04-14 17:00:34 -04:00
kavinkumarbaskar
352f5af7f8 Merge branch 'main' into fix-tool-error-is-not-highlighted-for-sample-llm-tool-call-rejection 2025-04-14 23:09:33 +05:30
Nicolas Barraud
3784816374 Merge branch 'main' into cli-and-config-file-support 2025-04-14 13:36:03 -04:00
Nicolas Barraud
de233c9b30 Conflict resolution 2025-04-14 13:34:49 -04:00
Nicolas Barraud
dcef9dd068 Merge branch 'cli-and-config-file-support' of https://github.com/nbarraud/inspector into cli-and-config-file-support 2025-04-14 13:30:16 -04:00
Nicolas Barraud
204a90b1d1 Resolved new conflicts 2025-04-14 13:30:12 -04:00
Cliff Hall
8f7680d72b Merge pull request #311 from olaservo/bump-version-0-9-0
Bump version to 0.9.0
0.9.0
2025-04-14 11:36:19 -04:00
olaservo
e20c4fb4ff Bump version to 0.9.0 2025-04-14 08:23:08 -07:00
Ido Salomon
f461f29f18 Merge branch 'main' into set-header 2025-04-12 22:55:36 +03:00
Ido Salomon
87fad79e7d add bearer 2025-04-12 22:55:03 +03:00
Ido Salomon
cd1bcfb15f Update README.md
Co-authored-by: Ola Hungerford <olahungerford@gmail.com>
2025-04-12 22:52:47 +03:00
Nicolas Barraud
bbff5c5883 Merge branch 'main' into cli-and-config-file-support 2025-04-12 11:02:53 -04:00
Nicolas Barraud
8423776873 Fixed conflicts 2025-04-12 10:33:22 -04:00
Ola Hungerford
645a256994 Merge pull request #274 from nathanArseneau/dark-mode-fix
fix dark mode color and padding for the tab item
2025-04-12 06:04:28 -07:00
kavinkumarbaskar
1175af1074 fix: missing condition for lengthy strings 2025-04-12 17:54:17 +05:30
Cloudkkk
c4cc4144d9 test: 💍 Add test case property 2025-04-12 14:30:33 +08:00
Ido Salomon
80854d9183 Merge branch 'main' into set-header 2025-04-12 03:37:18 +03:00
Nathan Arseneau
98ea4a12d6 Merge branch 'main' into dark-mode-fix 2025-04-11 20:13:31 -04:00
Ido Salomon
a010f10c26 remove bad merges 2025-04-12 00:50:37 +03:00
Cliff Hall
70dc1b766e Merge pull request #298 from Kavyapriya-1804/fix-lint-warnings-and-errors-in-client
Fix - Lint warnings and errors in client
2025-04-11 17:38:13 -04:00
Ido Salomon
d798d1a132 remove bad merge 2025-04-12 00:13:52 +03:00
KavyapriyaJG
eab6b42ac6 Fix - Lint warnings and errors in client
Lint issues fixed:
1. Removed unused error variable in catch block
2. Changed 'ActionTypes' type to enum
3. Removed unnecessary interface extensions
4. Removed unused export component
5. Added the missing dependencies to useMemo
6. Fixed the inline function issue by changing it to useMemo
2025-04-12 02:10:37 +05:30
Ido Salomon
53152e3fb1 fix build 2025-04-11 20:52:45 +03:00
Tadas Antanavicius
4a2ba7ce6e Merge pull request #290 from cliffhall/fix-reconnect
Fix Reconnect handler
2025-04-10 13:12:53 -07:00
Ido Salomon
aeac3ac914 Merge branch 'main' into set-header 2025-04-10 20:38:12 +03:00
Ido Salomon
a98db777c5 add auth tests 2025-04-10 20:34:40 +03:00
Cliff Hall
4f6c30904a Merge branch 'main' into fix-reconnect 2025-04-09 14:07:11 -04:00
Cliff Hall
a3a1ad47fa Merge pull request #275 from kavinkumar807/highlight-tool-errors-in-red-text
feat: highlight tool errors in red text
2025-04-09 13:30:19 -04:00
kavinkumarbaskar
1596973b05 Merge branch 'main' into highlight-tool-errors-in-red-text 2025-04-09 22:47:12 +05:30
Cliff Hall
6c07559573 Merge pull request #266 from morinokami/patch-3
Enhance Sidebar component accessibility
2025-04-09 13:10:00 -04:00
cliffhall
727e0753e4 This fixes #273
* In Sidebar.tsx
  - In Reconnect button handler, call onDisconnect before onConnect

See: https://github.com/modelcontextprotocol/inspector/issues/273#issuecomment-2789895596
2025-04-09 11:52:31 -04:00
Cliff Hall
aad3262940 Merge pull request #264 from samuel871211/addUnitTest
refactor(json): Consolidate JSON utilities and type definitions
2025-04-09 10:28:33 -04:00
Shinya Fujino
7bc1088159 Merge remote-tracking branch 'origin/main' into patch-3 2025-04-09 22:16:28 +09:00
kavinkumarbaskar
256972a366 Merge branch 'main' into highlight-tool-errors-in-red-text 2025-04-09 17:40:30 +05:30
Cloudkkk
a15df913fe feat: 🎸 Add clear button for error notifications 2025-04-09 11:32:49 +08:00
yushengchen
068d43226f refactor: remove as any of file jsonUtils.test.ts
refactor: extract `DataType` as the return type of function `getDataType`
2025-04-09 09:24:42 +08:00
yushengchen
fe74dbea74 refactor(json): Consolidate JSON utilities and type definitions
Modified files:
- client/src/components/DynamicJsonForm.tsx
- client/src/components/JsonView.tsx
- client/src/components/ToolsTab.tsx
- client/src/components/__tests__/DynamicJsonForm.test.tsx
- client/src/utils/__tests__/jsonPathUtils.test.ts → client/src/utils/__tests__/jsonUtils.test.ts
- client/src/utils/__tests__/schemaUtils.test.ts
- client/src/utils/jsonPathUtils.ts → client/src/utils/jsonUtils.ts
- client/src/utils/schemaUtils.ts

Descriptions:
- Move JSON type definitions from DynamicJsonForm to centralized jsonUtils
- Consolidate utility functions (getDataType, tryParseJson) into jsonUtils
- Rename jsonPathUtils to jsonUtils for better semantic clarity
- Add comprehensive test coverage for new utility functions
- Update imports across all affected components
- Improve type references consistency throughout the codebase
2025-04-09 09:20:02 +08:00