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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudex-setup",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Audit and improve Claude Code readiness with discover, plan, apply, governance, and benchmark workflows.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
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
- return !!(settings && settings.mcpServers && Object.keys(settings.mcpServers).length >= 2);
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,