@bryan-thompson/inspector-assessment 1.0.1 → 1.1.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/README.md +12 -0
- package/client/dist/assets/{OAuthCallback-pJpyrBg5.js → OAuthCallback-aV2t2Zmo.js} +1 -1
- package/client/dist/assets/{OAuthDebugCallback-BGti8QhX.js → OAuthDebugCallback-Ca01948b.js} +1 -1
- package/client/dist/assets/{index-BEmDUKhR.js → index-DrU0QB6A.js} +91 -32
- package/client/dist/index.html +1 -1
- package/package.json +1 -1
- package/server/build/index.js +0 -0
package/README.md
CHANGED
|
@@ -45,6 +45,18 @@ bunx @bryan-thompson/inspector-assessment
|
|
|
45
45
|
|
|
46
46
|
The web interface will open at http://localhost:6274
|
|
47
47
|
|
|
48
|
+
## For MCP Directory Reviewers
|
|
49
|
+
|
|
50
|
+
If you're reviewing MCP servers for the Anthropic MCP Directory, see our **[Reviewer Quick Start Guide](docs/REVIEWER_QUICK_START.md)** for:
|
|
51
|
+
|
|
52
|
+
- **60-second fast screening** workflow for approve/reject decisions
|
|
53
|
+
- **5-minute detailed review** process for borderline cases
|
|
54
|
+
- **Common pitfalls** explanation (false positives in security, informational vs scored tests)
|
|
55
|
+
- **Decision matrix** with clear approval criteria
|
|
56
|
+
- **Fast CLI analysis** commands for troubleshooting
|
|
57
|
+
|
|
58
|
+
The quick start guide is optimized for fast reviewer onboarding and provides clear guidance on interpreting assessment results.
|
|
59
|
+
|
|
48
60
|
## About This Fork
|
|
49
61
|
|
|
50
62
|
This is an enhanced fork of [Anthropic's MCP Inspector](https://github.com/modelcontextprotocol/inspector) with significantly expanded assessment capabilities for MCP server validation and testing.
|
|
@@ -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-DrU0QB6A.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
package/client/dist/assets/{OAuthDebugCallback-BGti8QhX.js → OAuthDebugCallback-Ca01948b.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-DrU0QB6A.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|
|
@@ -16205,7 +16205,7 @@ objectType({
|
|
|
16205
16205
|
token_type_hint: stringType().optional()
|
|
16206
16206
|
}).strip();
|
|
16207
16207
|
const name = "@bryan-thompson/inspector-assessment-client";
|
|
16208
|
-
const version$1 = "1.0
|
|
16208
|
+
const version$1 = "1.1.0";
|
|
16209
16209
|
const packageJson = {
|
|
16210
16210
|
name,
|
|
16211
16211
|
version: version$1
|
|
@@ -41736,7 +41736,7 @@ const useTheme = () => {
|
|
|
41736
41736
|
[theme, setThemeWithSideEffect]
|
|
41737
41737
|
);
|
|
41738
41738
|
};
|
|
41739
|
-
const version = "1.0
|
|
41739
|
+
const version = "1.1.0";
|
|
41740
41740
|
var [createTooltipContext] = createContextScope("Tooltip", [
|
|
41741
41741
|
createPopperScope
|
|
41742
41742
|
]);
|
|
@@ -44133,6 +44133,8 @@ const ToolsTab = ({
|
|
|
44133
44133
|
const DEFAULT_ASSESSMENT_CONFIG = {
|
|
44134
44134
|
testTimeout: 3e4,
|
|
44135
44135
|
// 30 seconds per tool
|
|
44136
|
+
delayBetweenTests: 0,
|
|
44137
|
+
// No delay by default
|
|
44136
44138
|
skipBrokenTools: false,
|
|
44137
44139
|
reviewerMode: false,
|
|
44138
44140
|
enableExtendedAssessment: true,
|
|
@@ -44158,6 +44160,8 @@ const DEFAULT_ASSESSMENT_CONFIG = {
|
|
|
44158
44160
|
const REVIEWER_MODE_CONFIG = {
|
|
44159
44161
|
testTimeout: 1e4,
|
|
44160
44162
|
// 10 seconds per tool (faster)
|
|
44163
|
+
delayBetweenTests: 100,
|
|
44164
|
+
// Small delay for rate limiting
|
|
44161
44165
|
skipBrokenTools: true,
|
|
44162
44166
|
// Skip broken tools to save time
|
|
44163
44167
|
reviewerMode: true,
|
|
@@ -44188,6 +44192,8 @@ const REVIEWER_MODE_CONFIG = {
|
|
|
44188
44192
|
const DEVELOPER_MODE_CONFIG = {
|
|
44189
44193
|
testTimeout: 3e4,
|
|
44190
44194
|
// 30 seconds per tool
|
|
44195
|
+
delayBetweenTests: 500,
|
|
44196
|
+
// Moderate delay for thorough testing
|
|
44191
44197
|
skipBrokenTools: false,
|
|
44192
44198
|
reviewerMode: false,
|
|
44193
44199
|
enableExtendedAssessment: true,
|
|
@@ -44783,6 +44789,9 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44783
44789
|
);
|
|
44784
44790
|
testDetails.push(...toolTests);
|
|
44785
44791
|
passedTests += toolTests.filter((t) => t.passed).length;
|
|
44792
|
+
if (this.config.delayBetweenTests && this.config.delayBetweenTests > 0) {
|
|
44793
|
+
await this.sleep(this.config.delayBetweenTests);
|
|
44794
|
+
}
|
|
44786
44795
|
}
|
|
44787
44796
|
this.testCount = testDetails.length;
|
|
44788
44797
|
const metrics = this.calculateMetrics(testDetails, passedTests);
|
|
@@ -44837,7 +44846,7 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44837
44846
|
return tests;
|
|
44838
44847
|
}
|
|
44839
44848
|
async testMissingParameters(tool, callTool) {
|
|
44840
|
-
var _a;
|
|
44849
|
+
var _a, _b, _c;
|
|
44841
44850
|
const testInput = {};
|
|
44842
44851
|
const schema = this.getToolSchema(tool);
|
|
44843
44852
|
const hasRequiredParams = (schema == null ? void 0 : schema.required) && Array.isArray(schema.required) && schema.required.length > 0;
|
|
@@ -44883,9 +44892,9 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44883
44892
|
reason: isError ? void 0 : "Tool did not reject missing parameters"
|
|
44884
44893
|
};
|
|
44885
44894
|
} catch (error) {
|
|
44886
|
-
const
|
|
44887
|
-
const messageLower = (
|
|
44888
|
-
const isMeaningfulError = messageLower.includes("required") || messageLower.includes("missing") || messageLower.includes("parameter") || messageLower.includes("must") || messageLower.includes("invalid") || messageLower.includes("validation") || (
|
|
44895
|
+
const errorInfo = this.extractErrorInfo(error);
|
|
44896
|
+
const messageLower = ((_b = errorInfo.message) == null ? void 0 : _b.toLowerCase()) ?? "";
|
|
44897
|
+
const isMeaningfulError = messageLower.includes("required") || messageLower.includes("missing") || messageLower.includes("parameter") || messageLower.includes("must") || messageLower.includes("invalid") || messageLower.includes("validation") || (((_c = errorInfo.message) == null ? void 0 : _c.length) ?? 0) > 20;
|
|
44889
44898
|
return {
|
|
44890
44899
|
toolName: tool.name,
|
|
44891
44900
|
testType: "missing_required",
|
|
@@ -44893,7 +44902,8 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44893
44902
|
expectedError: "Missing required parameters",
|
|
44894
44903
|
actualResponse: {
|
|
44895
44904
|
isError: true,
|
|
44896
|
-
|
|
44905
|
+
errorCode: errorInfo.code,
|
|
44906
|
+
errorMessage: errorInfo.message,
|
|
44897
44907
|
rawResponse: error
|
|
44898
44908
|
},
|
|
44899
44909
|
passed: isMeaningfulError,
|
|
@@ -44902,7 +44912,7 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44902
44912
|
}
|
|
44903
44913
|
}
|
|
44904
44914
|
async testWrongTypes(tool, callTool) {
|
|
44905
|
-
var _a;
|
|
44915
|
+
var _a, _b, _c;
|
|
44906
44916
|
const schema = this.getToolSchema(tool);
|
|
44907
44917
|
const testInput = this.generateWrongTypeParams(schema);
|
|
44908
44918
|
try {
|
|
@@ -44932,9 +44942,9 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44932
44942
|
reason: isError ? void 0 : "Tool accepted wrong parameter types"
|
|
44933
44943
|
};
|
|
44934
44944
|
} catch (error) {
|
|
44935
|
-
const
|
|
44936
|
-
const messageLower = (
|
|
44937
|
-
const isMeaningfulError = messageLower.includes("type") || messageLower.includes("invalid") || messageLower.includes("expected") || messageLower.includes("must be") || messageLower.includes("validation") || messageLower.includes("string") || messageLower.includes("number") || (
|
|
44945
|
+
const errorInfo = this.extractErrorInfo(error);
|
|
44946
|
+
const messageLower = ((_b = errorInfo.message) == null ? void 0 : _b.toLowerCase()) ?? "";
|
|
44947
|
+
const isMeaningfulError = messageLower.includes("type") || messageLower.includes("invalid") || messageLower.includes("expected") || messageLower.includes("must be") || messageLower.includes("validation") || messageLower.includes("string") || messageLower.includes("number") || (((_c = errorInfo.message) == null ? void 0 : _c.length) ?? 0) > 20;
|
|
44938
44948
|
return {
|
|
44939
44949
|
toolName: tool.name,
|
|
44940
44950
|
testType: "wrong_type",
|
|
@@ -44942,7 +44952,8 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44942
44952
|
expectedError: "Type validation error",
|
|
44943
44953
|
actualResponse: {
|
|
44944
44954
|
isError: true,
|
|
44945
|
-
|
|
44955
|
+
errorCode: errorInfo.code,
|
|
44956
|
+
errorMessage: errorInfo.message,
|
|
44946
44957
|
rawResponse: error
|
|
44947
44958
|
},
|
|
44948
44959
|
passed: isMeaningfulError,
|
|
@@ -44951,6 +44962,7 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44951
44962
|
}
|
|
44952
44963
|
}
|
|
44953
44964
|
async testInvalidValues(tool, callTool) {
|
|
44965
|
+
var _a, _b;
|
|
44954
44966
|
const schema = this.getToolSchema(tool);
|
|
44955
44967
|
const testInput = this.generateInvalidValueParams(schema);
|
|
44956
44968
|
try {
|
|
@@ -44975,9 +44987,9 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44975
44987
|
reason: isError ? void 0 : "Tool accepted invalid values"
|
|
44976
44988
|
};
|
|
44977
44989
|
} catch (error) {
|
|
44978
|
-
const
|
|
44979
|
-
const messageLower = (
|
|
44980
|
-
const isMeaningfulError = messageLower.includes("invalid") || messageLower.includes("not allowed") || messageLower.includes("must") || messageLower.includes("cannot") || messageLower.includes("validation") || messageLower.includes("error") || (
|
|
44990
|
+
const errorInfo = this.extractErrorInfo(error);
|
|
44991
|
+
const messageLower = ((_a = errorInfo.message) == null ? void 0 : _a.toLowerCase()) ?? "";
|
|
44992
|
+
const isMeaningfulError = messageLower.includes("invalid") || messageLower.includes("not allowed") || messageLower.includes("must") || messageLower.includes("cannot") || messageLower.includes("validation") || messageLower.includes("error") || (((_b = errorInfo.message) == null ? void 0 : _b.length) ?? 0) > 15;
|
|
44981
44993
|
return {
|
|
44982
44994
|
toolName: tool.name,
|
|
44983
44995
|
testType: "invalid_values",
|
|
@@ -44985,7 +44997,8 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44985
44997
|
expectedError: "Invalid parameter values",
|
|
44986
44998
|
actualResponse: {
|
|
44987
44999
|
isError: true,
|
|
44988
|
-
|
|
45000
|
+
errorCode: errorInfo.code,
|
|
45001
|
+
errorMessage: errorInfo.message,
|
|
44989
45002
|
rawResponse: error
|
|
44990
45003
|
},
|
|
44991
45004
|
passed: isMeaningfulError,
|
|
@@ -44994,6 +45007,7 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
44994
45007
|
}
|
|
44995
45008
|
}
|
|
44996
45009
|
async testExcessiveInput(tool, callTool) {
|
|
45010
|
+
var _a, _b;
|
|
44997
45011
|
const largeString = "x".repeat(1e5);
|
|
44998
45012
|
const testInput = this.generateParamsWithValue(tool, largeString);
|
|
44999
45013
|
try {
|
|
@@ -45020,9 +45034,9 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
45020
45034
|
reason: !isError && !response ? "Tool crashed on large input" : void 0
|
|
45021
45035
|
};
|
|
45022
45036
|
} catch (error) {
|
|
45023
|
-
const
|
|
45024
|
-
const messageLower = (
|
|
45025
|
-
const isMeaningfulError = messageLower.includes("size") || messageLower.includes("large") || messageLower.includes("limit") || messageLower.includes("exceed") || messageLower.includes("too") || messageLower.includes("maximum") || (
|
|
45037
|
+
const errorInfo = this.extractErrorInfo(error);
|
|
45038
|
+
const messageLower = ((_a = errorInfo.message) == null ? void 0 : _a.toLowerCase()) ?? "";
|
|
45039
|
+
const isMeaningfulError = messageLower.includes("size") || messageLower.includes("large") || messageLower.includes("limit") || messageLower.includes("exceed") || messageLower.includes("too") || messageLower.includes("maximum") || (((_b = errorInfo.message) == null ? void 0 : _b.length) ?? 0) > 10;
|
|
45026
45040
|
return {
|
|
45027
45041
|
toolName: tool.name,
|
|
45028
45042
|
testType: "excessive_input",
|
|
@@ -45030,7 +45044,8 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
45030
45044
|
expectedError: "Input size limit exceeded",
|
|
45031
45045
|
actualResponse: {
|
|
45032
45046
|
isError: true,
|
|
45033
|
-
|
|
45047
|
+
errorCode: errorInfo.code,
|
|
45048
|
+
errorMessage: errorInfo.message,
|
|
45034
45049
|
rawResponse: "[error details omitted]"
|
|
45035
45050
|
},
|
|
45036
45051
|
passed: isMeaningfulError,
|
|
@@ -45178,12 +45193,17 @@ class ErrorHandlingAssessor extends BaseAssessor {
|
|
|
45178
45193
|
else if (score >= 70) quality = "good";
|
|
45179
45194
|
else if (score >= 50) quality = "fair";
|
|
45180
45195
|
else quality = "poor";
|
|
45181
|
-
const
|
|
45196
|
+
const actualErrors = tests.filter((t) => t.actualResponse.isError);
|
|
45197
|
+
const errorsWithCodes = actualErrors.filter(
|
|
45182
45198
|
(t) => t.actualResponse.errorCode !== void 0
|
|
45183
|
-
);
|
|
45184
|
-
const
|
|
45199
|
+
).length;
|
|
45200
|
+
const errorsWithMessages = actualErrors.filter(
|
|
45185
45201
|
(t) => t.actualResponse.errorMessage && t.actualResponse.errorMessage.length > 10
|
|
45186
|
-
);
|
|
45202
|
+
).length;
|
|
45203
|
+
const hasProperErrorCodes = actualErrors.length === 0 || // If no errors were triggered, we can't assess this
|
|
45204
|
+
errorsWithCodes / actualErrors.length >= 0.5;
|
|
45205
|
+
const hasDescriptiveMessages = actualErrors.length === 0 || // If no errors were triggered, we can't assess this
|
|
45206
|
+
errorsWithMessages / actualErrors.length >= 0.5;
|
|
45187
45207
|
const validatesInputs = tests.filter((t) => ["missing_required", "wrong_type"].includes(t.testType)).some((t) => t.passed);
|
|
45188
45208
|
return {
|
|
45189
45209
|
mcpComplianceScore: score,
|
|
@@ -48008,9 +48028,17 @@ class ResponseValidator {
|
|
|
48008
48028
|
}
|
|
48009
48029
|
}
|
|
48010
48030
|
class TestScenarioEngine {
|
|
48011
|
-
constructor(testTimeout = 5e3) {
|
|
48031
|
+
constructor(testTimeout = 5e3, delayBetweenTests = 0) {
|
|
48012
48032
|
__publicField(this, "testTimeout");
|
|
48033
|
+
__publicField(this, "delayBetweenTests");
|
|
48013
48034
|
this.testTimeout = testTimeout;
|
|
48035
|
+
this.delayBetweenTests = delayBetweenTests;
|
|
48036
|
+
}
|
|
48037
|
+
/**
|
|
48038
|
+
* Sleep for specified milliseconds (for rate limiting)
|
|
48039
|
+
*/
|
|
48040
|
+
async sleep(ms) {
|
|
48041
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
48014
48042
|
}
|
|
48015
48043
|
/**
|
|
48016
48044
|
* Test tool with progressive complexity to identify failure points
|
|
@@ -48163,6 +48191,9 @@ class TestScenarioEngine {
|
|
|
48163
48191
|
callTool
|
|
48164
48192
|
);
|
|
48165
48193
|
result.scenarioResults.push(scenarioResult);
|
|
48194
|
+
if (this.delayBetweenTests > 0) {
|
|
48195
|
+
await this.sleep(this.delayBetweenTests);
|
|
48196
|
+
}
|
|
48166
48197
|
if (scenarioResult.executed) {
|
|
48167
48198
|
result.scenariosExecuted++;
|
|
48168
48199
|
if (scenarioResult.validation.isValid) {
|
|
@@ -48573,7 +48604,10 @@ class MCPAssessmentService {
|
|
|
48573
48604
|
* Enhanced functionality assessment with multi-scenario testing
|
|
48574
48605
|
*/
|
|
48575
48606
|
async assessFunctionalityEnhanced(tools, callTool) {
|
|
48576
|
-
const engine = new TestScenarioEngine(
|
|
48607
|
+
const engine = new TestScenarioEngine(
|
|
48608
|
+
this.config.testTimeout,
|
|
48609
|
+
this.config.delayBetweenTests ?? 0
|
|
48610
|
+
);
|
|
48577
48611
|
const toolResults = [];
|
|
48578
48612
|
const enhancedResults = [];
|
|
48579
48613
|
let workingCount = 0;
|
|
@@ -50718,6 +50752,30 @@ const AssessmentTab = ({
|
|
|
50718
50752
|
),
|
|
50719
50753
|
!isLoadingTools && tools.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground", children: "Select which tools to test for error handling (the most intensive tests). All tools are selected by default." })
|
|
50720
50754
|
] }),
|
|
50755
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
50756
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Label$1, { htmlFor: "delay-between-tests", children: "Delay between tests (milliseconds)" }),
|
|
50757
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
50758
|
+
Input,
|
|
50759
|
+
{
|
|
50760
|
+
id: "delay-between-tests",
|
|
50761
|
+
type: "number",
|
|
50762
|
+
min: "0",
|
|
50763
|
+
max: "5000",
|
|
50764
|
+
step: "100",
|
|
50765
|
+
value: config.delayBetweenTests ?? 0,
|
|
50766
|
+
onChange: (e) => {
|
|
50767
|
+
const value = parseInt(e.target.value, 10);
|
|
50768
|
+
setConfig({
|
|
50769
|
+
...config,
|
|
50770
|
+
delayBetweenTests: isNaN(value) ? 0 : value
|
|
50771
|
+
});
|
|
50772
|
+
},
|
|
50773
|
+
disabled: isRunning,
|
|
50774
|
+
placeholder: "0"
|
|
50775
|
+
}
|
|
50776
|
+
),
|
|
50777
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-muted-foreground", children: "Add a delay between tests to avoid rate limiting. Recommended: 500-1000ms for rate-limited APIs. Set to 0 for no delay (default)." })
|
|
50778
|
+
] }),
|
|
50721
50779
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2 border rounded-lg p-4 bg-blue-50 dark:bg-blue-950", children: [
|
|
50722
50780
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
50723
50781
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -50734,15 +50792,15 @@ const AssessmentTab = ({
|
|
|
50734
50792
|
),
|
|
50735
50793
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Label$1, { htmlFor: "domain-testing", className: "cursor-pointer", children: [
|
|
50736
50794
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-semibold", children: "Enable Advanced Security Testing" }),
|
|
50737
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-2 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 px-2 py-0.5 rounded", children: "18
|
|
50795
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-2 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 px-2 py-0.5 rounded", children: "18 Patterns" })
|
|
50738
50796
|
] })
|
|
50739
50797
|
] }),
|
|
50740
50798
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-xs text-muted-foreground ml-6", children: [
|
|
50741
50799
|
/* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: "Basic:" }),
|
|
50742
|
-
" 3
|
|
50800
|
+
" 3 common patterns (~48 checks).",
|
|
50743
50801
|
" ",
|
|
50744
50802
|
/* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: "Advanced:" }),
|
|
50745
|
-
" All 18 patterns.
|
|
50803
|
+
" All 18 patterns. Designed to identify potential issues like Direct Command Injection, Role Override, Data Exfiltration, System Commands, Tool Shadowing, Context Escape, and 12+ other common attack vectors."
|
|
50746
50804
|
] })
|
|
50747
50805
|
] }),
|
|
50748
50806
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex gap-2", children: [
|
|
@@ -51857,7 +51915,8 @@ const ErrorTestItem = ({ test }) => {
|
|
|
51857
51915
|
{
|
|
51858
51916
|
className: "text-xs border-l-2 pl-3 py-1",
|
|
51859
51917
|
style: {
|
|
51860
|
-
borderColor: test.passed ? "rgb(34 197 94)" : "rgb(239 68 68)"
|
|
51918
|
+
borderColor: test.testType === "invalid_values" ? "rgb(234 179 8)" : test.passed ? "rgb(34 197 94)" : "rgb(239 68 68)"
|
|
51919
|
+
// red-500 for FAIL
|
|
51861
51920
|
},
|
|
51862
51921
|
children: [
|
|
51863
51922
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -53106,13 +53165,13 @@ const App = () => {
|
|
|
53106
53165
|
) });
|
|
53107
53166
|
if (window.location.pathname === "/oauth/callback") {
|
|
53108
53167
|
const OAuthCallback = React.lazy(
|
|
53109
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
53168
|
+
() => __vitePreload(() => import("./OAuthCallback-aV2t2Zmo.js"), true ? [] : void 0)
|
|
53110
53169
|
);
|
|
53111
53170
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
53112
53171
|
}
|
|
53113
53172
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
53114
53173
|
const OAuthDebugCallback = React.lazy(
|
|
53115
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
53174
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-Ca01948b.js"), true ? [] : void 0)
|
|
53116
53175
|
);
|
|
53117
53176
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
53118
53177
|
}
|
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-DrU0QB6A.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-DYiWOife.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.0
|
|
3
|
+
"version": "1.1.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>",
|
package/server/build/index.js
CHANGED
|
File without changes
|