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.

10 lines (9 loc) • 634 B
import { MCPServerOptions } from './create-server.js'; /** Internal. Records the options that `server` was created with. */ export declare function rememberServerOptions(server: object, options: MCPServerOptions): void; /** Internal. Returns the options that `server` was created with. */ export declare function optionsOfServer(server: object): MCPServerOptions | undefined; /** Internal. Records that `serveMCPStdio` serves `server`. */ export declare function markServedOverStdio(server: object): void; /** Internal. True when `serveMCPStdio` serves `server`. */ export declare function isServedOverStdio(server: object): boolean;