// Global type declarations for React MCP apps

interface MCPClient {
  callTool(name: string, args?: any): Promise<any>;
  showApp(name: string, params?: any): void;
  listResources(): Promise<any>;
  readResource(uri: string): Promise<any>;
}

declare global {
  interface Window {
    mcp: MCPClient;
  }
}

export {};
