LSP multiplexing for Claude Code via lspmux-rust-analyzer.
- Shell-script-first project with a Rust sub-project under
mcp-server/ - Plugin files at repo root:
.claude-plugin/,.mcp.json,.lsp.json,bin/,hooks/,skills/ - Nix flake provides devShell, packages (including
plugin), and checks - Cargo workspace lives only under
mcp-server/
cargo check --manifest-path mcp-server/Cargo.toml
cargo build --manifest-path mcp-server/Cargo.toml
cargo clippy --manifest-path mcp-server/Cargo.toml --all-targets -- -W clippy::nursery -W clippy::pedantic
cargo fmt --manifest-path mcp-server/Cargo.toml --all
cargo test --manifest-path mcp-server/Cargo.tomlnix flake check # clippy + fmt + tests
nix build # build mcp-server binary
nix develop # enter devShelljust check # cargo check
just build # cargo build
just clippy # clippy with pedantic/nursery
just fmt # cargo fmt
just test # cargo test
just nix-check # nix flake check
just nix-build # nix build
just setup # run setup script
just shellcheck # lint shell scripts- All Rust code: clippy with
-W clippy::nursery -W clippy::pedantic - All Rust code:
cargo fmtformatted - All shell scripts: pass
shellcheck - macOS-first; daemons spawned per-workspace on demand by the MCP server (no system service manager required)