mcp-adr-analysis-server 2.7.39 → 2.7.40

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.
@@ -0,0 +1,320 @@
1
+ /**
2
+ * MCP ADR Analysis Server
3
+ * Main entry point for the Model Context Protocol server
4
+ *
5
+ * This server provides Tools, Resources, and Prompts for analyzing
6
+ * Architectural Decision Records and project architecture.
7
+ */
8
+ import { type CallToolResult } from '@modelcontextprotocol/sdk/types.js';
9
+ import { type ToolContext } from './types/tool-context.js';
10
+ import { type GetWorkflowGuidanceArgs, type GetArchitecturalContextArgs, type GetDevelopmentGuidanceArgs, type GenerateAdrFromDecisionArgs, type ValidateRulesArgs, type CreateRuleSetArgs, type ToolChainOrchestratorArgs, type ReadFileArgs, type WriteFileArgs, type AnalyzeProjectEcosystemArgs, type AnalyzeContentSecurityArgs, type GenerateContentMaskingArgs, type ConfigureCustomPatternsArgs, type ApplyBasicContentMaskingArgs, type ValidateContentMaskingArgs } from './types/tool-arguments.js';
11
+ /**
12
+ * Get version from package.json
13
+ */
14
+ export declare function getPackageVersion(): string;
15
+ /**
16
+ * Main server class
17
+ */
18
+ export declare class McpAdrAnalysisServer {
19
+ private server;
20
+ private maskingConfig;
21
+ private config;
22
+ private logger;
23
+ private kgManager;
24
+ private stateReinforcementManager;
25
+ private conversationMemoryManager;
26
+ private memoryEntityManager;
27
+ private rootManager;
28
+ private contextGenerator;
29
+ constructor();
30
+ /**
31
+ * Validate configuration and project setup
32
+ */
33
+ validateConfiguration(): Promise<void>;
34
+ /**
35
+ * Public health check method for testing
36
+ */
37
+ healthCheck(): Promise<void>;
38
+ /**
39
+ * Setup MCP protocol handlers
40
+ *
41
+ * @description Configures all Model Context Protocol request handlers for the ADR Analysis Server.
42
+ * Implements the complete MCP specification including tools, resources, and prompts.
43
+ *
44
+ * @private
45
+ * @since 2.0.0
46
+ * @category MCP Protocol
47
+ */
48
+ private setupHandlers;
49
+ /**
50
+ * Tool implementations
51
+ */
52
+ checkAIExecutionStatus(_args: Record<string, unknown>): Promise<CallToolResult>;
53
+ getWorkflowGuidance(args: GetWorkflowGuidanceArgs): Promise<CallToolResult>;
54
+ getDevelopmentGuidance(args: GetDevelopmentGuidanceArgs): Promise<CallToolResult>;
55
+ analyzeProjectEcosystem(args: AnalyzeProjectEcosystemArgs, context?: ToolContext): Promise<CallToolResult>;
56
+ getArchitecturalContext(args: GetArchitecturalContextArgs): Promise<CallToolResult>;
57
+ generateAdrsFromPrd(args: Record<string, unknown>, context?: ToolContext): Promise<CallToolResult>;
58
+ compareAdrProgress(args: Record<string, unknown>): Promise<CallToolResult>;
59
+ /**
60
+ * Detect and validate environment context
61
+ */
62
+ detectAndValidateEnvironment(projectPath: string, environment: string, environmentConfig: Record<string, unknown>): Promise<{
63
+ detectedEnvironment: string;
64
+ environmentConfig: Record<string, unknown>;
65
+ }>;
66
+ /**
67
+ * Perform local ADR progress analysis without relying on AI execution
68
+ */
69
+ performLocalAdrProgressAnalysis(params: {
70
+ todoContent: string;
71
+ todoPath: string;
72
+ discoveredAdrs: unknown[];
73
+ adrDirectory: string;
74
+ projectStructure: unknown;
75
+ projectPath: string;
76
+ validationType: string;
77
+ includeFileChecks: boolean;
78
+ includeRuleValidation: boolean;
79
+ deepCodeAnalysis: boolean;
80
+ functionalValidation: boolean;
81
+ strictMode: boolean;
82
+ environment: string;
83
+ environmentConfig: unknown;
84
+ environmentValidation: boolean;
85
+ }): Promise<string>;
86
+ /**
87
+ * Parse TODO.md content to extract tasks
88
+ */
89
+ private parseTodoTasks;
90
+ /**
91
+ * Map TODO tasks to ADRs to identify alignment (now environment-aware)
92
+ */
93
+ private mapTasksToAdrs;
94
+ /**
95
+ * Check file existence for completed tasks
96
+ */
97
+ private performFileExistenceChecks;
98
+ /**
99
+ * Analyze code for mock vs production implementation
100
+ */
101
+ private performMockVsProductionAnalysis;
102
+ /**
103
+ * Calculate environment-specific compliance score
104
+ */
105
+ private calculateEnvironmentScore;
106
+ /**
107
+ * Perform environment compliance analysis
108
+ */
109
+ private performEnvironmentComplianceAnalysis;
110
+ /**
111
+ * Analyze security compliance based on security level
112
+ */
113
+ private analyzeSecurityCompliance;
114
+ /**
115
+ * Content masking tool implementations
116
+ */
117
+ analyzeContentSecurity(args: AnalyzeContentSecurityArgs): Promise<CallToolResult>;
118
+ generateContentMasking(args: GenerateContentMaskingArgs): Promise<CallToolResult>;
119
+ configureCustomPatterns(args: ConfigureCustomPatternsArgs): Promise<CallToolResult>;
120
+ applyBasicContentMasking(args: ApplyBasicContentMaskingArgs): Promise<CallToolResult>;
121
+ validateContentMasking(args: ValidateContentMaskingArgs): Promise<CallToolResult>;
122
+ manageCache(args: Record<string, unknown>): Promise<CallToolResult>;
123
+ configureOutputMasking(args: Record<string, unknown>): Promise<CallToolResult>;
124
+ /**
125
+ * Helper method to get domains based on PRD type
126
+ */
127
+ private getPrdTypeDomains;
128
+ /**
129
+ * Helper method to get domains for ecosystem analysis based on technology focus
130
+ */
131
+ private getEcosystemAnalysisDomains;
132
+ /**
133
+ * Helper method to create base ADR generation prompt
134
+ */
135
+ private createBaseAdrPrompt;
136
+ /**
137
+ * ADR suggestion tool implementations
138
+ */
139
+ suggestAdrs(args: Record<string, unknown>): Promise<CallToolResult>;
140
+ generateAdrFromDecision(args: GenerateAdrFromDecisionArgs): Promise<CallToolResult>;
141
+ generateAdrBootstrap(args: Record<string, unknown>): Promise<CallToolResult>;
142
+ bootstrapValidationLoop(args: Record<string, unknown>): Promise<CallToolResult>;
143
+ discoverExistingAdrs(args: Record<string, unknown>, context?: ToolContext): Promise<CallToolResult>;
144
+ analyzeAdrTimeline(args: Record<string, unknown>): Promise<CallToolResult>;
145
+ reviewExistingAdrs(args: Record<string, unknown>): Promise<CallToolResult>;
146
+ /**
147
+ * ADR validation tool implementations
148
+ */
149
+ validateAdr(args: Record<string, unknown>): Promise<CallToolResult>;
150
+ validateAllAdrs(args: Record<string, unknown>): Promise<CallToolResult>;
151
+ /**
152
+ * Research integration tool implementations
153
+ */
154
+ incorporateResearch(args: Record<string, unknown>): Promise<CallToolResult>;
155
+ createResearchTemplate(args: Record<string, unknown>): Promise<CallToolResult>;
156
+ requestActionConfirmation(args: Record<string, unknown>): Promise<CallToolResult>;
157
+ /**
158
+ * Rule generation and validation tool implementations
159
+ */
160
+ generateRules(args: Record<string, unknown>): Promise<CallToolResult>;
161
+ validateRules(args: ValidateRulesArgs): Promise<CallToolResult>;
162
+ createRuleSet(args: CreateRuleSetArgs): Promise<CallToolResult>;
163
+ /**
164
+ * Environment analysis tool implementation
165
+ */
166
+ analyzeEnvironment(args: Record<string, unknown>): Promise<CallToolResult>;
167
+ /**
168
+ * Research question generation tool implementation
169
+ */
170
+ generateResearchQuestions(args: Record<string, unknown>): Promise<CallToolResult>;
171
+ /**
172
+ * Perform research tool implementation
173
+ */
174
+ performResearch(args: Record<string, unknown>, context?: ToolContext): Promise<CallToolResult>;
175
+ /**
176
+ * Search codebase tool implementation
177
+ */
178
+ searchCodebase(args: Record<string, unknown>): Promise<CallToolResult>;
179
+ /**
180
+ * Deployment analysis tool implementation
181
+ */
182
+ analyzeDeploymentProgress(args: Record<string, unknown>): Promise<CallToolResult>;
183
+ /**
184
+ * Apply content masking to MCP response
185
+ */
186
+ /**
187
+ * Track memory operations performed by tools
188
+ */
189
+ trackMemoryOperations(toolName: string, parameters: any, result: any, success: boolean): Promise<void>;
190
+ /**
191
+ * Extract memory operation details from tool execution
192
+ */
193
+ private extractMemoryOperations;
194
+ /**
195
+ * Track tool execution in knowledge graph
196
+ */
197
+ trackToolExecution(toolName: string, parameters: any, result: any, success: boolean, error?: string): Promise<void>;
198
+ applyOutputMasking(response: any): Promise<any>;
199
+ /**
200
+ * Enrich response with state reinforcement and apply masking
201
+ *
202
+ * Implements Phase 2 of context decay mitigation by injecting
203
+ * context reminders every N turns or when response exceeds token threshold.
204
+ *
205
+ * Phase 3 extension: Records conversation turns to structured external memory.
206
+ */
207
+ enrichResponseWithStateReinforcement(response: CallToolResult, toolName?: string, toolArgs?: any): Promise<CallToolResult>;
208
+ /**
209
+ * Read MCP resource with prompt-driven caching
210
+ */
211
+ readResource(uri: string): Promise<any>;
212
+ /**
213
+ * Start the server
214
+ */
215
+ start(): Promise<void>;
216
+ /**
217
+ * File system tool implementations
218
+ */
219
+ /**
220
+ * List accessible roots (MCP best practice)
221
+ */
222
+ listRoots(): Promise<CallToolResult>;
223
+ /**
224
+ * Read directory contents (MCP best practice for autonomous file discovery)
225
+ */
226
+ readDirectory(args: {
227
+ path?: string;
228
+ }): Promise<CallToolResult>;
229
+ readFile(args: ReadFileArgs): Promise<CallToolResult>;
230
+ writeFile(args: WriteFileArgs): Promise<CallToolResult>;
231
+ listDirectory(args: Record<string, unknown>): Promise<CallToolResult>;
232
+ generateDeploymentGuidance(args: Record<string, unknown>): Promise<CallToolResult>;
233
+ smartGitPush(args: Record<string, unknown>): Promise<CallToolResult>;
234
+ deploymentReadiness(args: Record<string, unknown>): Promise<CallToolResult>;
235
+ releaseTracking(args: Record<string, unknown>): Promise<CallToolResult>;
236
+ generateAdrTodo(args: Record<string, unknown>): Promise<CallToolResult>;
237
+ troubleshootGuidedWorkflow(args: Record<string, unknown>): Promise<CallToolResult>;
238
+ smartScore(_args: Record<string, unknown>): Promise<CallToolResult>;
239
+ mcpPlanning(args: Record<string, unknown>): Promise<CallToolResult>;
240
+ memoryLoading(args: Record<string, unknown>): Promise<CallToolResult>;
241
+ expandAnalysisSection(args: Record<string, unknown>): Promise<CallToolResult>;
242
+ interactiveAdrPlanning(args: Record<string, unknown>): Promise<CallToolResult>;
243
+ /**
244
+ * Tool chain orchestrator implementation
245
+ */
246
+ toolChainOrchestrator(args: ToolChainOrchestratorArgs): Promise<CallToolResult>;
247
+ /**
248
+ * Phase 3: Expand Memory Tool
249
+ * Retrieves and expands stored content from tiered responses
250
+ */
251
+ expandMemory(args: any): Promise<CallToolResult>;
252
+ /**
253
+ * Phase 3: Query Conversation History Tool
254
+ * Searches and retrieves conversation sessions
255
+ */
256
+ queryConversationHistory(args: any): Promise<CallToolResult>;
257
+ /**
258
+ * Phase 3: Get Conversation Snapshot Tool
259
+ * Retrieves current conversation context
260
+ */
261
+ getConversationSnapshot(args: any): Promise<CallToolResult>;
262
+ /**
263
+ * Phase 3: Get Memory Statistics Tool
264
+ * Retrieves conversation memory statistics
265
+ */
266
+ getMemoryStats(): Promise<CallToolResult>;
267
+ /**
268
+ * Update Knowledge Tool (ADR-018)
269
+ * Simple CRUD operations for knowledge graph
270
+ */
271
+ updateKnowledge(args: any): Promise<CallToolResult>;
272
+ /**
273
+ * Get Server Context Tool
274
+ * Generates comprehensive server context file for LLM @ referencing
275
+ */
276
+ getServerContext(args: any): Promise<CallToolResult>;
277
+ /**
278
+ * Get Current Datetime Tool
279
+ * Returns the current date and time in various formats for ADR generation and timestamping
280
+ */
281
+ getCurrentDatetime(args: {
282
+ timezone?: string;
283
+ format?: 'iso' | 'human' | 'adr' | 'all';
284
+ includeTimestamp?: boolean;
285
+ }): Promise<CallToolResult>;
286
+ /**
287
+ * Set Project Path Tool - Dynamic Session Configuration
288
+ *
289
+ * @description Dynamically sets the active project path for the current session.
290
+ * This allows switching between projects without restarting the server or modifying
291
+ * environment variables. Updates both the config and the RootManager.
292
+ *
293
+ * @param args - Set project path arguments
294
+ * @param args.path - Absolute path to the project directory
295
+ * @param args.validatePath - Whether to validate the path exists (default: true)
296
+ * @returns Promise<CallToolResult> - Confirmation of the path change
297
+ */
298
+ setProjectPath(args: {
299
+ path: string;
300
+ validatePath?: boolean;
301
+ }): Promise<CallToolResult>;
302
+ /**
303
+ * Load Prompt Tool - CE-MCP Phase 4 Lazy Loading
304
+ *
305
+ * @description Loads prompts on-demand instead of eagerly loading all prompts at startup.
306
+ * This reduces token usage by ~96% (from 28K tokens to ~1K on-demand).
307
+ *
308
+ * @param args - Load prompt arguments
309
+ * @param args.promptName - Name of the prompt to load
310
+ * @param args.section - Optional section within the prompt
311
+ * @param args.estimateOnly - If true, returns only token estimate
312
+ * @returns Promise<CallToolResult> - Loaded prompt content or estimate
313
+ */
314
+ loadPrompt(args: {
315
+ promptName: string;
316
+ section?: string;
317
+ estimateOnly?: boolean;
318
+ }): Promise<CallToolResult>;
319
+ }
320
+ //# sourceMappingURL=mcp-adr-analysis-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-adr-analysis-server.d.ts","sourceRoot":"","sources":["../../src/mcp-adr-analysis-server.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,oCAAoC,CAAC;AA4B5C,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,2BAA2B,EAEhC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAOhC,MAAM,2BAA2B,CAAC;AAUnC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAoC1C;AAWD;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAwB;IACzC,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,gBAAgB,CAAyB;;IAkCjD;;OAEG;IACG,qBAAqB,IAAI,OAAO,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