mcp-adr-analysis-server
Version:
MCP server for analyzing Architectural Decision Records and project architecture
52 lines • 1.57 kB
TypeScript
/**
* Deployment Type Registry
*
* Comprehensive registry of deployment platforms with their specific
* file requirements, validation rules, and deployment patterns.
*
* Supports: OpenShift, Kubernetes, Firebase, Docker, MCP Servers,
* FastMCP, bare metal, and hybrid deployments.
*/
export interface DeploymentFile {
path: string;
required: boolean;
canAutoGenerate: boolean;
isSecret: boolean;
description: string;
templateContent?: string;
validationRules?: string[];
}
export interface DeploymentType {
id: string;
name: string;
category: 'container' | 'serverless' | 'mcp' | 'traditional';
detectionPatterns: {
files?: string[];
dependencies?: string[];
commands?: string[];
};
requiredFiles: DeploymentFile[];
optionalFiles: DeploymentFile[];
environmentVariables: {
name: string;
required: boolean;
description: string;
isSecret: boolean;
}[];
validationCommands: string[];
deploymentCommands: string[];
documentation: string;
}
/**
* Registry of all supported deployment types
*/
export declare const DEPLOYMENT_TYPES: DeploymentType[];
/**
* Detect deployment types based on project structure
*/
export declare function detectDeploymentTypes(projectPath: string): Promise<DeploymentType[]>;
/**
* Get all required files for detected deployment types
*/
export declare function getRequiredFilesForDeployments(deploymentTypes: DeploymentType[]): DeploymentFile[];
//# sourceMappingURL=deployment-type-registry.d.ts.map