mcp-language
Model Context Protocol (MCP) server that supports multiple LSP servers
How to use
The mcp-language server is a powerful implementation of the Model Context Protocol (MCP), designed to facilitate seamless communication between multiple Language Server Protocol (LSP) servers. This server allows you to manage and interact with various programming languages in a unified manner, making it an essential tool for developers who work in multi-language environments or require integration with different LSPs.
Once connected to the mcp-language server, you can send various commands to interact with the supported LSP servers. You can use commands such as textDocument/hover, textDocument/completion, and textDocument/diagnostic to retrieve language-specific features like type information, code suggestions, and error diagnostics. This capability allows you to leverage the strengths of different LSP servers without needing to switch contexts manually.
How to install
Prerequisites
Ensure you have Node.js installed on your machine, as this server relies on it for execution.
Option A: Quick Start with npx
You can quickly start using mcp-language without installation by running:
npx -y mcp-language
Option B: Global Install Alternative
If you prefer to install it globally, you can use npm:
npm install -g mcp-language
Additional notes
For optimal performance, consider configuring the server's environment variables to specify the paths of the LSP servers you intend to use. It's also important to be aware of potential port conflicts if multiple instances are running concurrently. Make sure to check the server logs for any connection issues that might arise during setup.
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go