mcp-adr-analysis-server 2.13.0 → 2.14.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.
@@ -51,11 +51,17 @@ export function getSearchToolsDefinition() {
51
51
  };
52
52
  }
53
53
  export const MCP_TOOL_SCHEMAS = [
54
- // Meta-tool for dynamic tool discovery (CE-MCP Phase 3)
55
- getSearchToolsDefinition(),
54
+ // search_tools removed from wire — spec assigns to host, ADR-023 (#1673)
56
55
  {
57
56
  name: 'analyze_project_ecosystem',
58
57
  description: 'Comprehensive recursive project ecosystem analysis with advanced prompting techniques (Knowledge Generation + Reflexion)',
58
+ annotations: {
59
+ title: 'Analyze Project Ecosystem',
60
+ readOnlyHint: true,
61
+ destructiveHint: false,
62
+ idempotentHint: true,
63
+ openWorldHint: false,
64
+ },
59
65
  inputSchema: {
60
66
  type: 'object',
61
67
  properties: {
@@ -117,6 +123,13 @@ export const MCP_TOOL_SCHEMAS = [
117
123
  {
118
124
  name: 'get_architectural_context',
119
125
  description: 'Get detailed architectural context for specific files or the entire project, automatically sets up ADR infrastructure if missing, and provides outcome-focused workflow for project success',
126
+ annotations: {
127
+ title: 'Get Architectural Context',
128
+ readOnlyHint: true,
129
+ destructiveHint: false,
130
+ idempotentHint: true,
131
+ openWorldHint: false,
132
+ },
120
133
  inputSchema: {
121
134
  type: 'object',
122
135
  properties: {
@@ -135,6 +148,13 @@ export const MCP_TOOL_SCHEMAS = [
135
148
  {
136
149
  name: 'generate_adrs_from_prd',
137
150
  description: 'Generate Architectural Decision Records from a Product Requirements Document with advanced prompting techniques (APE + Knowledge Generation)',
151
+ annotations: {
152
+ title: 'Generate ADRs from PRD',
153
+ readOnlyHint: false,
154
+ destructiveHint: false,
155
+ idempotentHint: false,
156
+ openWorldHint: false,
157
+ },
138
158
  inputSchema: {
139
159
  type: 'object',
140
160
  properties: {
@@ -181,6 +201,13 @@ export const MCP_TOOL_SCHEMAS = [
181
201
  {
182
202
  name: 'compare_adr_progress',
183
203
  description: 'Compare TODO.md progress against ADRs and current environment to validate implementation status',
204
+ annotations: {
205
+ title: 'Compare ADR Progress',
206
+ readOnlyHint: true,
207
+ destructiveHint: false,
208
+ idempotentHint: true,
209
+ openWorldHint: false,
210
+ },
184
211
  inputSchema: {
185
212
  type: 'object',
186
213
  properties: {
@@ -272,6 +299,13 @@ export const MCP_TOOL_SCHEMAS = [
272
299
  {
273
300
  name: 'analyze_content_security',
274
301
  description: 'Analyze content for sensitive information using AI-powered detection with optional memory integration for security pattern learning',
302
+ annotations: {
303
+ title: 'Analyze Content Security',
304
+ readOnlyHint: true,
305
+ destructiveHint: false,
306
+ idempotentHint: true,
307
+ openWorldHint: false,
308
+ },
275
309
  inputSchema: {
276
310
  type: 'object',
277
311
  properties: {
@@ -312,6 +346,13 @@ export const MCP_TOOL_SCHEMAS = [
312
346
  {
313
347
  name: 'generate_content_masking',
314
348
  description: 'Generate masking instructions for detected sensitive content',
349
+ annotations: {
350
+ title: 'Generate Content Masking',
351
+ readOnlyHint: false,
352
+ destructiveHint: false,
353
+ idempotentHint: false,
354
+ openWorldHint: false,
355
+ },
315
356
  inputSchema: {
316
357
  type: 'object',
317
358
  properties: {
@@ -346,6 +387,13 @@ export const MCP_TOOL_SCHEMAS = [
346
387
  {
347
388
  name: 'configure_custom_patterns',
348
389
  description: 'Configure custom sensitive patterns for a project',
390
+ annotations: {
391
+ title: 'Configure Custom Patterns',
392
+ readOnlyHint: false,
393
+ destructiveHint: false,
394
+ idempotentHint: false,
395
+ openWorldHint: false,
396
+ },
349
397
  inputSchema: {
350
398
  type: 'object',
351
399
  properties: {
@@ -365,6 +413,13 @@ export const MCP_TOOL_SCHEMAS = [
365
413
  {
366
414
  name: 'apply_basic_content_masking',
367
415
  description: 'Apply basic content masking (fallback when AI is not available)',
416
+ annotations: {
417
+ title: 'Apply Basic Content Masking',
418
+ readOnlyHint: false,
419
+ destructiveHint: false,
420
+ idempotentHint: false,
421
+ openWorldHint: false,
422
+ },
368
423
  inputSchema: {
369
424
  type: 'object',
370
425
  properties: {
@@ -385,6 +440,13 @@ export const MCP_TOOL_SCHEMAS = [
385
440
  {
386
441
  name: 'validate_content_masking',
387
442
  description: 'Validate that content masking was applied correctly',
443
+ annotations: {
444
+ title: 'Validate Content Masking',
445
+ readOnlyHint: true,
446
+ destructiveHint: false,
447
+ idempotentHint: true,
448
+ openWorldHint: false,
449
+ },
388
450
  inputSchema: {
389
451
  type: 'object',
390
452
  properties: {
@@ -403,6 +465,13 @@ export const MCP_TOOL_SCHEMAS = [
403
465
  {
404
466
  name: 'manage_cache',
405
467
  description: 'Manage MCP resource cache (clear, stats, cleanup)',
468
+ annotations: {
469
+ title: 'Manage Cache',
470
+ readOnlyHint: false,
471
+ destructiveHint: false,
472
+ idempotentHint: true,
473
+ openWorldHint: false,
474
+ },
406
475
  inputSchema: {
407
476
  type: 'object',
408
477
  properties: {
@@ -422,6 +491,13 @@ export const MCP_TOOL_SCHEMAS = [
422
491
  {
423
492
  name: 'configure_output_masking',
424
493
  description: 'Configure content masking for all MCP outputs',
494
+ annotations: {
495
+ title: 'Configure Output Masking',
496
+ readOnlyHint: false,
497
+ destructiveHint: false,
498
+ idempotentHint: false,
499
+ openWorldHint: false,
500
+ },
425
501
  inputSchema: {
426
502
  type: 'object',
427
503
  properties: {
@@ -451,6 +527,13 @@ export const MCP_TOOL_SCHEMAS = [
451
527
  {
452
528
  name: 'suggest_adrs',
453
529
  description: 'Suggest architectural decisions with advanced prompting techniques (Knowledge Generation + Reflexion). TIP: Read @.mcp-server-context.md first for project history, patterns, and previous ADRs to ensure consistency.',
530
+ annotations: {
531
+ title: 'Suggest ADRs',
532
+ readOnlyHint: true,
533
+ destructiveHint: false,
534
+ idempotentHint: true,
535
+ openWorldHint: false,
536
+ },
454
537
  inputSchema: {
455
538
  type: 'object',
456
539
  properties: {
@@ -509,6 +592,13 @@ export const MCP_TOOL_SCHEMAS = [
509
592
  {
510
593
  name: 'generate_adr_from_decision',
511
594
  description: 'Generate a complete ADR from decision data. TIP: Reference @.mcp-server-context.md to align with existing architectural patterns and decisions.',
595
+ annotations: {
596
+ title: 'Generate ADR from Decision',
597
+ readOnlyHint: false,
598
+ destructiveHint: false,
599
+ idempotentHint: false,
600
+ openWorldHint: false,
601
+ },
512
602
  inputSchema: {
513
603
  type: 'object',
514
604
  properties: {
@@ -555,6 +645,13 @@ export const MCP_TOOL_SCHEMAS = [
555
645
  {
556
646
  name: 'generate_adr_bootstrap',
557
647
  description: "Generate bootstrap.sh and validate_bootstrap.sh scripts to ensure deployed code follows ADR requirements. **CRITICAL**: Before generating scripts, use WebFetch to query the base code repository (e.g., https://github.com/validatedpatterns/common for OpenShift) and authoritative pattern documentation (e.g., https://play.validatedpatterns.io/). Merge the base repository code into your project and have bootstrap.sh call the pattern's scripts rather than generating everything from scratch. This ensures compliance with validated deployment patterns.",
648
+ annotations: {
649
+ title: 'Generate ADR Bootstrap',
650
+ readOnlyHint: false,
651
+ destructiveHint: false,
652
+ idempotentHint: false,
653
+ openWorldHint: false,
654
+ },
558
655
  inputSchema: {
559
656
  type: 'object',
560
657
  properties: {
@@ -600,6 +697,13 @@ export const MCP_TOOL_SCHEMAS = [
600
697
  {
601
698
  name: 'bootstrap_validation_loop',
602
699
  description: '**GUIDED EXECUTION MODE**: This tool guides you through an interactive, step-by-step deployment validation workflow. It does NOT execute commands internally - instead, it tells YOU what commands to run and processes the results iteratively. **Workflow**: (1) First call with iteration=0: Detects platform (OpenShift/K8s/Docker), validates environment connection, and requests human approval for target platform. (2) Subsequent calls: After running each command and reporting back with output, the tool provides next steps. **Environment Validation**: Before deployment, the tool verifies connection to the target platform (e.g., `oc status` for OpenShift, `kubectl cluster-info` for K8s) and requires explicit human confirmation. **Validated Patterns Integration**: Automatically identifies base code repositories (e.g., validatedpatterns/common for OpenShift) and guides you to merge them into your project. **Deployment Cleanup**: Supports CI/CD-style workflows with deployment teardown/restart guidance. **Call this tool iteratively**, passing previous command output back each time.',
700
+ annotations: {
701
+ title: 'Bootstrap Validation Loop',
702
+ readOnlyHint: true,
703
+ destructiveHint: false,
704
+ idempotentHint: true,
705
+ openWorldHint: false,
706
+ },
603
707
  inputSchema: {
604
708
  type: 'object',
605
709
  properties: {
@@ -664,6 +768,13 @@ export const MCP_TOOL_SCHEMAS = [
664
768
  {
665
769
  name: 'discover_existing_adrs',
666
770
  description: 'Discover and catalog existing ADRs in the project',
771
+ annotations: {
772
+ title: 'Discover Existing ADRs',
773
+ readOnlyHint: true,
774
+ destructiveHint: false,
775
+ idempotentHint: true,
776
+ openWorldHint: false,
777
+ },
667
778
  inputSchema: {
668
779
  type: 'object',
669
780
  properties: {
@@ -683,6 +794,13 @@ export const MCP_TOOL_SCHEMAS = [
683
794
  {
684
795
  name: 'analyze_adr_timeline',
685
796
  description: 'Analyze ADR timeline with smart time tracking, adaptive thresholds, and actionable recommendations. Auto-detects project context (startup/growth/mature) and generates prioritized work queue based on staleness, implementation lag, and technical debt.',
797
+ annotations: {
798
+ title: 'Analyze ADR Timeline',
799
+ readOnlyHint: true,
800
+ destructiveHint: false,
801
+ idempotentHint: true,
802
+ openWorldHint: false,
803
+ },
686
804
  inputSchema: {
687
805
  type: 'object',
688
806
  properties: {
@@ -727,6 +845,13 @@ export const MCP_TOOL_SCHEMAS = [
727
845
  {
728
846
  name: 'review_existing_adrs',
729
847
  description: 'Review existing ADRs against actual code implementation with cloud/DevOps expertise. TIP: After review, call get_server_context to update @.mcp-server-context.md with findings.',
848
+ annotations: {
849
+ title: 'Review Existing ADRs',
850
+ readOnlyHint: true,
851
+ destructiveHint: false,
852
+ idempotentHint: true,
853
+ openWorldHint: false,
854
+ },
730
855
  inputSchema: {
731
856
  type: 'object',
732
857
  properties: {
@@ -766,6 +891,13 @@ export const MCP_TOOL_SCHEMAS = [
766
891
  {
767
892
  name: 'validate_adr',
768
893
  description: 'Validate an existing ADR against actual infrastructure reality using research-driven analysis. TIP: Compare findings against patterns in @.mcp-server-context.md for consistency checks.',
894
+ annotations: {
895
+ title: 'Validate ADR',
896
+ readOnlyHint: true,
897
+ destructiveHint: false,
898
+ idempotentHint: true,
899
+ openWorldHint: false,
900
+ },
769
901
  inputSchema: {
770
902
  type: 'object',
771
903
  properties: {
@@ -800,6 +932,13 @@ export const MCP_TOOL_SCHEMAS = [
800
932
  {
801
933
  name: 'validate_all_adrs',
802
934
  description: 'Validate all ADRs in a directory against actual infrastructure reality',
935
+ annotations: {
936
+ title: 'Validate All ADRs',
937
+ readOnlyHint: true,
938
+ destructiveHint: false,
939
+ idempotentHint: true,
940
+ openWorldHint: false,
941
+ },
803
942
  inputSchema: {
804
943
  type: 'object',
805
944
  properties: {
@@ -829,6 +968,13 @@ export const MCP_TOOL_SCHEMAS = [
829
968
  {
830
969
  name: 'incorporate_research',
831
970
  description: 'Incorporate research findings into architectural decisions',
971
+ annotations: {
972
+ title: 'Incorporate Research',
973
+ readOnlyHint: false,
974
+ destructiveHint: false,
975
+ idempotentHint: false,
976
+ openWorldHint: false,
977
+ },
832
978
  inputSchema: {
833
979
  type: 'object',
834
980
  properties: {
@@ -900,6 +1046,13 @@ export const MCP_TOOL_SCHEMAS = [
900
1046
  {
901
1047
  name: 'create_research_template',
902
1048
  description: 'Create a research template file for documenting findings',
1049
+ annotations: {
1050
+ title: 'Create Research Template',
1051
+ readOnlyHint: false,
1052
+ destructiveHint: false,
1053
+ idempotentHint: false,
1054
+ openWorldHint: false,
1055
+ },
903
1056
  inputSchema: {
904
1057
  type: 'object',
905
1058
  properties: {
@@ -924,6 +1077,13 @@ export const MCP_TOOL_SCHEMAS = [
924
1077
  {
925
1078
  name: 'request_action_confirmation',
926
1079
  description: 'Request confirmation before applying research-based changes',
1080
+ annotations: {
1081
+ title: 'Request Action Confirmation',
1082
+ readOnlyHint: false,
1083
+ destructiveHint: false,
1084
+ idempotentHint: false,
1085
+ openWorldHint: false,
1086
+ },
927
1087
  inputSchema: {
928
1088
  type: 'object',
929
1089
  properties: {
@@ -948,6 +1108,13 @@ export const MCP_TOOL_SCHEMAS = [
948
1108
  {
949
1109
  name: 'generate_rules',
950
1110
  description: 'Generate architectural rules from ADRs and code patterns',
1111
+ annotations: {
1112
+ title: 'Generate Rules',
1113
+ readOnlyHint: false,
1114
+ destructiveHint: false,
1115
+ idempotentHint: false,
1116
+ openWorldHint: false,
1117
+ },
951
1118
  inputSchema: {
952
1119
  type: 'object',
953
1120
  properties: {
@@ -991,6 +1158,13 @@ export const MCP_TOOL_SCHEMAS = [
991
1158
  {
992
1159
  name: 'validate_rules',
993
1160
  description: 'Validate code against architectural rules',
1161
+ annotations: {
1162
+ title: 'Validate Rules',
1163
+ readOnlyHint: true,
1164
+ destructiveHint: false,
1165
+ idempotentHint: true,
1166
+ openWorldHint: false,
1167
+ },
994
1168
  inputSchema: {
995
1169
  type: 'object',
996
1170
  properties: {
@@ -1041,6 +1215,13 @@ export const MCP_TOOL_SCHEMAS = [
1041
1215
  {
1042
1216
  name: 'create_rule_set',
1043
1217
  description: 'Create machine-readable rule set in JSON/YAML format',
1218
+ annotations: {
1219
+ title: 'Create Rule Set',
1220
+ readOnlyHint: false,
1221
+ destructiveHint: false,
1222
+ idempotentHint: false,
1223
+ openWorldHint: false,
1224
+ },
1044
1225
  inputSchema: {
1045
1226
  type: 'object',
1046
1227
  properties: {
@@ -1086,6 +1267,13 @@ export const MCP_TOOL_SCHEMAS = [
1086
1267
  {
1087
1268
  name: 'analyze_environment',
1088
1269
  description: 'Analyze environment context and provide optimization recommendations with optional memory integration for environment snapshot tracking',
1270
+ annotations: {
1271
+ title: 'Analyze Environment',
1272
+ readOnlyHint: true,
1273
+ destructiveHint: false,
1274
+ idempotentHint: true,
1275
+ openWorldHint: false,
1276
+ },
1089
1277
  inputSchema: {
1090
1278
  type: 'object',
1091
1279
  properties: {
@@ -1134,6 +1322,13 @@ export const MCP_TOOL_SCHEMAS = [
1134
1322
  {
1135
1323
  name: 'generate_research_questions',
1136
1324
  description: 'Generate context-aware research questions and create research tracking system',
1325
+ annotations: {
1326
+ title: 'Generate Research Questions',
1327
+ readOnlyHint: false,
1328
+ destructiveHint: false,
1329
+ idempotentHint: false,
1330
+ openWorldHint: false,
1331
+ },
1137
1332
  inputSchema: {
1138
1333
  type: 'object',
1139
1334
  properties: {
@@ -1234,6 +1429,13 @@ export const MCP_TOOL_SCHEMAS = [
1234
1429
  {
1235
1430
  name: 'perform_research',
1236
1431
  description: 'Perform research using cascading sources: project files → session/tool-usage tracker → environment resources → web search (fallback)',
1432
+ annotations: {
1433
+ title: 'Perform Research',
1434
+ readOnlyHint: true,
1435
+ destructiveHint: false,
1436
+ idempotentHint: true,
1437
+ openWorldHint: true,
1438
+ },
1237
1439
  inputSchema: {
1238
1440
  type: 'object',
1239
1441
  properties: {
@@ -1275,6 +1477,13 @@ export const MCP_TOOL_SCHEMAS = [
1275
1477
  {
1276
1478
  name: 'search_codebase',
1277
1479
  description: 'Atomic tool for searching codebase files based on query patterns. Returns raw file matches with relevance scores. Extracted from ResearchOrchestrator per ADR-018.',
1480
+ annotations: {
1481
+ title: 'Search Codebase',
1482
+ readOnlyHint: true,
1483
+ destructiveHint: false,
1484
+ idempotentHint: true,
1485
+ openWorldHint: false,
1486
+ },
1278
1487
  inputSchema: {
1279
1488
  type: 'object',
1280
1489
  properties: {
@@ -1323,6 +1532,13 @@ export const MCP_TOOL_SCHEMAS = [
1323
1532
  {
1324
1533
  name: 'analyze_deployment_progress',
1325
1534
  description: 'Analyze deployment progress and verify completion with outcome rules',
1535
+ annotations: {
1536
+ title: 'Analyze Deployment Progress',
1537
+ readOnlyHint: true,
1538
+ destructiveHint: false,
1539
+ idempotentHint: true,
1540
+ openWorldHint: false,
1541
+ },
1326
1542
  inputSchema: {
1327
1543
  type: 'object',
1328
1544
  properties: {
@@ -1404,18 +1620,17 @@ export const MCP_TOOL_SCHEMAS = [
1404
1620
  },
1405
1621
  },
1406
1622
  },
1407
- {
1408
- name: 'check_ai_execution_status',
1409
- description: 'Check AI execution configuration and status for debugging prompt-only mode issues',
1410
- inputSchema: {
1411
- type: 'object',
1412
- properties: {},
1413
- required: [],
1414
- },
1415
- },
1623
+ // check_ai_execution_status removed — dies with AI layer, ADR-023 (#1673)
1416
1624
  {
1417
1625
  name: 'get_workflow_guidance',
1418
1626
  description: 'Get intelligent workflow guidance and tool recommendations based on your goals and project context to achieve expected outcomes efficiently',
1627
+ annotations: {
1628
+ title: 'Get Workflow Guidance',
1629
+ readOnlyHint: true,
1630
+ destructiveHint: false,
1631
+ idempotentHint: true,
1632
+ openWorldHint: false,
1633
+ },
1419
1634
  inputSchema: {
1420
1635
  type: 'object',
1421
1636
  properties: {
@@ -1458,6 +1673,13 @@ export const MCP_TOOL_SCHEMAS = [
1458
1673
  {
1459
1674
  name: 'get_development_guidance',
1460
1675
  description: 'Get comprehensive development guidance that translates architectural decisions and workflow recommendations into specific coding tasks, implementation patterns, and development roadmap',
1676
+ annotations: {
1677
+ title: 'Get Development Guidance',
1678
+ readOnlyHint: true,
1679
+ destructiveHint: false,
1680
+ idempotentHint: true,
1681
+ openWorldHint: false,
1682
+ },
1461
1683
  inputSchema: {
1462
1684
  type: 'object',
1463
1685
  properties: {
@@ -1514,81 +1736,18 @@ export const MCP_TOOL_SCHEMAS = [
1514
1736
  required: ['developmentPhase'],
1515
1737
  },
1516
1738
  },
1517
- {
1518
- name: 'list_roots',
1519
- description: '[DEPRECATED host-native, ADR-023] List available file system roots that can be accessed. Use this to discover what directories are available before reading files.',
1520
- inputSchema: {
1521
- type: 'object',
1522
- properties: {},
1523
- },
1524
- },
1525
- {
1526
- name: 'read_directory',
1527
- description: '[DEPRECATED host-native, ADR-023] List files and folders in a directory. Use this to explore the file structure within accessible roots.',
1528
- inputSchema: {
1529
- type: 'object',
1530
- properties: {
1531
- path: {
1532
- type: 'string',
1533
- description: 'Directory path to list (relative to project root or absolute within roots)',
1534
- },
1535
- },
1536
- required: ['path'],
1537
- },
1538
- },
1539
- {
1540
- name: 'read_file',
1541
- description: '[DEPRECATED host-native, ADR-023] Read contents of a file',
1542
- inputSchema: {
1543
- type: 'object',
1544
- properties: {
1545
- filePath: {
1546
- type: 'string',
1547
- description: 'Path to the file to read',
1548
- },
1549
- path: {
1550
- type: 'string',
1551
- description: 'Path to the file to read (alias for filePath)',
1552
- },
1553
- },
1554
- required: [],
1555
- },
1556
- },
1557
- {
1558
- name: 'write_file',
1559
- description: '[DEPRECATED host-native, ADR-023] Write content to a file',
1560
- inputSchema: {
1561
- type: 'object',
1562
- properties: {
1563
- path: {
1564
- type: 'string',
1565
- description: 'Path to the file to write',
1566
- },
1567
- content: {
1568
- type: 'string',
1569
- description: 'Content to write to the file',
1570
- },
1571
- },
1572
- required: ['path', 'content'],
1573
- },
1574
- },
1575
- {
1576
- name: 'list_directory',
1577
- description: '[DEPRECATED host-native, ADR-023] List contents of a directory',
1578
- inputSchema: {
1579
- type: 'object',
1580
- properties: {
1581
- path: {
1582
- type: 'string',
1583
- description: 'Path to the directory to list',
1584
- },
1585
- },
1586
- required: ['path'],
1587
- },
1588
- },
1739
+ // Host-native tools removed: list_roots, read_directory, read_file,
1740
+ // write_file, list_directory — ADR-023 Phase 0 (#1673)
1589
1741
  {
1590
1742
  name: 'generate_deployment_guidance',
1591
1743
  description: 'Generate deployment guidance and instructions from ADRs with environment-specific configurations',
1744
+ annotations: {
1745
+ title: 'Generate Deployment Guidance',
1746
+ readOnlyHint: false,
1747
+ destructiveHint: false,
1748
+ idempotentHint: false,
1749
+ openWorldHint: false,
1750
+ },
1592
1751
  inputSchema: {
1593
1752
  type: 'object',
1594
1753
  properties: {
@@ -1668,6 +1827,13 @@ export const MCP_TOOL_SCHEMAS = [
1668
1827
  {
1669
1828
  name: 'smart_git_push',
1670
1829
  description: 'AI-driven security-focused git push with credential detection, file filtering, and deployment metrics tracking. Tests should be run by calling AI and results provided.',
1830
+ annotations: {
1831
+ title: 'Smart Git Push',
1832
+ readOnlyHint: false,
1833
+ destructiveHint: true,
1834
+ idempotentHint: false,
1835
+ openWorldHint: false,
1836
+ },
1671
1837
  inputSchema: {
1672
1838
  type: 'object',
1673
1839
  properties: {
@@ -1755,6 +1921,13 @@ export const MCP_TOOL_SCHEMAS = [
1755
1921
  {
1756
1922
  name: 'deployment_readiness',
1757
1923
  description: 'Comprehensive deployment readiness validation with test failure tracking, deployment history analysis, and hard blocking for unsafe deployments. Integrates with smart_git_push for deployment gating.',
1924
+ annotations: {
1925
+ title: 'Check Deployment Readiness',
1926
+ readOnlyHint: true,
1927
+ destructiveHint: false,
1928
+ idempotentHint: true,
1929
+ openWorldHint: false,
1930
+ },
1758
1931
  inputSchema: {
1759
1932
  type: 'object',
1760
1933
  properties: {
@@ -1892,6 +2065,13 @@ export const MCP_TOOL_SCHEMAS = [
1892
2065
  {
1893
2066
  name: 'release_tracking',
1894
2067
  description: 'Track releases mapped to ADR decisions. Generates changelogs, manages milestones, compares releases, and assesses release readiness. Supports greenfield and brownfield projects. Writes CHANGELOG.md, creates GitHub Releases and Milestones.',
2068
+ annotations: {
2069
+ title: 'Track Releases',
2070
+ readOnlyHint: true,
2071
+ destructiveHint: false,
2072
+ idempotentHint: true,
2073
+ openWorldHint: false,
2074
+ },
1895
2075
  inputSchema: {
1896
2076
  type: 'object',
1897
2077
  properties: {
@@ -2011,6 +2191,13 @@ export const MCP_TOOL_SCHEMAS = [
2011
2191
  {
2012
2192
  name: 'generate_adr_todo',
2013
2193
  description: 'Generate TODO.md from ADRs with comprehensive task breakdown. Decomposes each ADR into paired test+production tasks (TDD), links tasks to release milestones, and preserves manual edits via a bounded HTML-comment section. Re-runs are idempotent; tasks for deleted/superseded ADRs move to a Stale Tasks section.',
2194
+ annotations: {
2195
+ title: 'Generate ADR Todo',
2196
+ readOnlyHint: false,
2197
+ destructiveHint: false,
2198
+ idempotentHint: false,
2199
+ openWorldHint: false,
2200
+ },
2014
2201
  inputSchema: {
2015
2202
  type: 'object',
2016
2203
  properties: {
@@ -2057,6 +2244,13 @@ export const MCP_TOOL_SCHEMAS = [
2057
2244
  {
2058
2245
  name: 'troubleshoot_guided_workflow',
2059
2246
  description: 'Structured failure analysis and test plan generation with memory integration for troubleshooting session tracking and intelligent ADR/research suggestion capabilities - provide JSON failure info to get specific test commands',
2247
+ annotations: {
2248
+ title: 'Troubleshoot Guided Workflow',
2249
+ readOnlyHint: true,
2250
+ destructiveHint: false,
2251
+ idempotentHint: true,
2252
+ openWorldHint: false,
2253
+ },
2060
2254
  inputSchema: {
2061
2255
  type: 'object',
2062
2256
  properties: {
@@ -2189,6 +2383,13 @@ export const MCP_TOOL_SCHEMAS = [
2189
2383
  {
2190
2384
  name: 'smart_score',
2191
2385
  description: 'Central coordination for project health scoring system - recalculate, sync, diagnose, optimize, and reset scores across all MCP tools',
2386
+ annotations: {
2387
+ title: 'Smart Score',
2388
+ readOnlyHint: true,
2389
+ destructiveHint: false,
2390
+ idempotentHint: true,
2391
+ openWorldHint: false,
2392
+ },
2192
2393
  inputSchema: {
2193
2394
  type: 'object',
2194
2395
  properties: {
@@ -2329,6 +2530,13 @@ export const MCP_TOOL_SCHEMAS = [
2329
2530
  {
2330
2531
  name: 'mcp_planning',
2331
2532
  description: 'Enhanced project planning and workflow management tool - phase-based project management, team resource allocation, progress tracking, risk analysis, and executive reporting',
2533
+ annotations: {
2534
+ title: 'MCP Planning',
2535
+ readOnlyHint: false,
2536
+ destructiveHint: false,
2537
+ idempotentHint: false,
2538
+ openWorldHint: false,
2539
+ },
2332
2540
  inputSchema: {
2333
2541
  type: 'object',
2334
2542
  properties: {
@@ -2568,6 +2776,13 @@ export const MCP_TOOL_SCHEMAS = [
2568
2776
  {
2569
2777
  name: 'interactive_adr_planning',
2570
2778
  description: 'Interactive guided ADR planning and creation tool - walks users through structured decision-making process with research integration, option evaluation, and automatic ADR generation. TIP: Start by reading @.mcp-server-context.md to understand project context and previous decisions.',
2779
+ annotations: {
2780
+ title: 'Interactive ADR Planning',
2781
+ readOnlyHint: false,
2782
+ destructiveHint: false,
2783
+ idempotentHint: false,
2784
+ openWorldHint: false,
2785
+ },
2571
2786
  inputSchema: {
2572
2787
  type: 'object',
2573
2788
  properties: {
@@ -2619,6 +2834,13 @@ export const MCP_TOOL_SCHEMAS = [
2619
2834
  {
2620
2835
  name: 'memory_loading',
2621
2836
  description: 'Advanced memory loading tool for the memory-centric architecture. Query, explore, and manage memory entities and relationships. Load ADRs into memory system and perform intelligent queries.',
2837
+ annotations: {
2838
+ title: 'Load Memory',
2839
+ readOnlyHint: false,
2840
+ destructiveHint: false,
2841
+ idempotentHint: false,
2842
+ openWorldHint: false,
2843
+ },
2622
2844
  inputSchema: {
2623
2845
  type: 'object',
2624
2846
  properties: {
@@ -2770,6 +2992,13 @@ export const MCP_TOOL_SCHEMAS = [
2770
2992
  {
2771
2993
  name: 'expand_analysis_section',
2772
2994
  description: 'Retrieve full analysis content from tiered responses. Expand entire analysis or specific sections stored in memory. Use this when a tool returns a summary with an expandable ID.',
2995
+ annotations: {
2996
+ title: 'Expand Analysis Section',
2997
+ readOnlyHint: true,
2998
+ destructiveHint: false,
2999
+ idempotentHint: true,
3000
+ openWorldHint: false,
3001
+ },
2773
3002
  inputSchema: {
2774
3003
  type: 'object',
2775
3004
  properties: {
@@ -2794,6 +3023,13 @@ export const MCP_TOOL_SCHEMAS = [
2794
3023
  {
2795
3024
  name: 'tool_chain_orchestrator',
2796
3025
  description: 'AI-powered dynamic tool sequencing - intelligently analyze user requests and generate structured tool execution plans',
3026
+ annotations: {
3027
+ title: 'Tool Chain Orchestrator',
3028
+ readOnlyHint: false,
3029
+ destructiveHint: false,
3030
+ idempotentHint: false,
3031
+ openWorldHint: false,
3032
+ },
2797
3033
  inputSchema: {
2798
3034
  type: 'object',
2799
3035
  properties: {
@@ -2834,6 +3070,13 @@ export const MCP_TOOL_SCHEMAS = [
2834
3070
  {
2835
3071
  name: 'expand_memory',
2836
3072
  description: 'Phase 3: Retrieve and expand stored content from a tiered response using its expandable ID',
3073
+ annotations: {
3074
+ title: 'Expand Memory',
3075
+ readOnlyHint: false,
3076
+ destructiveHint: false,
3077
+ idempotentHint: false,
3078
+ openWorldHint: false,
3079
+ },
2837
3080
  inputSchema: {
2838
3081
  type: 'object',
2839
3082
  properties: {
@@ -2857,6 +3100,13 @@ export const MCP_TOOL_SCHEMAS = [
2857
3100
  {
2858
3101
  name: 'query_conversation_history',
2859
3102
  description: 'Phase 3: Search and retrieve conversation sessions based on filters',
3103
+ annotations: {
3104
+ title: 'Query Conversation History',
3105
+ readOnlyHint: true,
3106
+ destructiveHint: false,
3107
+ idempotentHint: true,
3108
+ openWorldHint: false,
3109
+ },
2860
3110
  inputSchema: {
2861
3111
  type: 'object',
2862
3112
  properties: {
@@ -2892,6 +3142,13 @@ export const MCP_TOOL_SCHEMAS = [
2892
3142
  {
2893
3143
  name: 'get_conversation_snapshot',
2894
3144
  description: 'Phase 3: Get current conversation context snapshot for resumption or analysis',
3145
+ annotations: {
3146
+ title: 'Get Conversation Snapshot',
3147
+ readOnlyHint: true,
3148
+ destructiveHint: false,
3149
+ idempotentHint: true,
3150
+ openWorldHint: false,
3151
+ },
2895
3152
  inputSchema: {
2896
3153
  type: 'object',
2897
3154
  properties: {
@@ -2906,6 +3163,13 @@ export const MCP_TOOL_SCHEMAS = [
2906
3163
  {
2907
3164
  name: 'get_memory_stats',
2908
3165
  description: 'Phase 3: Get statistics about stored conversation memory',
3166
+ annotations: {
3167
+ title: 'Get Memory Stats',
3168
+ readOnlyHint: true,
3169
+ destructiveHint: false,
3170
+ idempotentHint: true,
3171
+ openWorldHint: false,
3172
+ },
2909
3173
  inputSchema: {
2910
3174
  type: 'object',
2911
3175
  properties: {},
@@ -2914,6 +3178,13 @@ export const MCP_TOOL_SCHEMAS = [
2914
3178
  {
2915
3179
  name: 'update_knowledge',
2916
3180
  description: 'ADR-018: Simple CRUD operations for project session state. Not a graph database — keyword retrieval over local JSON snapshots. Add/remove entities (intents, ADRs, tools, code) and relationships. Use knowledge://graph resource to read current state (zero token cost).',
3181
+ annotations: {
3182
+ title: 'Update Knowledge',
3183
+ readOnlyHint: false,
3184
+ destructiveHint: false,
3185
+ idempotentHint: false,
3186
+ openWorldHint: false,
3187
+ },
2917
3188
  inputSchema: {
2918
3189
  type: 'object',
2919
3190
  properties: {
@@ -2956,6 +3227,13 @@ export const MCP_TOOL_SCHEMAS = [
2956
3227
  {
2957
3228
  name: 'get_server_context',
2958
3229
  description: "Generate a comprehensive context file showing the server's current state, memory, and capabilities. Creates .mcp-server-context.md that can be @ referenced in conversations for instant LLM awareness",
3230
+ annotations: {
3231
+ title: 'Get Server Context',
3232
+ readOnlyHint: true,
3233
+ destructiveHint: false,
3234
+ idempotentHint: true,
3235
+ openWorldHint: false,
3236
+ },
2959
3237
  inputSchema: {
2960
3238
  type: 'object',
2961
3239
  properties: {
@@ -2981,35 +3259,18 @@ export const MCP_TOOL_SCHEMAS = [
2981
3259
  },
2982
3260
  },
2983
3261
  },
2984
- {
2985
- name: 'get_current_datetime',
2986
- description: '[DEPRECATED host-native, ADR-023] Get the current date and time in various formats. Useful for timestamping ADRs, research documents, and other architectural artifacts. Returns ISO 8601, human-readable, and ADR-specific date formats.',
2987
- inputSchema: {
2988
- type: 'object',
2989
- properties: {
2990
- timezone: {
2991
- type: 'string',
2992
- description: 'Timezone for the datetime (e.g., "UTC", "America/New_York", "Europe/London"). Defaults to UTC.',
2993
- default: 'UTC',
2994
- },
2995
- format: {
2996
- type: 'string',
2997
- enum: ['iso', 'human', 'adr', 'all'],
2998
- description: 'Output format: "iso" for ISO 8601, "human" for human-readable, "adr" for ADR date format (YYYY-MM-DD), "all" for all formats',
2999
- default: 'all',
3000
- },
3001
- includeTimestamp: {
3002
- type: 'boolean',
3003
- description: 'Include Unix timestamp in milliseconds',
3004
- default: true,
3005
- },
3006
- },
3007
- },
3008
- },
3262
+ // get_current_datetime removed — host-native, ADR-023 (#1673)
3009
3263
  // Session management tool for dynamic project switching
3010
3264
  {
3011
3265
  name: 'set_project_path',
3012
3266
  description: 'Dynamically set the active project path for the current session. Call this at the start of a session to switch between projects without restarting the server or modifying environment variables. All subsequent tool calls will use this path as the default.',
3267
+ annotations: {
3268
+ title: 'Set Project Path',
3269
+ readOnlyHint: false,
3270
+ destructiveHint: false,
3271
+ idempotentHint: true,
3272
+ openWorldHint: false,
3273
+ },
3013
3274
  inputSchema: {
3014
3275
  type: 'object',
3015
3276
  properties: {
@@ -3026,45 +3287,18 @@ export const MCP_TOOL_SCHEMAS = [
3026
3287
  required: ['path'],
3027
3288
  },
3028
3289
  },
3029
- // CE-MCP Phase 4: Lazy Prompt Loading Tool
3030
- {
3031
- name: 'load_prompt',
3032
- description: '[DEPRECATED host-native, ADR-023] Load a specific prompt or prompt section on-demand. Part of CE-MCP lazy loading system that reduces token usage by ~96% by loading prompts only when needed. Use this to retrieve prompt templates for ADR generation, analysis, deployment, and other operations.',
3033
- inputSchema: {
3034
- type: 'object',
3035
- properties: {
3036
- promptName: {
3037
- type: 'string',
3038
- description: 'Name of the prompt to load (e.g., "adr-suggestion", "deployment-analysis", "environment-analysis", "research-question", "rule-generation", "analysis", "security")',
3039
- enum: [
3040
- 'adr-suggestion',
3041
- 'deployment-analysis',
3042
- 'environment-analysis',
3043
- 'research-question',
3044
- 'rule-generation',
3045
- 'analysis',
3046
- 'research-integration',
3047
- 'validated-pattern',
3048
- 'security',
3049
- ],
3050
- },
3051
- section: {
3052
- type: 'string',
3053
- description: 'Specific section within the prompt to load. If not provided, loads the entire prompt. Available sections depend on the prompt.',
3054
- },
3055
- estimateOnly: {
3056
- type: 'boolean',
3057
- description: 'If true, returns only token estimate without loading the full prompt content',
3058
- default: false,
3059
- },
3060
- },
3061
- required: ['promptName'],
3062
- },
3063
- },
3290
+ // load_prompt removed — spec assigns to host, ADR-023 (#1673)
3064
3291
  // ADR Aggregator Integration Tools (https://adraggregator.com)
3065
3292
  {
3066
3293
  name: 'sync_to_aggregator',
3067
3294
  description: 'Sync ADRs to ADR Aggregator platform (https://adraggregator.com) for centralized tracking, visualization, and team collaboration. Supports incremental and full sync modes with optional metadata.',
3295
+ annotations: {
3296
+ title: 'Sync to Aggregator',
3297
+ readOnlyHint: false,
3298
+ destructiveHint: false,
3299
+ idempotentHint: false,
3300
+ openWorldHint: true,
3301
+ },
3068
3302
  inputSchema: {
3069
3303
  type: 'object',
3070
3304
  properties: {
@@ -3113,6 +3347,13 @@ export const MCP_TOOL_SCHEMAS = [
3113
3347
  {
3114
3348
  name: 'get_adr_context',
3115
3349
  description: 'Fetch ADR context from ADR Aggregator including summaries, diagrams, timeline data, and code links. Useful for getting a consolidated view of architectural decisions.',
3350
+ annotations: {
3351
+ title: 'Get ADR Context',
3352
+ readOnlyHint: true,
3353
+ destructiveHint: false,
3354
+ idempotentHint: true,
3355
+ openWorldHint: true,
3356
+ },
3116
3357
  inputSchema: {
3117
3358
  type: 'object',
3118
3359
  properties: {
@@ -3158,6 +3399,13 @@ export const MCP_TOOL_SCHEMAS = [
3158
3399
  {
3159
3400
  name: 'get_staleness_report',
3160
3401
  description: 'Get ADR staleness report from ADR Aggregator with review compliance metrics. Identifies stale ADRs that need attention and provides governance insights.',
3402
+ annotations: {
3403
+ title: 'Get Staleness Report',
3404
+ readOnlyHint: true,
3405
+ destructiveHint: false,
3406
+ idempotentHint: true,
3407
+ openWorldHint: true,
3408
+ },
3161
3409
  inputSchema: {
3162
3410
  type: 'object',
3163
3411
  properties: {
@@ -3176,6 +3424,13 @@ export const MCP_TOOL_SCHEMAS = [
3176
3424
  {
3177
3425
  name: 'get_adr_templates',
3178
3426
  description: 'Get domain-specific ADR templates and anti-patterns from ADR Aggregator. Includes best practices for web applications, microservices, APIs, and more. No authentication required.',
3427
+ annotations: {
3428
+ title: 'Get ADR Templates',
3429
+ readOnlyHint: true,
3430
+ destructiveHint: false,
3431
+ idempotentHint: true,
3432
+ openWorldHint: true,
3433
+ },
3179
3434
  inputSchema: {
3180
3435
  type: 'object',
3181
3436
  properties: {
@@ -3189,6 +3444,13 @@ export const MCP_TOOL_SCHEMAS = [
3189
3444
  {
3190
3445
  name: 'get_adr_diagrams',
3191
3446
  description: 'Get Mermaid diagrams for ADRs from ADR Aggregator. Includes workflow, relationship, and impact diagrams. Requires Pro+ tier.',
3447
+ annotations: {
3448
+ title: 'Get ADR Diagrams',
3449
+ readOnlyHint: true,
3450
+ destructiveHint: false,
3451
+ idempotentHint: true,
3452
+ openWorldHint: true,
3453
+ },
3192
3454
  inputSchema: {
3193
3455
  type: 'object',
3194
3456
  properties: {
@@ -3206,6 +3468,13 @@ export const MCP_TOOL_SCHEMAS = [
3206
3468
  {
3207
3469
  name: 'validate_adr_compliance',
3208
3470
  description: 'Validate ADR compliance against implementation via ADR Aggregator. Checks that code actually implements documented decisions. Requires Pro+ tier.',
3471
+ annotations: {
3472
+ title: 'Validate ADR Compliance',
3473
+ readOnlyHint: true,
3474
+ destructiveHint: false,
3475
+ idempotentHint: true,
3476
+ openWorldHint: true,
3477
+ },
3209
3478
  inputSchema: {
3210
3479
  type: 'object',
3211
3480
  properties: {
@@ -3230,6 +3499,13 @@ export const MCP_TOOL_SCHEMAS = [
3230
3499
  {
3231
3500
  name: 'get_knowledge_graph',
3232
3501
  description: 'Get cross-repository knowledge graph from ADR Aggregator with analytics and insights. Visualize ADR relationships across repositories. Requires Team tier.',
3502
+ annotations: {
3503
+ title: 'Get Knowledge Graph',
3504
+ readOnlyHint: true,
3505
+ destructiveHint: false,
3506
+ idempotentHint: true,
3507
+ openWorldHint: true,
3508
+ },
3233
3509
  inputSchema: {
3234
3510
  type: 'object',
3235
3511
  properties: {
@@ -3254,6 +3530,13 @@ export const MCP_TOOL_SCHEMAS = [
3254
3530
  {
3255
3531
  name: 'update_implementation_status',
3256
3532
  description: 'Update the implementation status of synced ADRs directly from the IDE. Supports statuses: not_started, in_progress, implemented, deprecated, blocked. Requires Pro+ tier.',
3533
+ annotations: {
3534
+ title: 'Update Implementation Status',
3535
+ readOnlyHint: false,
3536
+ destructiveHint: false,
3537
+ idempotentHint: false,
3538
+ openWorldHint: true,
3539
+ },
3257
3540
  inputSchema: {
3258
3541
  type: 'object',
3259
3542
  properties: {
@@ -3291,6 +3574,13 @@ export const MCP_TOOL_SCHEMAS = [
3291
3574
  {
3292
3575
  name: 'get_adr_priorities',
3293
3576
  description: 'Get ADR priorities for roadmap and backlog planning from ADR Aggregator. Returns prioritized ADRs with scores, dependencies, blockers, implementation status, and gap counts.',
3577
+ annotations: {
3578
+ title: 'Get ADR Priorities',
3579
+ readOnlyHint: true,
3580
+ destructiveHint: false,
3581
+ idempotentHint: true,
3582
+ openWorldHint: true,
3583
+ },
3294
3584
  inputSchema: {
3295
3585
  type: 'object',
3296
3586
  properties: {
@@ -3309,6 +3599,13 @@ export const MCP_TOOL_SCHEMAS = [
3309
3599
  {
3310
3600
  name: 'analyze_gaps',
3311
3601
  description: 'Scan local codebase and compare with ADRs to detect bi-directional gaps. Finds: (1) ADR-to-code gaps: file references in ADRs that do not exist, (2) Code-to-ADR gaps: technologies in package.json and architectural patterns without ADR coverage. Reports gaps to ADR Aggregator for tracking.',
3602
+ annotations: {
3603
+ title: 'Analyze Gaps',
3604
+ readOnlyHint: true,
3605
+ destructiveHint: false,
3606
+ idempotentHint: true,
3607
+ openWorldHint: false,
3608
+ },
3312
3609
  inputSchema: {
3313
3610
  type: 'object',
3314
3611
  properties: {
@@ -3347,6 +3644,13 @@ export const MCP_TOOL_SCHEMAS = [
3347
3644
  {
3348
3645
  name: 'get_gaps',
3349
3646
  description: 'Get current code gaps from ADR Aggregator. Returns gaps with their status (open, dismissed, resolved) for tracking and management.',
3647
+ annotations: {
3648
+ title: 'Get Gaps',
3649
+ readOnlyHint: true,
3650
+ destructiveHint: false,
3651
+ idempotentHint: true,
3652
+ openWorldHint: false,
3653
+ },
3350
3654
  inputSchema: {
3351
3655
  type: 'object',
3352
3656
  properties: {