UNPKG

mcp-server-tester-sse-http-stdio

Version:

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

46 lines (45 loc) 2.34 kB
/** * Simplified Prompts tests leveraging SDK error detection * Focuses on business logic validation while SDK handles protocol compliance */ import { DiagnosticTest } from '../DiagnosticTest.js'; import { type DiagnosticResult, type ComplianceConfig } from '../types.js'; import type { McpClient } from '../../../shared/core/mcp-client.js'; export declare class PromptsCapabilityTest extends DiagnosticTest { readonly name = "Server Features: Prompts - Capability Declaration"; readonly description = "Verify server declares prompts capability using SDK validation"; readonly category = "server-features"; readonly feature: "prompts"; readonly severity: "critical"; readonly requiredCapability = "prompts"; readonly mcpSpecSection = "Server Features - Prompts"; execute(client: McpClient, config: ComplianceConfig): Promise<DiagnosticResult>; } export declare class PromptSchemaValidationTest extends DiagnosticTest { readonly name = "Server Features: Prompts - Schema Validation"; readonly description = "Validate prompt schema compliance and quality (business logic)"; readonly category = "server-features"; readonly feature: "prompts"; readonly severity: "warning"; readonly requiredCapability = "prompts"; readonly mcpSpecSection = "Server Features - Prompts"; execute(client: McpClient, _config: ComplianceConfig): Promise<DiagnosticResult>; } export declare class PromptRetrievalTest extends DiagnosticTest { readonly name = "Server Features: Prompts - Retrieval (prompts/get)"; readonly description = "Test prompt retrieval using SDK error detection"; readonly category = "server-features"; readonly feature: "prompts"; readonly severity: "warning"; readonly requiredCapability = "prompts"; execute(client: McpClient, config: ComplianceConfig): Promise<DiagnosticResult>; } export declare class PromptArgumentValidationTest extends DiagnosticTest { readonly name = "Server Features: Prompts - Argument Validation"; readonly description = "Check for proper argument handling (business logic)"; readonly category = "server-features"; readonly feature: "prompts"; readonly severity: "info"; readonly requiredCapability = "prompts"; execute(client: McpClient, _config: ComplianceConfig): Promise<DiagnosticResult>; }