#language-server-protocol #lsp #claude #mcp #language-server

app mcpls

Universal MCP to LSP bridge CLI - expose Language Server Protocol capabilities as MCP tools

10 releases

Uses new Rust 2024

0.3.5 Mar 17, 2026
0.3.4 Feb 22, 2026
0.3.1 Jan 24, 2026
0.3.0 Dec 28, 2025
0.1.1 Dec 25, 2025

#1739 in Command line utilities

MIT/Apache

395KB
9K SLoC

mcpls

Crates.io License

Give your AI agent a compiler's eye.

The mcpls CLI exposes language server intelligence through MCP. One binary, any language, zero runtime dependencies.

[!TIP] Graceful degradation means you don't need every language server installed. If one fails, mcpls continues with available servers.

Installation

cargo install mcpls

Usage

mcpls                           # Run with defaults
mcpls --log-level debug         # Verbose output
mcpls --config ./mcpls.toml     # Custom config

Configuration

[!NOTE] Configuration auto-discovery order: $MCPLS_CONFIG./mcpls.toml → platform config dir Auto-creates default config with 30 language mappings on first run.

Create or edit mcpls.toml in the appropriate location:

  • Linux/macOS: ~/.config/mcpls/mcpls.toml
  • macOS (alternative): ~/Library/Application Support/mcpls/mcpls.toml
  • Windows: %APPDATA%\mcpls\mcpls.toml

See the main README for configuration examples and custom extension mapping.

Options

Flag Description
-c, --config <PATH> Configuration file path
-l, --log-level <LEVEL> trace, debug, info, warn, error
--log-json JSON-formatted logs for tooling

Claude Code Integration

Add to your Claude Code configuration (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mcpls": { "command": "mcpls", "args": [] }
  }
}

See the main README for full documentation.

License

Dual-licensed under Apache 2.0 or MIT.

Dependencies

~18–27MB
~384K SLoC