UNPKG

@tanstack/ai-mcp

Version:

Host-side Model Context Protocol client for TanStack AI: discover and run MCP server tools, resources, and prompts in any adapter's chat() loop, with generated end-to-end types.

17 lines (16 loc) 547 B
export declare class MCPConnectionError extends Error { readonly cause?: unknown | undefined; constructor(message: string, cause?: unknown | undefined); } export declare class DuplicateToolNameError extends Error { readonly toolName: string; constructor(toolName: string); } export declare class MCPTaskRequiredToolError extends Error { readonly toolName: string; constructor(toolName: string); } export declare class MCPToolNotFoundError extends Error { readonly toolName: string; constructor(toolName: string); }