claudex-setup 1.10.0 → 1.10.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/package.json +1 -1
- package/src/techniques.js +5 -1
package/package.json
CHANGED
package/src/techniques.js
CHANGED
|
@@ -696,8 +696,12 @@ const TECHNIQUES = {
|
|
|
696
696
|
id: 1801,
|
|
697
697
|
name: '2+ MCP servers for rich tooling',
|
|
698
698
|
check: (ctx) => {
|
|
699
|
+
let count = 0;
|
|
699
700
|
const settings = ctx.jsonFile('.claude/settings.local.json') || ctx.jsonFile('.claude/settings.json');
|
|
700
|
-
|
|
701
|
+
if (settings && settings.mcpServers) count += Object.keys(settings.mcpServers).length;
|
|
702
|
+
const mcpJson = ctx.jsonFile('.mcp.json');
|
|
703
|
+
if (mcpJson && mcpJson.mcpServers) count += Object.keys(mcpJson.mcpServers).length;
|
|
704
|
+
return count >= 2;
|
|
701
705
|
},
|
|
702
706
|
impact: 'medium',
|
|
703
707
|
rating: 4,
|