@aiready/mcp-server 0.9.0 → 0.9.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.
@@ -1,16 +1,17 @@
1
-
2
- > @aiready/mcp-server@0.6.8 build /Users/pengcao/projects/aiready/packages/mcp-server
3
- > tsup src/index.ts --format esm --clean --dts
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Using tsup config: /Users/pengcao/projects/aiready/packages/mcp-server/tsup.config.ts
9
- CLI Target: node20
10
- CLI Cleaning output folder
11
- ESM Build start
12
- ESM dist/index.js 23.40 KB
13
- ESM ⚡️ Build success in 73ms
14
- DTS Build start
15
- DTS ⚡️ Build success in 2829ms
16
- DTS dist/index.d.ts 451.00 B
1
+
2
+ 
3
+ > @aiready/mcp-server@0.9.0 build /Users/pengcao/projects/aiready/packages/mcp-server
4
+ > tsup src/index.ts --format esm --clean --dts
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Using tsup config: /Users/pengcao/projects/aiready/packages/mcp-server/tsup.config.ts
10
+ CLI Target: node20
11
+ CLI Cleaning output folder
12
+ ESM Build start
13
+ ESM dist/index.js 23.73 KB
14
+ ESM ⚡️ Build success in 10ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 930ms
17
+ DTS dist/index.d.ts 451.00 B
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.8.0 format-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.9.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.8.0 lint /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.9.0 lint /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > eslint src
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.8.0 test /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.9.0 test /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -11,54 +11,38 @@
11
11
 
12
12
  Test Files 0 passed (2)
13
13
  Tests 0 passed (0)
14
- Start at 09:03:55
15
- Duration 851ms
14
+ Start at 11:40:56
15
+ Duration 101ms
16
16
  [?2026l[?2026h
17
17
  ❯ src/__tests__/schema-sync.test.ts [queued]
18
18
  ❯ src/__tests__/server.test.ts 0/13
19
19
 
20
20
  Test Files 0 passed (2)
21
21
  Tests 0 passed (13)
22
- Start at 09:03:55
23
- Duration 1.78s
22
+ Start at 11:40:56
23
+ Duration 531ms
24
24
  [?2026l[?2026h
25
25
  ❯ src/__tests__/schema-sync.test.ts [queued]
26
26
  ❯ src/__tests__/server.test.ts 0/13
27
27
 
28
28
  Test Files 0 passed (2)
29
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
30
+ Start at 11:40:56
31
+ Duration 935ms
32
+ [?2026l[?2026hAIReady MCP Server started
33
+ stderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
41
34
  [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
42
35
 
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
36
  [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
53
37
  [MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core (summary only)
54
38
 
55
- ❯ src/__tests__/schema-sync.test.ts 2/3
39
+ ❯ src/__tests__/schema-sync.test.ts 0/3
56
40
  ❯ src/__tests__/server.test.ts 1/13
57
41
 
58
42
  Test Files 0 passed (2)
59
- Tests 3 passed (16)
60
- Start at 09:03:55
61
- Duration 3.34s
43
+ Tests 1 passed (16)
44
+ Start at 11:40:56
45
+ Duration 1.15s
62
46
  [?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
47
  [MCP] Executing pattern-detect on ./test
64
48
 
@@ -67,8 +51,8 @@
67
51
 
68
52
  Test Files 1 passed (2)
69
53
  Tests 5 passed (16)
70
- Start at 09:03:55
71
- Duration 3.96s
54
+ Start at 11:40:56
55
+ Duration 1.95s
72
56
  [?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
57
  📋 Configuration:
74
58
  Repository size: ~0 code blocks
@@ -81,45 +65,37 @@
81
65
  Include tests: false
82
66
 
83
67
 
84
- ✓ src/__tests__/schema-sync.test.ts (3 tests) 318ms
85
- ✓ handleAnalysis should correctly resolve and attempt to load packages from the map 315ms
68
+ ✓ src/__tests__/schema-sync.test.ts (3 tests) 153ms
86
69
 
87
70
  ❯ src/__tests__/server.test.ts 2/13
88
71
 
89
72
  Test Files 1 passed (2)
90
73
  Tests 5 passed (16)
91
- Start at 09:03:55
92
- Duration 3.96s
74
+ Start at 11:40:56
75
+ Duration 1.95s
93
76
  [?2026l[?2026h
94
77
  ❯ src/__tests__/server.test.ts 3/13
95
78
 
96
79
  Test Files 1 passed (2)
97
80
  Tests 6 passed (16)
98
- Start at 09:03:55
99
- Duration 4.87s
81
+ Start at 11:40:56
82
+ Duration 2.26s
100
83
  [?2026l[?2026h[MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core
101
84
 
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
85
  ❯ src/__tests__/server.test.ts 4/13
110
86
 
111
87
  Test Files 1 passed (2)
112
88
  Tests 7 passed (16)
113
- Start at 09:03:55
114
- Duration 5.68s
89
+ Start at 11:40:56
90
+ Duration 2.96s
115
91
  [?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
92
+ ✓ src/__tests__/server.test.ts (13 tests) 2479ms
93
+ ✓ should execute pattern-detect with summary_only: true and return only summary 1165ms
94
+ ✓ should execute pattern-detect and return results 732ms
119
95
 
120
96
  Test Files 2 passed (2)
121
97
  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)
98
+ Start at 11:40:56
99
+ Duration 3.03s (transform 633ms, setup 0ms, import 1.20s, tests 2.63s, environment 0ms)
124
100
 
125
101
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.8.0 type-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.9.0 type-check /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > tsc --noEmit
5
5
 
package/dist/index.js CHANGED
@@ -229,6 +229,7 @@ var TOOL_PACKAGE_MAP = {
229
229
  [ToolName.PatternEntropy]: "@aiready/pattern-entropy",
230
230
  [ToolName.ConceptCohesion]: "@aiready/concept-cohesion",
231
231
  [ToolName.SemanticDistance]: "@aiready/semantic-distance",
232
+ [ToolName.HygieneAudit]: "@aiready/hygiene-audit",
232
233
  // Aliases
233
234
  patterns: "@aiready/pattern-detect",
234
235
  duplicates: "@aiready/pattern-detect",
@@ -240,7 +241,13 @@ var TOOL_PACKAGE_MAP = {
240
241
  testability: "@aiready/testability",
241
242
  "deps-health": "@aiready/deps",
242
243
  "change-amp": "@aiready/change-amplification",
243
- "contract-enforce": "@aiready/contract-enforcement"
244
+ "contract-enforce": "@aiready/contract-enforcement",
245
+ // Hygiene & Legacy aliases
246
+ hygiene: "@aiready/hygiene-audit",
247
+ hygiene_audit: "@aiready/hygiene-audit",
248
+ metabolism: "@aiready/hygiene-audit",
249
+ metabolism_audit: "@aiready/hygiene-audit",
250
+ codebase_audit: "@aiready/hygiene-audit"
244
251
  };
245
252
  var ADVERTISED_TOOLS = [
246
253
  ToolName.PatternDetect,
@@ -257,9 +264,11 @@ var ADVERTISED_TOOLS = [
257
264
  ToolName.PatternEntropy,
258
265
  ToolName.ConceptCohesion,
259
266
  ToolName.SemanticDistance,
267
+ ToolName.HygieneAudit,
260
268
  "get_best_practices",
261
269
  "check_best_practice_compliance",
262
- "analyze_context_budget"
270
+ "analyze_context_budget",
271
+ "hygiene_audit"
263
272
  ];
264
273
  async function handleAnalysis(name, args, stateStore2) {
265
274
  const parsedArgs = AnalysisArgsSchema.safeParse(args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/mcp-server",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
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,17 +13,17 @@
13
13
  "@modelcontextprotocol/sdk": "^1.29.0",
14
14
  "chalk": "^5.6.2",
15
15
  "zod": "^4.3.6",
16
- "@aiready/ai-signal-clarity": "0.14.26",
16
+ "@aiready/agent-grounding": "0.14.25",
17
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",
22
- "@aiready/doc-drift": "0.14.24",
23
- "@aiready/deps": "0.14.24",
18
+ "@aiready/consistency": "0.21.25",
19
+ "@aiready/ai-signal-clarity": "0.14.27",
20
+ "@aiready/context-analyzer": "0.22.25",
21
+ "@aiready/core": "0.29.1",
22
+ "@aiready/deps": "0.14.25",
23
+ "@aiready/doc-drift": "0.14.25",
24
24
  "@aiready/hygiene-audit": "0.8.0",
25
- "@aiready/pattern-detect": "0.17.24",
26
- "@aiready/testability": "0.7.24"
25
+ "@aiready/testability": "0.7.25",
26
+ "@aiready/pattern-detect": "0.17.25"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^24.12.2",