@henkey/postgres-mcp-server
Version:
A Model Context Protocol (MCP) server that provides comprehensive PostgreSQL database management capabilities for AI assistants
16 lines (15 loc) • 550 B
TypeScript
import type { PostgresTool } from '../types/tool.js';
interface AnalysisResult {
version: string;
settings: Record<string, string>;
metrics: {
connections: number;
activeQueries: number;
cacheHitRatio: number;
tableSizes: Record<string, string>;
};
recommendations: string[];
}
export declare const analyzeDatabaseTool: PostgresTool;
export declare function analyzeDatabase(connectionString: string, analysisType?: 'configuration' | 'performance' | 'security'): Promise<AnalysisResult>;
export {};