UNPKG

@l4t/mcp-ai

Version:

A set of tools for making integration and aggregation of MCP servers extremely easy.

17 lines 609 B
import { create as createCli } from './cli.js'; import { create as createSse } from './sse.js'; import { create as createHttp } from './http.js'; const create = (config, options) => { switch (config.server.connection.type) { case 'cli': return createCli(config); case 'sse': return createSse(config, options?.express); case 'http': return createHttp(config, options?.express); default: throw new Error(`Unsupported server type: ${config.server.connection.type}`); } }; export { create }; //# sourceMappingURL=index.js.map