language-server-mcp
by MCP-Mirror
A Model Context Protocol (MCP) server providing language support for code editing. It enhances code editing experiences by providing features such as hover information, code completion, and diagnostics.
Last updated: N/A
What is language-server-mcp?
This is a TypeScript-based MCP server designed to enhance code editing experiences. It implements the Model Context Protocol to provide language-specific tools for code analysis and manipulation.
How to use language-server-mcp?
To use with Claude Desktop, add the server configuration to the claude_desktop_config.json
file in the appropriate directory for your operating system (MacOS or Windows), specifying the path to the server's build index.js file. Install dependencies with npm install
, build the server with npm run build
, and run the server. Use npm run inspector
for debugging.
Key features of language-server-mcp
Hover information
Code completion
Diagnostic reporting
MCP integration
Use cases of language-server-mcp
Enhancing code editing in Claude Desktop
Providing language support for different languages
Integrating language tools with the Model Context Protocol
Code analysis and manipulation
FAQ from language-server-mcp
What languages are supported?
What languages are supported?
Currently, it is tested with TypeScript and theoretically supports Python. More languages can be added.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a protocol for communication between code editors and language servers.
How do I debug the server?
How do I debug the server?
Use the MCP Inspector by running npm run inspector
. This will provide a URL to access debugging tools in your browser.
How do I install the server?
How do I install the server?
Install dependencies with npm install
and build the server with npm run build
. Then, configure Claude Desktop to use the server.
What tools are available?
What tools are available?
The server provides get_hover
, get_completions
, and get_diagnostics
tools for language support.