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.
24 lines • 881 B
TypeScript
import type { Writable } from "node:stream";
import type { ConnectorInitOptions } from "./base.js";
import { BaseConnector } from "./base.js";
import type { ClientInfo } from "./http.js";
export interface StdioConnectorOptions extends ConnectorInitOptions {
clientInfo?: ClientInfo;
}
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