Skip to content

LSP Server

vctx includes a full Language Server Protocol implementation in the CLI. This allows any editor that supports LSP (VS Code, Neovim, Emacs) to provide rich language features.

Terminal window
# Start the built-in language server for IDE integration
vctx lsp
# Test a specific LSP command
vctx lsp --test-command vctx.sayHello

If you are developing editor integration:

Terminal window
# Run an external language server (for debugging)
vctx lsp -- path/to/custom/server --stdio