Rust LSP via lspmux multiplexer for shared rust-analyzer instances

GitHub stars
6

Install

/plugin install lspmux-rust@lspmux-plugins

Run it inside Claude Code after adding the marketplace with /plugin marketplace add sunshowers/lspmux-rust-analyzer.

Contents

Discovered from source

Agents 1

lspmux-rust Claude plugin

This plugin configures Claude Code to use rust-analyzer through lspmux, enabling multiple Claude sessions to share a single rust-analyzer instance per workspace.

Requirements

  • lspmux server must be running (systemctl --user status lspmux on Linux)
  • rust-analyzer must be in PATH (installed via the setup script)

Installation

Install via the lspmux-plugins marketplace:

# Add the marketplace
claude plugin marketplace add /path/to/lspmux-rust-analyzer

# Disable the official rust-analyzer plugin
claude plugin disable rust-analyzer-lsp@claude-plugins-official --scope user

# Install this plugin
claude plugin install lspmux-rust@lspmux-plugins --scope user

How it works

Instead of spawning rust-analyzer directly, this plugin invokes lspmux client, which connects to the lspmux server over a local socket. The server manages rust-analyzer instances, creating one per workspace and sharing it across all connected clients.

Sponsors

Details

Marketplace
sunshowers/lspmux-rust-analyzer
Source
plugins/lspmux-rust
Category
Community