prabirshrestha/vim-lsp is an LSP integration for Vim 8 and Neovim. It does not provide MCP tools.
Register a Rust server with lsp#register_server:
if executable('lspmux')
au User lsp_setup call lsp#register_server({
\ 'name': 'rust-analyzer-lspmux',
\ 'cmd': {server_info->['lspmux', 'client', '--server-path', 'rust-analyzer']},
\ 'allowlist': ['rust'],
\ })
endifThe cmd launches lspmux client and passes rust-analyzer as the language server path for the shared daemon to spawn.
For TCP loopback:
export LSPMUX_CONNECT=tcp://127.0.0.1:27631For Unix sockets, leave LSPMUX_CONNECT unset and let lspmux client read the configured connect value.
Open a Rust file and run:
:LspStatusThe registered rust-analyzer-lspmux server should be running for the buffer.