xmcp
Version:
The TypeScript MCP framework
19 lines (18 loc) • 434 B
TypeScript
import type { TemplateConfig } from "@/config/schemas";
export interface HttpTransportOptions {
port?: number;
host?: string;
endpoint?: string;
bodySizeLimit?: string;
maxSubscriptions?: number;
debug?: boolean;
template?: TemplateConfig;
}
export interface JsonRpcMessage {
jsonrpc: string;
method?: string;
params?: any;
id?: string | number | null;
result?: any;
error?: any;
}