connectServer method

Future<bool> connectServer(
  1. String serverId
)

UNSUPPORTED ON WEB Connect an MCP server

Implementation

Future<bool> connectServer(String serverId) async {
  _logger.fine('Server connection not supported on web platform');
  throw MCPPlatformNotSupportedException(
    'MCP Server connection is not supported on web platform',
    errorCode: 'WEB_SERVER_NOT_SUPPORTED',
  );
}