MCPServerFactory typedef
Creates the MCPServer which communicates over channel.
The returned server must be constructed on channel, typically by passing
it to MCPServer.fromStreamChannel.
Implementation
typedef MCPServerFactory =
MCPServer Function(StreamChannel<Map<String, Object?>> channel);