mcp-server-tester-sse-http-stdio
Version:
MCP Server Tester with SSE support - Test MCP servers using HTTP, SSE, and STDIO transports
22 lines (21 loc) • 525 B
JavaScript
/**
* JSON formatter stub for structured test output
* Future implementation for CI/CD integration
*/
export class JsonFormatter {
events = [];
options;
constructor(options = {}) {
this.options = options;
}
onEvent(event) {
this.events.push(event);
}
flush() {
// TODO: Implement JSON output
// Could output to file or stdout depending on options
if (this.options.debug) {
console.log('JSON formatter not yet implemented');
}
}
}