@modelcontextprotocol/inspector-client 0.22.0 → 1.0.1
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.
- package/README.md +10 -0
- package/bin/start.js +5 -0
- package/dist/assets/{OAuthCallback-Cd9z3Q8P.js → OAuthCallback-DKaW5Tk8.js} +1 -1
- package/dist/assets/{OAuthDebugCallback-h_lUPqCA.js → OAuthDebugCallback-Bx3X7Zkh.js} +1 -1
- package/dist/assets/{index-CngsKvMW.js → index-CH-qD91V.js} +3586 -2830
- package/dist/assets/{index-CfzB1GD8.css → index-DXy0twoH.css} +52 -5
- package/dist/index.html +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
> # ⚠️ Deprecated
|
|
2
|
+
>
|
|
3
|
+
> **`@modelcontextprotocol/inspector` v1 is deprecated.**
|
|
4
|
+
>
|
|
5
|
+
> ```
|
|
6
|
+
> npx @modelcontextprotocol/inspector@latest
|
|
7
|
+
> ```
|
|
8
|
+
>
|
|
9
|
+
> v1 receives **security fixes only**. All new development happens in v2.
|
|
10
|
+
|
|
1
11
|
# React + TypeScript + Vite
|
|
2
12
|
|
|
3
13
|
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
package/bin/start.js
CHANGED
|
@@ -167,6 +167,11 @@ async function startDevClient(clientOptions) {
|
|
|
167
167
|
|
|
168
168
|
// Give vite time to start before opening or logging the URL
|
|
169
169
|
setTimeout(() => {
|
|
170
|
+
console.log(
|
|
171
|
+
`\n⚠️ @modelcontextprotocol/inspector v1 is deprecated.\n` +
|
|
172
|
+
` Upgrade: npx @modelcontextprotocol/inspector@latest\n` +
|
|
173
|
+
` v1 receives security fixes only.`,
|
|
174
|
+
);
|
|
170
175
|
console.log(`\n🚀 MCP Inspector is up and running at:\n ${url}\n`);
|
|
171
176
|
if (process.env.MCP_AUTO_OPEN_ENABLED !== "false") {
|
|
172
177
|
console.log("🌐 Opening browser...");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-
|
|
1
|
+
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-CH-qD91V.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-
|
|
1
|
+
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-CH-qD91V.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|