@modelcontextprotocol/inspector-client 0.5.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1485,6 +1485,9 @@ video {
1485
1485
  .col-span-2 {
1486
1486
  grid-column: span 2 / span 2;
1487
1487
  }
1488
+ .row-auto {
1489
+ grid-row: auto;
1490
+ }
1488
1491
  .-mx-1 {
1489
1492
  margin-left: -0.25rem;
1490
1493
  margin-right: -0.25rem;
@@ -1601,6 +1604,9 @@ video {
1601
1604
  .w-2 {
1602
1605
  width: 0.5rem;
1603
1606
  }
1607
+ .w-2\/5 {
1608
+ width: 40%;
1609
+ }
1604
1610
  .w-3\.5 {
1605
1611
  width: 0.875rem;
1606
1612
  }
@@ -1654,18 +1660,6 @@ video {
1654
1660
  --tw-translate-y: -50%;
1655
1661
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1656
1662
  }
1657
- .transform {
1658
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1659
- }
1660
- @keyframes pulse {
1661
-
1662
- 50% {
1663
- opacity: .5;
1664
- }
1665
- }
1666
- .animate-pulse {
1667
- animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1668
- }
1669
1663
  .cursor-default {
1670
1664
  cursor: default;
1671
1665
  }
@@ -1704,6 +1698,9 @@ video {
1704
1698
  .justify-between {
1705
1699
  justify-content: space-between;
1706
1700
  }
1701
+ .gap-1 {
1702
+ gap: 0.25rem;
1703
+ }
1707
1704
  .gap-2 {
1708
1705
  gap: 0.5rem;
1709
1706
  }
@@ -1858,17 +1855,6 @@ video {
1858
1855
  .bg-transparent {
1859
1856
  background-color: transparent;
1860
1857
  }
1861
- .bg-gradient-to-r {
1862
- background-image: linear-gradient(to right, var(--tw-gradient-stops));
1863
- }
1864
- .from-purple-500 {
1865
- --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
1866
- --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
1867
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1868
- }
1869
- .to-pink-500 {
1870
- --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
1871
- }
1872
1858
  .p-0 {
1873
1859
  padding: 0px;
1874
1860
  }
@@ -1945,10 +1931,6 @@ video {
1945
1931
  .font-mono {
1946
1932
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
1947
1933
  }
1948
- .text-3xl {
1949
- font-size: 1.875rem;
1950
- line-height: 2.25rem;
1951
- }
1952
1934
  .text-lg {
1953
1935
  font-size: 1.125rem;
1954
1936
  line-height: 1.75rem;
@@ -2109,13 +2091,6 @@ video {
2109
2091
  .filter {
2110
2092
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2111
2093
  }
2112
- .transition {
2113
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
2114
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2115
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
2116
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2117
- transition-duration: 150ms;
2118
- }
2119
2094
  .transition-all {
2120
2095
  transition-property: all;
2121
2096
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -2134,9 +2109,6 @@ video {
2134
2109
  .duration-200 {
2135
2110
  transition-duration: 200ms;
2136
2111
  }
2137
- .duration-300 {
2138
- transition-duration: 300ms;
2139
- }
2140
2112
  @keyframes enter {
2141
2113
 
2142
2114
  from {
@@ -2154,9 +2126,6 @@ video {
2154
2126
  .duration-200 {
2155
2127
  animation-duration: 200ms;
2156
2128
  }
2157
- .duration-300 {
2158
- animation-duration: 300ms;
2159
- }
2160
2129
 
2161
2130
  :root {
2162
2131
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
@@ -2263,12 +2232,6 @@ button[role="checkbox"] {
2263
2232
  border-bottom-width: 0px;
2264
2233
  }
2265
2234
 
2266
- .hover\:scale-110:hover {
2267
- --tw-scale-x: 1.1;
2268
- --tw-scale-y: 1.1;
2269
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2270
- }
2271
-
2272
2235
  .hover\:bg-accent:hover {
2273
2236
  background-color: hsl(var(--accent));
2274
2237
  }
@@ -2294,16 +2257,6 @@ button[role="checkbox"] {
2294
2257
  background-color: hsl(var(--secondary) / 0.8);
2295
2258
  }
2296
2259
 
2297
- .hover\:from-purple-600:hover {
2298
- --tw-gradient-from: #9333ea var(--tw-gradient-from-position);
2299
- --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
2300
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2301
- }
2302
-
2303
- .hover\:to-pink-600:hover {
2304
- --tw-gradient-to: #db2777 var(--tw-gradient-to-position);
2305
- }
2306
-
2307
2260
  .hover\:text-accent-foreground:hover {
2308
2261
  color: hsl(var(--accent-foreground));
2309
2262
  }
@@ -2346,17 +2299,6 @@ button[role="checkbox"] {
2346
2299
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2347
2300
  }
2348
2301
 
2349
- .focus\:ring-4:focus {
2350
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2351
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2352
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2353
- }
2354
-
2355
- .focus\:ring-purple-300:focus {
2356
- --tw-ring-opacity: 1;
2357
- --tw-ring-color: rgb(216 180 254 / var(--tw-ring-opacity, 1));
2358
- }
2359
-
2360
2302
  .focus\:ring-ring:focus {
2361
2303
  --tw-ring-color: hsl(var(--ring));
2362
2304
  }
package/dist/index.html CHANGED
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/mcp.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>MCP Inspector</title>
8
- <script type="module" crossorigin src="/assets/index-mKSHihrk.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-BC_1zPdU.css">
8
+ <script type="module" crossorigin src="/assets/index-D7o7JmLV.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-Dt6l7sEy.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelcontextprotocol/inspector-client",
3
- "version": "0.5.1",
3
+ "version": "0.7.0",
4
4
  "description": "Client-side application for the Model Context Protocol inspector",
5
5
  "license": "MIT",
6
6
  "author": "Anthropic, PBC (https://anthropic.com)",
@@ -18,7 +18,9 @@
18
18
  "dev": "vite",
19
19
  "build": "tsc -b && vite build",
20
20
  "lint": "eslint .",
21
- "preview": "vite preview"
21
+ "preview": "vite preview",
22
+ "test": "jest --config jest.config.cjs",
23
+ "test:watch": "jest --config jest.config.cjs --watch"
22
24
  },
23
25
  "dependencies": {
24
26
  "@modelcontextprotocol/sdk": "^1.6.1",
@@ -35,8 +37,8 @@
35
37
  "clsx": "^2.1.1",
36
38
  "cmdk": "^1.0.4",
37
39
  "lucide-react": "^0.447.0",
38
- "prismjs": "^1.29.0",
39
40
  "pkce-challenge": "^4.1.0",
41
+ "prismjs": "^1.29.0",
40
42
  "react": "^18.3.1",
41
43
  "react-dom": "^18.3.1",
42
44
  "react-simple-code-editor": "^0.14.1",
@@ -48,18 +50,23 @@
48
50
  },
49
51
  "devDependencies": {
50
52
  "@eslint/js": "^9.11.1",
53
+ "@types/jest": "^29.5.14",
51
54
  "@types/node": "^22.7.5",
52
55
  "@types/react": "^18.3.10",
53
56
  "@types/react-dom": "^18.3.0",
54
57
  "@types/serve-handler": "^6.1.4",
55
58
  "@vitejs/plugin-react": "^4.3.2",
56
59
  "autoprefixer": "^10.4.20",
60
+ "co": "^4.6.0",
57
61
  "eslint": "^9.11.1",
58
62
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
59
63
  "eslint-plugin-react-refresh": "^0.4.12",
60
64
  "globals": "^15.9.0",
65
+ "jest": "^29.7.0",
66
+ "jest-environment-jsdom": "^29.7.0",
61
67
  "postcss": "^8.4.47",
62
68
  "tailwindcss": "^3.4.13",
69
+ "ts-jest": "^29.2.6",
63
70
  "typescript": "^5.5.3",
64
71
  "typescript-eslint": "^8.7.0",
65
72
  "vite": "^5.4.8"