/** * MCP SDK Compatibility & Golden Baseline Canary Harness. * * Deterministically verifies @frihet/mcp-server SDK v1 compatibility, * golden contract, tool enumeration, JSON schema validity, pagination parameters, * typed error contracts, capability metadata, and representative READ operations * against @modelcontextprotocol/sdk v1.x before v2.0 migration. * * NOTE: This is an in-process SDK client/server compatibility harness. * Model Context Protocol Inspector 2.3.0 is documented as a reference authority, * while this harness executes in-process via @modelcontextprotocol/sdk v1.x client * with zero daemons to provide deterministic CI verification. * * Zero production writes. Zero credential leaks. */ export declare const HARNESS_CONTRACT_VERSION = 1; export declare const INSPECTOR_PINNED_VERSION = "2.3.0"; export declare const CANONICAL_OPERATIONS_COUNT = 157; export declare const FISCAL_ALIASES_COUNT: number; export type CheckStatus = "PASS" | "FAIL" | "UNSUPPORTED" | "NOT_EXERCISED"; export type OverallStatus = "PASS" | "PASS_WITH_GAPS" | "FAIL"; export interface HarnessCheckResult { id: string; name: string; category: "initialize" | "tools" | "resources" | "prompts" | "reads" | "pagination" | "errors" | "mutations" | "auth"; status: CheckStatus; detail: string; durationMs?: number; } export interface ToolSnapshot { name: string; title?: string; description?: string; inputSchema: Record; hasOutputSchema: boolean; annotations: Record; capabilityMeta?: Record; } export interface McpBaselineReport { contractVersion: number; inspectorPinnedVersion: string; harnessMode: "in-process-sdk-client"; protocolVersion: string | null; serverInfo: { name: string; version: string; description?: string; }; summary: { totalTools: number; canonicalOperations: number; fiscalAliases: number; resources: number; prompts: number; checks: { total: number; pass: number; fail: number; unsupported: number; notExercised: number; }; overallStatus: OverallStatus; }; checkMatrix: HarnessCheckResult[]; tools: ToolSnapshot[]; resources: string[]; prompts: string[]; sanitized: boolean; } /** * Executes the complete compatibility harness in-process and returns * a structured, sanitized baseline report. */ export declare function runMcpBaseline(): Promise; export declare function serializeMcpBaseline(report: McpBaselineReport): string; export declare function assertMcpBaseline(actual: McpBaselineReport, expected: McpBaselineReport): void; //# sourceMappingURL=mcp-harness.d.ts.map