UNPKG

mcp-use

Version:

Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.

26 lines 880 B
import type { Writable } from "node:stream"; import type { ConnectorInitOptions } from "./base.js"; import { BaseConnector } from "./base.js"; export interface StdioConnectorOptions extends ConnectorInitOptions { clientInfo?: { name: string; version: string; }; } export declare class StdioConnector extends BaseConnector { private readonly command; private readonly args; private readonly env?; private readonly errlog; private readonly clientInfo; constructor({ command, args, env, errlog, ...rest }?: { command?: string; args?: string[]; env?: Record<string, string>; errlog?: Writable; } & StdioConnectorOptions); /** Establish connection to the MCP implementation. */ connect(): Promise<void>; get publicIdentifier(): Record<string, string>; } //# sourceMappingURL=stdio.d.ts.map