UNPKG

@toolprint/hypertool-mcp

Version:

HyperTool MCP proxy server for routing requests between clients and multiple underlying MCP servers

26 lines • 669 B
/** * TypeScript interfaces for request routing */ /** * Default router configuration */ export const DEFAULT_ROUTER_CONFIG = { enableLogging: true, enableMetrics: true, namespaceSeparator: ".", requestTimeout: 30000, // 30 seconds validateParameters: true, allowNonNamespaced: true, }; /** * Router error codes */ export const ROUTER_ERROR_CODES = { TOOL_NOT_FOUND: "TOOL_NOT_FOUND", SERVER_NOT_CONNECTED: "SERVER_NOT_CONNECTED", INVALID_PARAMETERS: "INVALID_PARAMETERS", REQUEST_TIMEOUT: "REQUEST_TIMEOUT", ROUTING_ERROR: "ROUTING_ERROR", VALIDATION_ERROR: "VALIDATION_ERROR", }; //# sourceMappingURL=types.js.map