You will need to use https://github.com/BuilderIO/builder/tree/main/examples/next-js-sdk-gen-2-experimental-app-directory.Server component is not supported on v1 and v2. For more details, please check SSR and SSG on NextJS
Hope this helps, let us know if you’ve further questions!