UNPKG

mcp-server-tester-sse-http-stdio

Version:

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

33 lines (32 loc) 882 B
/** * Utility functions for formatting conversation messages for console output */ export interface ConversationMessage { role: string; content: any; toolInvocations?: any[]; } /** * Format a conversation array into human-readable console output */ export declare function formatConversation(messages: ConversationMessage[], prompt?: string): string[]; /** * Format role with appropriate colors */ export declare function formatRole(role: string): string; /** * Format text content with darker color */ export declare function formatText(text: string): string; /** * Format content based on type */ export declare function formatContent(content: any): string[]; /** * Format tool call */ export declare function formatToolCall(toolName: string, args: any): string; /** * Format tool result */ export declare function formatToolResult(result: any): string;