code: public IServer getServer() {
          if (hasParent()) {
              final IScope parent = getParent();
              if (parent instanceof Scope) {
                  return ((Scope) parent).getServer();
              } else if (parent instanceof IGlobalScope) {
                  return ((IGlobalScope) parent).getServer();
              }
          }
          return null;
      }
docs: Return the server instance connected to this scope.
  
  @return the server instance