@aiready/mcp-server 0.6.8 → 0.7.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,17 +1,16 @@
1
-
2
- 
3
- > @aiready/mcp-server@0.6.7 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.40 KB
14
- ESM ⚡️ Build success in 19ms
15
- DTS Build start
16
- DTS ⚡️ Build success in 1507ms
17
- DTS dist/index.d.ts 451.00 B
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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.6.7 format-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.6.9 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.6 lint /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.6.9 lint /Users/pengcao/projects/aiready/packages/mcp-server
4
4
  > eslint src
5
5
 
@@ -1,116 +1,40 @@
1
-
2
- 
3
- > @aiready/mcp-server@0.6.7 test /Users/pengcao/projects/aiready/packages/mcp-server
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.1.2 /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 20:46:56
15
-  Duration 104ms
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 20:46:56
23
-  Duration 338ms
24
- [?2026l[?2026h
25
-  ❯ src/__tests__/schema-sync.test.ts 0/3
26
-  ❯ src/__tests__/server.test.ts 0/13
27
-
28
-  Test Files 0 passed (2)
29
-  Tests 0 passed (16)
30
-  Start at 20:46:56
31
-  Duration 745ms
32
- [?2026l[?2026hstderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
33
- [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
34
-
35
- AIReady MCP Server started
36
- [MCP] Dynamically loading @aiready/pattern-detect for tool pattern-detect
37
- [MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core (summary only)
38
- stderr | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
39
- [MCP] Executing pattern-detect on ./test
40
-
41
-
42
-  ❯ src/__tests__/schema-sync.test.ts 1/3
43
-  ❯ src/__tests__/server.test.ts 0/13
44
-
45
-  Test Files 0 passed (2)
46
-  Tests 1 passed (16)
47
-  Start at 20:46:56
48
-  Duration 845ms
49
- [?2026l[?2026hstdout | src/__tests__/schema-sync.test.ts > MCP Schema Sync Validation > handleAnalysis should correctly resolve and attempt to load packages from the map
50
- 📋 Configuration:
51
- Repository size: ~0 code blocks
52
- Similarity threshold: 0.45
53
- Minimum lines: 6
54
- Approximate mode: enabled
55
- Max candidates per block: 100
56
- Min shared tokens: 10
57
- Severity filter: all
58
- Include tests: false
59
-
60
-
61
-
62
-  ❯ src/__tests__/schema-sync.test.ts 1/3
63
-  ❯ src/__tests__/server.test.ts 0/13
64
-
65
-  Test Files 0 passed (2)
66
-  Tests 1 passed (16)
67
-  Start at 20:46:56
68
-  Duration 845ms
69
- [?2026l[?2026h ✓ src/__tests__/schema-sync.test.ts (3 tests) 99ms
70
-
71
-  ❯ src/__tests__/server.test.ts 2/13
72
-
73
-  Test Files 1 passed (2)
74
-  Tests 5 passed (16)
75
-  Start at 20:46:56
76
-  Duration 952ms
77
- [?2026l[?2026h
78
-  ❯ src/__tests__/server.test.ts 3/13
79
-
80
-  Test Files 1 passed (2)
81
-  Tests 6 passed (16)
82
-  Start at 20:46:56
83
-  Duration 1.67s
84
- [?2026l[?2026h[MCP] Executing pattern-detect on /Users/pengcao/projects/aiready/packages/core
85
-
86
-  ❯ src/__tests__/server.test.ts 3/13
87
-
88
-  Test Files 1 passed (2)
89
-  Tests 6 passed (16)
90
-  Start at 20:46:56
91
-  Duration 1.97s
92
- [?2026l[?2026h
93
-  ❯ src/__tests__/server.test.ts 4/13
94
-
95
-  Test Files 1 passed (2)
96
-  Tests 7 passed (16)
97
-  Start at 20:46:56
98
-  Duration 2.28s
99
- [?2026l[?2026h[MCP] Dynamically loading @aiready/non-existent-tool for tool non-existent-tool
100
-
101
-  ❯ src/__tests__/server.test.ts 10/13
102
-
103
-  Test Files 1 passed (2)
104
-  Tests 13 passed (16)
105
-  Start at 20:46:56
106
-  Duration 2.38s
107
- [?2026l ✓ src/__tests__/server.test.ts (13 tests) 2062ms
108
- ✓ should execute pattern-detect with summary_only: true and return only summary  873ms
109
- ✓ should execute pattern-detect and return results  641ms
110
-
111
-  Test Files  2 passed (2)
112
-  Tests  16 passed (16)
113
-  Start at  20:46:56
114
-  Duration  2.46s (transform 386ms, setup 0ms, import 797ms, tests 2.16s, environment 0ms)
115
-
116
- [?25h
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,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/mcp-server@0.6.6 type-check /Users/pengcao/projects/aiready/packages/mcp-server
3
+ > @aiready/mcp-server@0.6.9 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.6.8",
3
+ "version": "0.7.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,23 +13,23 @@
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.23",
17
- "@aiready/ai-signal-clarity": "0.14.25",
18
- "@aiready/consistency": "0.21.23",
19
- "@aiready/change-amplification": "0.14.23",
20
- "@aiready/context-analyzer": "0.22.23",
21
- "@aiready/deps": "0.14.23",
22
- "@aiready/doc-drift": "0.14.23",
23
- "@aiready/core": "0.24.26",
24
- "@aiready/pattern-detect": "0.17.23",
25
- "@aiready/testability": "0.7.23"
16
+ "@aiready/agent-grounding": "0.14.24",
17
+ "@aiready/consistency": "0.21.24",
18
+ "@aiready/change-amplification": "0.14.24",
19
+ "@aiready/ai-signal-clarity": "0.14.26",
20
+ "@aiready/core": "0.28.0",
21
+ "@aiready/doc-drift": "0.14.24",
22
+ "@aiready/deps": "0.14.24",
23
+ "@aiready/context-analyzer": "0.22.24",
24
+ "@aiready/pattern-detect": "0.17.24",
25
+ "@aiready/testability": "0.7.24"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^24.12.2",
29
29
  "esbuild": "^0.27.7",
30
30
  "tsup": "^8.5.1",
31
31
  "typescript": "^6.0.2",
32
- "vitest": "^4.1.2"
32
+ "vitest": "^4.1.4"
33
33
  },
34
34
  "keywords": [
35
35
  "aiready",
@@ -56,6 +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
60
  // Aliases
60
61
  patterns: '@aiready/pattern-detect',
61
62
  duplicates: '@aiready/pattern-detect',
@@ -68,6 +69,7 @@ export const TOOL_PACKAGE_MAP: Record<string, string> = {
68
69
  'deps-health': '@aiready/deps',
69
70
  'change-amp': '@aiready/change-amplification',
70
71
  'contract-enforce': '@aiready/contract-enforcement',
72
+ metabolism: '@aiready/metabolism-audit',
71
73
  };
72
74
 
73
75
  /**
@@ -88,6 +90,7 @@ export const ADVERTISED_TOOLS = [
88
90
  ToolName.PatternEntropy,
89
91
  ToolName.ConceptCohesion,
90
92
  ToolName.SemanticDistance,
93
+ ToolName.MetabolismAudit,
91
94
  'get_best_practices',
92
95
  'check_best_practice_compliance',
93
96
  'analyze_context_budget',