Discover and explore top open-source AI tools and projects—updated daily.
LSP server for headless AI agents
Top 72.8% on SourcePulse
lsmcp provides a unified interface for Language Server Protocol (LSP) clients, enabling AI agents and developers to perform advanced code manipulation and analysis across multiple programming languages. It acts as a central hub, abstracting away the complexities of individual LSP server configurations and offering a consistent API for operations like code completion, refactoring, and semantic analysis.
How It Works
lsmcp leverages the Language Server Protocol (LSP) to communicate with language-specific servers. It acts as a proxy, routing requests from a client application to the appropriate LSP server based on the language. The project supports pre-configured integrations for popular languages like TypeScript, Rust, Go, and Python, and allows for custom configurations for any language with an LSP server. This approach centralizes language tooling, making it easier for AI agents to integrate and utilize code intelligence features.
Quick Start & Requirements
claude mcp add <language> <command>
(e.g., claude mcp add typescript npx -- -y @mizchi/lsmcp -p typescript
)typescript-language-server
, rust-analyzer
, gopls
). Node.js and npm/pnpm are used for installation and execution.lsmcp
package and the relevant LSP server for each language. Configuration can be done via the claude
CLI or .mcp.json
files.Highlighted Details
Maintenance & Community
The project is under active development, with potential for API and feature changes. Further community and development guidelines can be found in CLAUDE.md
.
Licensing & Compatibility
MIT License. Compatible with commercial and closed-source applications.
Limitations & Caveats
The project is under active development, meaning APIs and features may change without notice. Some LSP server integrations might require specific versions or configurations to function correctly. Troubleshooting common issues like "LSP server not found" or "Permission denied" may require manual intervention.
3 days ago
1 day