UNPKG

mcp-server-tester-sse-http-stdio

Version:

MCP Server Tester with SSE support - Test MCP servers using HTTP, SSE, and STDIO transports

25 lines (24 loc) 788 B
/** * Configuration loader for YAML test files and JSON server config */ import type { TestConfig, ServerConfig } from '../core/types.js'; export declare class ConfigLoader { private static ajv; /** * Load test configuration from YAML file */ static loadTestConfig(filePath: string): TestConfig; /** * Load MCP server configuration from JSON file */ static loadServerConfig(filePath: string, serverName?: string): ServerConfig; private static resolvePath; private static readFile; private static isYamlFile; /** * Validate configuration using JSON Schema with helpful error messages */ private static validateWithSchema; private static readonly ENV_VAR_PATTERN; private static replaceEnvironmentVariables; }