mcp-adr-analysis-server
Version:
MCP server for analyzing Architectural Decision Records and project architecture
47 lines • 1.55 kB
TypeScript
/**
* MCP Tool for ADR Bootstrap Validation
* Guides LLMs to create bootstrap.sh and validate_bootstrap.sh scripts
* that ensure code deployment follows ADR architectural decisions
*/
import { ConversationContext } from '../types/conversation-context.js';
/**
* Interface for bootstrap script generation
*/
export interface BootstrapScriptConfig {
projectPath: string;
adrDirectory?: string;
outputPath?: string;
scriptType: 'bootstrap' | 'validate' | 'both';
includeTests?: boolean;
includeDeployment?: boolean;
customValidations?: string[];
}
/**
* Interface for ADR compliance validation
*/
export interface AdrComplianceCheck {
adrId: string;
adrTitle: string;
requirement: string;
validationCommand: string;
expectedOutcome: string;
severity: 'critical' | 'error' | 'warning' | 'info';
}
/**
* Generate bootstrap and validation scripts for ADR-compliant deployment
* This tool tells the LLM HOW to create deployment scripts that validate
* the implemented code matches ADR requirements
*/
export declare function generateAdrBootstrapScripts(args: {
projectPath?: string;
adrDirectory?: string;
outputPath?: string;
scriptType?: 'bootstrap' | 'validate' | 'both';
includeTests?: boolean;
includeDeployment?: boolean;
customValidations?: string[];
enableTreeSitterAnalysis?: boolean;
conversationContext?: ConversationContext;
}): Promise<any>;
export default generateAdrBootstrapScripts;
//# sourceMappingURL=adr-bootstrap-validation-tool.d.ts.map