sia-vision-mcp-server
Version:
Enhanced v2 MCP server with improved error handling, validation, and comprehensive tool schemas for SIA.Vision storytelling platform
37 lines • 978 B
TypeScript
export interface MCPToolResult {
success: boolean;
data?: any;
error?: string;
}
export interface MCPToolDefinition {
name: string;
description: string;
inputSchema: unknown;
}
export interface ListToolsResponse {
tools: MCPToolDefinition[];
}
export interface ValidationError {
field: string;
message: string;
received?: any;
}
export declare class MCPError extends Error {
code: string;
details?: any | undefined;
constructor(code: string, message: string, details?: any | undefined);
}
export declare class FirebaseClient {
private baseUrl;
private apiKey;
private client;
private retryCount;
private maxRetries;
constructor(baseUrl: string, apiKey: string);
listTools(): Promise<ListToolsResponse>;
executeTool(toolName: string, args: any): Promise<any>;
healthCheck(): Promise<boolean>;
private retryRequest;
private handleError;
}
//# sourceMappingURL=firebase-client.d.ts.map