@aiready/mcp-server 0.7.0 → 0.9.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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.6.9 format-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.8.0 format-check /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
6
  Checking formatting...
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.6.9 lint /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.8.0 lint /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > eslint src
5
5
 
@@ -1,40 +1,125 @@
1
-
2
- > @aiready/mcp-server@0.6.8 test /Users/pengcao/projects/aiready/packages/mcp-server
3
- > vitest run
4
-
5
-
6
-  RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/mcp-server
7
-
8
- stderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
9
- [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
10
-
11
- stderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
12
- [MCP] Executing pattern-detect on ./test
13
-
14
- stdout | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
15
- 📋 Configuration:
16
- Repository size: ~0 code blocks
17
- Similarity threshold: 0.45
18
- Minimum lines: 6
19
- Approximate mode: enabled
20
- Max candidates per block: 100
21
- Min shared tokens: 10
22
- Severity filter: all
23
- Include tests: false
24
-
25
-
26
- ✓ src/__tests__/schema-sync.test.ts (3 tests) 62ms
27
- AIReady MCP Server started
28
- [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
29
- [MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core (summary only)
30
- [MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core
31
- [MCP] Dynamically loading @aiready/non-existent-tool for tool non-existent-tool
32
- ✓ src/__tests__/server.test.ts (13 tests) 3485ms
33
- ✓ should execute pattern-detect with summary_only: true and return only summary  1612ms
34
- ✓ should execute pattern-detect and return results  1211ms
35
-
36
-  Test Files  2 passed (2)
37
-  Tests  16 passed (16)
38
-  Start at  14:49:25
39
-  Duration  4.10s (transform 351ms, setup 0ms, import 1.06s, tests 3.55s, environment 0ms)
40
-
1
+
2
+ 
3
+ > @aiready/mcp-server@0.8.0 test /Users/pengcao/projects/aiready/packages/mcp-server
4
+ > vitest run
5
+
6
+ [?25l
7
+ RUN v4.1.4 /Users/pengcao/projects/aiready/packages/mcp-server
8
+
9
+ [?2026h
10
+ ❯ src/__tests__/server.test.ts [queued]
11
+
12
+ Test Files 0 passed (2)
13
+ Tests 0 passed (0)
14
+ Start at 09:03:55
15
+ Duration 851ms
16
+ [?2026l[?2026h
17
+ src/__tests__/schema-sync.test.ts [queued]
18
+ src/__tests__/server.test.ts 0/13
19
+
20
+ Test Files 0 passed (2)
21
+ Tests 0 passed (13)
22
+ Start at 09:03:55
23
+ Duration 1.78s
24
+ [?2026l[?2026h
25
+ ❯ src/__tests__/schema-sync.test.ts [queued]
26
+ src/__tests__/server.test.ts 0/13
27
+
28
+ Test Files 0 passed (2)
29
+ Tests 0 passed (13)
30
+ Start at 09:03:55
31
+ Duration 1.99s
32
+ [?2026l[?2026h
33
+ src/__tests__/schema-sync.test.ts [queued]
34
+ src/__tests__/server.test.ts 0/13
35
+
36
+ Test Files 0 passed (2)
37
+ Tests 0 passed (13)
38
+ Start at 09:03:55
39
+ Duration 2.92s
40
+ [?2026l[?2026hstderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
41
+ [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
42
+
43
+
44
+ ❯ src/__tests__/schema-sync.test.ts 1/3
45
+ ❯ src/__tests__/server.test.ts 0/13
46
+
47
+ Test Files 0 passed (2)
48
+ Tests 1 passed (16)
49
+ Start at 09:03:55
50
+ Duration 3.13s
51
+ [?2026l[?2026hAIReady MCP Server started
52
+ [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
53
+ [MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core (summary only)
54
+
55
+ ❯ src/__tests__/schema-sync.test.ts 2/3
56
+ ❯ src/__tests__/server.test.ts 1/13
57
+
58
+ Test Files 0 passed (2)
59
+ Tests 3 passed (16)
60
+ Start at 09:03:55
61
+ Duration 3.34s
62
+ [?2026l[?2026hstderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
63
+ [MCP] Executing pattern-detect on ./test
64
+
65
+
66
+ ❯ src/__tests__/server.test.ts 2/13
67
+
68
+ Test Files 1 passed (2)
69
+ Tests 5 passed (16)
70
+ Start at 09:03:55
71
+ Duration 3.96s
72
+ [?2026l[?2026hstdout | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
73
+ 📋 Configuration:
74
+ Repository size: ~0 code blocks
75
+ Similarity threshold: 0.45
76
+ Minimum lines: 6
77
+ Approximate mode: enabled
78
+ Max candidates per block: 100
79
+ Min shared tokens: 10
80
+ Severity filter: all
81
+ Include tests: false
82
+
83
+
84
+ ✓ src/__tests__/schema-sync.test.ts (3 tests) 318ms
85
+ ✓ handleAnalysis should correctly resolve and attempt to load packages from the map 315ms
86
+
87
+ ❯ src/__tests__/server.test.ts 2/13
88
+
89
+ Test Files 1 passed (2)
90
+ Tests 5 passed (16)
91
+ Start at 09:03:55
92
+ Duration 3.96s
93
+ [?2026l[?2026h
94
+ ❯ src/__tests__/server.test.ts 3/13
95
+
96
+ Test Files 1 passed (2)
97
+ Tests 6 passed (16)
98
+ Start at 09:03:55
99
+ Duration 4.87s
100
+ [?2026l[?2026h[MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core
101
+
102
+ ❯ src/__tests__/server.test.ts 3/13
103
+
104
+ Test Files 1 passed (2)
105
+ Tests 6 passed (16)
106
+ Start at 09:03:55
107
+ Duration 4.97s
108
+ [?2026l[?2026h
109
+ ❯ src/__tests__/server.test.ts 4/13
110
+
111
+ Test Files 1 passed (2)
112
+ Tests 7 passed (16)
113
+ Start at 09:03:55
114
+ Duration 5.68s
115
+ [?2026l[MCP] Dynamically loading @aiready/non-existent-tool for tool non-existent-tool
116
+ ✓ src/__tests__/server.test.ts (13 tests) 3910ms
117
+ ✓ should execute pattern-detect with summary_only: true and return only summary 1602ms
118
+ ✓ should execute pattern-detect and return results 827ms
119
+
120
+ Test Files 2 passed (2)
121
+ Tests 16 passed (16)
122
+ Start at 09:03:55
123
+ Duration 5.74s (transform 1.51s, setup 0ms, import 2.95s, tests 4.23s, environment 0ms)
124
+
125
+ [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.6.9 type-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.8.0 type-check /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > tsc --noEmit
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/mcp-server",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "The AIReady Model Context Protocol (MCP) Server for Agentic Readiness. Optimize codebases for AI agents like Cursor, Windsurf, and Claude directly via MCP.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,14 +13,15 @@
13
13
  "@modelcontextprotocol/sdk": "^1.29.0",
14
14
  "chalk": "^5.6.2",
15
15
  "zod": "^4.3.6",
16
- "@aiready/agent-grounding": "0.14.24",
17
- "@aiready/consistency": "0.21.24",
18
- "@aiready/change-amplification": "0.14.24",
19
16
  "@aiready/ai-signal-clarity": "0.14.26",
20
- "@aiready/core": "0.28.0",
17
+ "@aiready/change-amplification": "0.14.24",
18
+ "@aiready/context-analyzer": "0.22.24",
19
+ "@aiready/consistency": "0.21.24",
20
+ "@aiready/core": "0.29.0",
21
+ "@aiready/agent-grounding": "0.14.24",
21
22
  "@aiready/doc-drift": "0.14.24",
22
23
  "@aiready/deps": "0.14.24",
23
- "@aiready/context-analyzer": "0.22.24",
24
+ "@aiready/hygiene-audit": "0.8.0",
24
25
  "@aiready/pattern-detect": "0.17.24",
25
26
  "@aiready/testability": "0.7.24"
26
27
  },
@@ -56,7 +56,7 @@ export const TOOL_PACKAGE_MAP: Record<string, string> = {
56
56
  [ToolName.PatternEntropy]: '@aiready/pattern-entropy',
57
57
  [ToolName.ConceptCohesion]: '@aiready/concept-cohesion',
58
58
  [ToolName.SemanticDistance]: '@aiready/semantic-distance',
59
- [ToolName.MetabolismAudit]: '@aiready/metabolism-audit',
59
+ [ToolName.HygieneAudit]: '@aiready/hygiene-audit',
60
60
  // Aliases
61
61
  patterns: '@aiready/pattern-detect',
62
62
  duplicates: '@aiready/pattern-detect',
@@ -69,7 +69,12 @@ export const TOOL_PACKAGE_MAP: Record<string, string> = {
69
69
  'deps-health': '@aiready/deps',
70
70
  'change-amp': '@aiready/change-amplification',
71
71
  'contract-enforce': '@aiready/contract-enforcement',
72
- metabolism: '@aiready/metabolism-audit',
72
+ // Hygiene & Legacy aliases
73
+ hygiene: '@aiready/hygiene-audit',
74
+ hygiene_audit: '@aiready/hygiene-audit',
75
+ metabolism: '@aiready/hygiene-audit',
76
+ metabolism_audit: '@aiready/hygiene-audit',
77
+ codebase_audit: '@aiready/hygiene-audit',
73
78
  };
74
79
 
75
80
  /**
@@ -90,10 +95,11 @@ export const ADVERTISED_TOOLS = [
90
95
  ToolName.PatternEntropy,
91
96
  ToolName.ConceptCohesion,
92
97
  ToolName.SemanticDistance,
93
- ToolName.MetabolismAudit,
98
+ ToolName.HygieneAudit,
94
99
  'get_best_practices',
95
100
  'check_best_practice_compliance',
96
101
  'analyze_context_budget',
102
+ 'hygiene_audit',
97
103
  ];
98
104
 
99
105
  export {