@bryan-thompson/inspector-assessment 1.5.0 → 1.6.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.
- package/cli/build/cli.js +10 -1
- package/client/dist/assets/{OAuthCallback-TeTvKfWE.js → OAuthCallback-ZcXdfhZQ.js} +1 -1
- package/client/dist/assets/{OAuthDebugCallback-DwA2sKy9.js → OAuthDebugCallback-xt1SlIHS.js} +1 -1
- package/client/dist/assets/{index-BwAoxcvr.js → index-B3lTiDVe.js} +4 -4
- package/client/dist/index.html +1 -1
- package/package.json +3 -1
package/cli/build/cli.js
CHANGED
|
@@ -46,6 +46,10 @@ async function runWebClient(args) {
|
|
|
46
46
|
if (args.serverUrl) {
|
|
47
47
|
startArgs.push("--server-url", args.serverUrl);
|
|
48
48
|
}
|
|
49
|
+
// Pass Claude Code flag if enabled
|
|
50
|
+
if (args.claudeEnabled) {
|
|
51
|
+
startArgs.push("--claude-enabled");
|
|
52
|
+
}
|
|
49
53
|
// Pass command and args (using -- to separate them)
|
|
50
54
|
if (args.command) {
|
|
51
55
|
startArgs.push("--", args.command, ...args.args);
|
|
@@ -171,7 +175,8 @@ function parseArgs() {
|
|
|
171
175
|
.option("--cli", "enable CLI mode")
|
|
172
176
|
.option("--transport <type>", "transport type (stdio, sse, http)")
|
|
173
177
|
.option("--server-url <url>", "server URL for SSE/HTTP transport")
|
|
174
|
-
.option("--header <headers...>", 'HTTP headers as "HeaderName: Value" pairs (for HTTP/SSE transports)', parseHeaderPair, {})
|
|
178
|
+
.option("--header <headers...>", 'HTTP headers as "HeaderName: Value" pairs (for HTTP/SSE transports)', parseHeaderPair, {})
|
|
179
|
+
.option("--claude-enabled", "enable Claude Code integration for intelligent analysis (requires Claude CLI)");
|
|
175
180
|
// Parse only the arguments before --
|
|
176
181
|
program.parse(preArgs);
|
|
177
182
|
const options = program.opts();
|
|
@@ -214,6 +219,7 @@ function parseArgs() {
|
|
|
214
219
|
cli: options.cli || false,
|
|
215
220
|
transport: "stdio",
|
|
216
221
|
headers: options.header,
|
|
222
|
+
claudeEnabled: options.claudeEnabled || false,
|
|
217
223
|
};
|
|
218
224
|
}
|
|
219
225
|
else if (config.type === "sse" || config.type === "streamable-http") {
|
|
@@ -225,6 +231,7 @@ function parseArgs() {
|
|
|
225
231
|
transport: config.type,
|
|
226
232
|
serverUrl: config.url,
|
|
227
233
|
headers: options.header,
|
|
234
|
+
claudeEnabled: options.claudeEnabled || false,
|
|
228
235
|
};
|
|
229
236
|
}
|
|
230
237
|
else {
|
|
@@ -236,6 +243,7 @@ function parseArgs() {
|
|
|
236
243
|
cli: options.cli || false,
|
|
237
244
|
transport: "stdio",
|
|
238
245
|
headers: options.header,
|
|
246
|
+
claudeEnabled: options.claudeEnabled || false,
|
|
239
247
|
};
|
|
240
248
|
}
|
|
241
249
|
}
|
|
@@ -255,6 +263,7 @@ function parseArgs() {
|
|
|
255
263
|
transport: transport,
|
|
256
264
|
serverUrl: options.serverUrl,
|
|
257
265
|
headers: options.header,
|
|
266
|
+
claudeEnabled: options.claudeEnabled || false,
|
|
258
267
|
};
|
|
259
268
|
}
|
|
260
269
|
async function main() {
|
|
@@ -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-B3lTiDVe.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
package/client/dist/assets/{OAuthDebugCallback-DwA2sKy9.js → OAuthDebugCallback-xt1SlIHS.js}
RENAMED
|
@@ -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-B3lTiDVe.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|
|
@@ -16279,7 +16279,7 @@ object({
|
|
|
16279
16279
|
token_type_hint: string().optional()
|
|
16280
16280
|
}).strip();
|
|
16281
16281
|
const name = "@bryan-thompson/inspector-assessment-client";
|
|
16282
|
-
const version$1 = "1.
|
|
16282
|
+
const version$1 = "1.6.0";
|
|
16283
16283
|
const packageJson = {
|
|
16284
16284
|
name,
|
|
16285
16285
|
version: version$1
|
|
@@ -48464,7 +48464,7 @@ const useTheme = () => {
|
|
|
48464
48464
|
[theme, setThemeWithSideEffect]
|
|
48465
48465
|
);
|
|
48466
48466
|
};
|
|
48467
|
-
const version = "1.
|
|
48467
|
+
const version = "1.6.0";
|
|
48468
48468
|
var [createTooltipContext] = createContextScope("Tooltip", [
|
|
48469
48469
|
createPopperScope
|
|
48470
48470
|
]);
|
|
@@ -60340,13 +60340,13 @@ const App = () => {
|
|
|
60340
60340
|
) });
|
|
60341
60341
|
if (window.location.pathname === "/oauth/callback") {
|
|
60342
60342
|
const OAuthCallback = React.lazy(
|
|
60343
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
60343
|
+
() => __vitePreload(() => import("./OAuthCallback-ZcXdfhZQ.js"), true ? [] : void 0)
|
|
60344
60344
|
);
|
|
60345
60345
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
60346
60346
|
}
|
|
60347
60347
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
60348
60348
|
const OAuthDebugCallback = React.lazy(
|
|
60349
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
60349
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-xt1SlIHS.js"), true ? [] : void 0)
|
|
60350
60350
|
);
|
|
60351
60351
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
60352
60352
|
}
|
package/client/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
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-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-B3lTiDVe.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-Bj7kEsw0.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bryan-thompson/inspector-assessment",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Enhanced MCP Inspector with comprehensive assessment capabilities for server validation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bryan Thompson <bryan@triepod.ai>",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"kill": "node scripts/kill-server.js",
|
|
49
49
|
"restart": "npm run kill && npm run dev",
|
|
50
50
|
"assess": "tsx --tsconfig client/tsconfig.app.json scripts/run-security-assessment.ts",
|
|
51
|
+
"assess:full": "tsx --tsconfig client/tsconfig.app.json scripts/run-full-assessment.ts",
|
|
51
52
|
"dev:sdk": "npm run link:sdk && concurrently \"npm run dev\" \"cd sdk && npm run build:esm:w\"",
|
|
52
53
|
"link:sdk": "(test -d sdk || ln -sf ${MCP_SDK:-$PWD/../typescript-sdk} sdk) && (cd sdk && npm link && (test -d node_modules || npm i)) && npm link @modelcontextprotocol/sdk",
|
|
53
54
|
"unlink:sdk": "(cd sdk && npm unlink -g) && rm sdk && npm unlink @modelcontextprotocol/sdk",
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
"@bryan-thompson/inspector-assessment-cli": "^1.0.0",
|
|
74
75
|
"@bryan-thompson/inspector-assessment-client": "^1.0.0",
|
|
75
76
|
"@bryan-thompson/inspector-assessment-server": "^1.0.0",
|
|
77
|
+
"@esbuild/darwin-arm64": "^0.27.1",
|
|
76
78
|
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
77
79
|
"concurrently": "^9.2.0",
|
|
78
80
|
"node-fetch": "^3.3.2",
|