( config: Omit<StdioTransportConfig, 'type'>, )
| 4 | |
| 5 | /** Build a stdio transport instance to pass as `createMCPClient({ transport })`. Node-only. */ |
| 6 | export function stdioTransport( |
| 7 | config: Omit<StdioTransportConfig, 'type'>, |
| 8 | ): Transport { |
| 9 | return new StdioClientTransport({ |
| 10 | command: config.command, |
| 11 | args: config.args, |
| 12 | env: config.env, |
| 13 | cwd: config.cwd, |
| 14 | }) |
| 15 | } |
no outgoing calls
no test coverage detected