LanguageServer.jl eglot integration is now packaged up at https://github.com/non-Jedi/jleglot and I just created a pending PR to melpa at https://github.com/melpa/melpa/pull/6531. Hope it’s helpful to y’all.
For anyone wondering how I ended up making sure the project was instantiated, I stole a page from the Revise playbook:
try
@eval using LanguageServer
catch
@warn "Unable to import LanguageServer. Instantiating project."
Pkg.instantiate()
@eval using LanguageServer
end#try