Language Server Protocol (LSP) for AI Coding Agents

2 pointsposted a day ago
by bug-ops

1 Comments

bug-ops

a day ago

AI coding assistants are getting smarter — Claude Code and others are starting to integrate with LSP natively. But most agents still read code as text.

mcpls bridges this gap. It's an MCP server that exposes any LSP server's capabilities to AI agents that don't have native LSP support yet.

Use cases:

- AI agents without native LSP integration

- Custom LSP servers your agent doesn't know about

- The transition period until your agent learns LSP

Technical:

- Pure Rust, async (tokio), zero unsafe

- Single binary (~2MB), no Node.js/Python deps

- Works with rust-analyzer, pyright, gopls, clangd, any LSP 3.17 server

- Zero config for Rust projects

This won't be needed forever — native LSP support is the future. But until that's everywhere, mcpls fills the gap.

Feedback welcome, especially edge cases I haven't considered.