mcp-adr-analysis-server 2.7.25 → 2.7.27

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.
Files changed (37) hide show
  1. package/README.md +1 -32
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/src/index.d.ts +0 -12
  4. package/dist/src/index.d.ts.map +1 -1
  5. package/dist/src/index.js +0 -175
  6. package/dist/src/index.js.map +1 -1
  7. package/dist/src/tools/tool-catalog.d.ts.map +1 -1
  8. package/dist/src/tools/tool-catalog.js +0 -60
  9. package/dist/src/tools/tool-catalog.js.map +1 -1
  10. package/dist/src/utils/ai-executor.d.ts +0 -1
  11. package/dist/src/utils/ai-executor.d.ts.map +1 -1
  12. package/dist/src/utils/ai-executor.js +0 -1
  13. package/dist/src/utils/ai-executor.js.map +1 -1
  14. package/dist/src/utils/config.d.ts +0 -3
  15. package/dist/src/utils/config.d.ts.map +1 -1
  16. package/dist/src/utils/config.js +0 -13
  17. package/dist/src/utils/config.js.map +1 -1
  18. package/dist/src/utils/research-orchestrator.d.ts +0 -28
  19. package/dist/src/utils/research-orchestrator.d.ts.map +1 -1
  20. package/dist/src/utils/research-orchestrator.js +15 -252
  21. package/dist/src/utils/research-orchestrator.js.map +1 -1
  22. package/dist/src/utils/server-context-generator.d.ts.map +1 -1
  23. package/dist/src/utils/server-context-generator.js +0 -3
  24. package/dist/src/utils/server-context-generator.js.map +1 -1
  25. package/package.json +1 -2
  26. package/dist/src/tools/llm-cloud-management-tool.d.ts +0 -62
  27. package/dist/src/tools/llm-cloud-management-tool.d.ts.map +0 -1
  28. package/dist/src/tools/llm-cloud-management-tool.js +0 -202
  29. package/dist/src/tools/llm-cloud-management-tool.js.map +0 -1
  30. package/dist/src/tools/llm-database-management-tool.d.ts +0 -62
  31. package/dist/src/tools/llm-database-management-tool.d.ts.map +0 -1
  32. package/dist/src/tools/llm-database-management-tool.js +0 -203
  33. package/dist/src/tools/llm-database-management-tool.js.map +0 -1
  34. package/dist/src/tools/llm-web-search-tool.d.ts +0 -59
  35. package/dist/src/tools/llm-web-search-tool.d.ts.map +0 -1
  36. package/dist/src/tools/llm-web-search-tool.js +0 -165
  37. package/dist/src/tools/llm-web-search-tool.js.map +0 -1
@@ -151,18 +151,6 @@ export declare class McpAdrAnalysisServer {
151
151
  * Search codebase tool implementation
152
152
  */
153
153
  private searchCodebase;
154
- /**
155
- * LLM web search tool implementation
156
- */
157
- private llmWebSearch;
158
- /**
159
- * LLM cloud management tool implementation
160
- */
161
- private llmCloudManagement;
162
- /**
163
- * LLM database management tool implementation
164
- */
165
- private llmDatabaseManagement;
166
154
  /**
167
155
  * Deployment analysis tool implementation
168
156
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AAgIH;;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;YACW,qBAAqB;IAWnC;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAKlC;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAa;IAw0IrB;;OAEG;YACW,sBAAsB;YA8HtB,mBAAmB;YAqMnB,sBAAsB;YA+QtB,uBAAuB;YA+bvB,uBAAuB;YAuQvB,mBAAmB;YA2VnB,kBAAkB;IAmIhC;;OAEG;YACW,4BAA4B;IA+F1C;;OAEG;YACW,+BAA+B;IAuO7C;;OAEG;IACH,OAAO,C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K,IAAI,OAAO,CAAC,IAAI,CAAC;IAuC5B;;OAEG;IAEH;;OAEG;YACW,SAAS;IAiBvB;;OAEG;YACW,aAAa;YA+Cb,QAAQ;YAuCR,SAAS;YAqCT,aAAa;YAsCb,0BAA0B;YAY1B,YAAY;YAYZ,mBAAmB;YAYnB,eAAe;YAYf,eAAe;YAYf,0BAA0B;YAa1B,UAAU;YAwBV,WAAW;YAYX,aAAa;YAab,qBAAqB;YAYrB,sBAAsB;IAYpC;;OAEG;YACW,qBAAqB;IAYnC;;;OAGG;YACW,YAAY;IAY1B;;;OAGG;YACW,wBAAwB;IAYtC;;;OAGG;YACW,uBAAuB;IAYrC;;;OAGG;YACW,cAAc;IAY5B;;;OAGG;YACW,eAAe;IAY7B;;;OAGG;YACW,gBAAgB;IAiB9B;;;OAGG;YACW,kBAAkB;IAyHhC;;;;;;;;;;;OAWG;YACW,cAAc;IA2D5B;;;;;;;;;;;OAWG;YACW,UAAU;CAwHzB"}
package/dist/src/index.js CHANGED
@@ -1451,130 +1451,6 @@ export class McpAdrAnalysisServer {
1451
1451
  required: ['query'],
1452
1452
  },
1453
1453
  },
1454
- {
1455
- name: 'llm_web_search',
1456
- description: 'LLM-managed web search using Firecrawl for cross-platform support',
1457
- inputSchema: {
1458
- type: 'object',
1459
- properties: {
1460
- query: {
1461
- type: 'string',
1462
- description: 'The search query to execute',
1463
- },
1464
- maxResults: {
1465
- type: 'number',
1466
- description: 'Maximum results to return',
1467
- default: 5,
1468
- minimum: 1,
1469
- maximum: 20,
1470
- },
1471
- includeContent: {
1472
- type: 'boolean',
1473
- description: 'Include full content in results',
1474
- default: true,
1475
- },
1476
- llmInstructions: {
1477
- type: 'string',
1478
- description: 'LLM instructions for search optimization',
1479
- },
1480
- projectPath: {
1481
- type: 'string',
1482
- description: 'Path to project directory',
1483
- default: '.',
1484
- },
1485
- adrDirectory: {
1486
- type: 'string',
1487
- description: 'Directory containing ADR files',
1488
- default: 'docs/adrs',
1489
- },
1490
- },
1491
- required: ['query'],
1492
- },
1493
- },
1494
- {
1495
- name: 'llm_cloud_management',
1496
- description: 'LLM-managed cloud provider operations with research-driven approach',
1497
- inputSchema: {
1498
- type: 'object',
1499
- properties: {
1500
- provider: {
1501
- type: 'string',
1502
- enum: ['aws', 'azure', 'gcp', 'redhat', 'ubuntu', 'macos'],
1503
- description: 'Cloud provider to use',
1504
- },
1505
- action: {
1506
- type: 'string',
1507
- description: 'Action to perform',
1508
- },
1509
- parameters: {
1510
- type: 'object',
1511
- description: 'Action parameters',
1512
- },
1513
- llmInstructions: {
1514
- type: 'string',
1515
- description: 'LLM instructions for command generation',
1516
- },
1517
- researchFirst: {
1518
- type: 'boolean',
1519
- description: 'Research best approach first',
1520
- default: true,
1521
- },
1522
- projectPath: {
1523
- type: 'string',
1524
- description: 'Path to project directory',
1525
- default: '.',
1526
- },
1527
- adrDirectory: {
1528
- type: 'string',
1529
- description: 'Directory containing ADR files',
1530
- default: 'docs/adrs',
1531
- },
1532
- },
1533
- required: ['provider', 'action', 'llmInstructions'],
1534
- },
1535
- },
1536
- {
1537
- name: 'llm_database_management',
1538
- description: 'LLM-managed database operations with research-driven approach',
1539
- inputSchema: {
1540
- type: 'object',
1541
- properties: {
1542
- database: {
1543
- type: 'string',
1544
- enum: ['postgresql', 'mongodb', 'redis', 'mysql', 'mariadb'],
1545
- description: 'Database type to use',
1546
- },
1547
- action: {
1548
- type: 'string',
1549
- description: 'Database action to perform',
1550
- },
1551
- parameters: {
1552
- type: 'object',
1553
- description: 'Action parameters',
1554
- },
1555
- llmInstructions: {
1556
- type: 'string',
1557
- description: 'LLM instructions for command generation',
1558
- },
1559
- researchFirst: {
1560
- type: 'boolean',
1561
- description: 'Research best approach first',
1562
- default: true,
1563
- },
1564
- projectPath: {
1565
- type: 'string',
1566
- description: 'Path to project directory',
1567
- default: '.',
1568
- },
1569
- adrDirectory: {
1570
- type: 'string',
1571
- description: 'Directory containing ADR files',
1572
- default: 'docs/adrs',
1573
- },
1574
- },
1575
- required: ['database', 'action', 'llmInstructions'],
1576
- },
1577
- },
1578
1454
  {
1579
1455
  name: 'analyze_deployment_progress',
1580
1456
  description: 'Analyze deployment progress and verify completion with outcome rules',
@@ -3823,15 +3699,6 @@ export class McpAdrAnalysisServer {
3823
3699
  case 'search_codebase':
3824
3700
  response = await this.searchCodebase(safeArgs);
3825
3701
  break;
3826
- case 'llm_web_search':
3827
- response = await this.llmWebSearch(safeArgs);
3828
- break;
3829
- case 'llm_cloud_management':
3830
- response = await this.llmCloudManagement(safeArgs);
3831
- break;
3832
- case 'llm_database_management':
3833
- response = await this.llmDatabaseManagement(safeArgs);
3834
- break;
3835
3702
  case 'analyze_deployment_progress':
3836
3703
  response = await this.analyzeDeploymentProgress(safeArgs);
3837
3704
  break;
@@ -7156,48 +7023,6 @@ Please provide:
7156
7023
  throw new McpAdrError(`Failed to search codebase: ${error instanceof Error ? error.message : String(error)}`, 'SEARCH_ERROR');
7157
7024
  }
7158
7025
  }
7159
- /**
7160
- * LLM web search tool implementation
7161
- */
7162
- async llmWebSearch(args, context) {
7163
- const ctx = context || createNoOpContext();
7164
- if (!('query' in args) || typeof args['query'] !== 'string') {
7165
- throw new McpAdrError('Missing required parameter: query', 'INVALID_ARGUMENTS');
7166
- }
7167
- ctx.info('🌐 Starting LLM-managed web search...');
7168
- ctx.report_progress(0, 100);
7169
- const { llmWebSearch } = await import('./tools/llm-web-search-tool.js');
7170
- return await llmWebSearch(args, ctx // ✅ Pass context to tool function for progress updates
7171
- );
7172
- }
7173
- /**
7174
- * LLM cloud management tool implementation
7175
- */
7176
- async llmCloudManagement(args, context) {
7177
- const ctx = context || createNoOpContext();
7178
- if (!('provider' in args) || !('action' in args) || !('llmInstructions' in args)) {
7179
- throw new McpAdrError('Missing required parameters: provider, action, llmInstructions', 'INVALID_ARGUMENTS');
7180
- }
7181
- ctx.info('🔧 Starting LLM-managed cloud operation...');
7182
- ctx.report_progress(0, 100);
7183
- const { llmCloudManagement } = await import('./tools/llm-cloud-management-tool.js');
7184
- return await llmCloudManagement(args, ctx // ✅ Pass context to tool function for progress updates
7185
- );
7186
- }
7187
- /**
7188
- * LLM database management tool implementation
7189
- */
7190
- async llmDatabaseManagement(args, context) {
7191
- const ctx = context || createNoOpContext();
7192
- if (!('database' in args) || !('action' in args) || !('llmInstructions' in args)) {
7193
- throw new McpAdrError('Missing required parameters: database, action, llmInstructions', 'INVALID_ARGUMENTS');
7194
- }
7195
- ctx.info('🗄️ Starting LLM-managed database operation...');
7196
- ctx.report_progress(0, 100);
7197
- const { llmDatabaseManagement } = await import('./tools/llm-database-management-tool.js');
7198
- return await llmDatabaseManagement(args, ctx // ✅ Pass context to tool function for progress updates
7199
- );
7200
- }
7201
7026
  /**
7202
7027
  * Deployment analysis tool implementation
7203
7028
  */