@bryan-thompson/inspector-assessment-cli 1.24.0 ā 1.24.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/build/assess-full.js +6 -0
- package/package.json +1 -1
package/build/assess-full.js
CHANGED
|
@@ -409,6 +409,9 @@ async function runFullAssessment(options) {
|
|
|
409
409
|
if (!options.jsonOnly) {
|
|
410
410
|
console.log("ā
Connected to MCP server");
|
|
411
411
|
}
|
|
412
|
+
// Capture server info from initialization for protocol conformance checks
|
|
413
|
+
const serverInfo = client.getServerVersion();
|
|
414
|
+
const serverCapabilities = client.getServerCapabilities();
|
|
412
415
|
const response = await client.listTools();
|
|
413
416
|
const tools = response.tools || [];
|
|
414
417
|
// Emit JSONL tool discovery events for audit-worker parsing
|
|
@@ -653,6 +656,9 @@ async function runFullAssessment(options) {
|
|
|
653
656
|
prompts,
|
|
654
657
|
readResource,
|
|
655
658
|
getPrompt,
|
|
659
|
+
// Server info for protocol conformance checks
|
|
660
|
+
serverInfo,
|
|
661
|
+
serverCapabilities: serverCapabilities,
|
|
656
662
|
};
|
|
657
663
|
if (!options.jsonOnly) {
|
|
658
664
|
console.log(`\nš Running assessment with ${Object.keys(config.assessmentCategories || {}).length} modules...`);
|
package/package.json
CHANGED