Overview
language-server-mcp is a Model Context Protocol (MCP) server that enhances code editing experiences by providing language support features such as hover information, code completion, and diagnostics.
To use language-server-mcp, install the dependencies, build the server, and configure it with your code editor. For Claude Desktop, add the server configuration to the appropriate config file based on your operating system.
- Provides hover information for symbols in code - Offers code completion suggestions - Reports diagnostic information (errors, warnings) - Implements the MCP protocol for seamless communication with clients
- Enhancing TypeScript code editing with real-time feedback
- Supporting additional languages like Python in the future
- Integrating with various code editors for improved development workflows
Add to your AI client
Use these steps to connect language-server-mcp MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"alexwohletz-language-server-mcp-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alexwohletz-language-server-mcp-mcp-mirror"
]
}
}
}FAQ
What languages does language-server-mcp support?
Currently, it is tested with TypeScript and theoretically supports Python, with plans to add more languages.
How do I install language-server-mcp?
Install dependencies using `npm install`, build the server with `npm run build`, and configure it in your code editor.
How can I debug the server?
Use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":692,"uuid":"9319bf92-4be3-4504-b8b6-b3964a7b9643","name":"alexwohletz_language-server-mcp","title":"language-server-mcp MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:26:34.454Z","updated_at":"2025-02-23T07:16:03.777Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"language-server,mcp,code-editing","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/alexwohletz_language-server-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]