language-server-mcp MCP Server
Overview
language-server-mcp is a Model Context Protocol (MCP) server designed to enhance code editing experiences by providing language support features such as hover information, code completion, and diagnostics for TypeScript, with theoretical support for other languages like Python.
To use language-server-mcp, you need to install the dependencies, build the server, and configure it with your code editor (e.g., Claude Desktop) by specifying the server path in the appropriate config file.
- Language-specific support for TypeScript with hover information, code completion, and diagnostics. - Implements the MCP protocol for effective communication with clients. - Tools for retrieving hover info, completion suggestions, and diagnostics via specified parameters.
- Enhancing TypeScript code editing with real-time diagnostics and code suggestions.
- Providing language analysis features for improved code quality management.
- Integrating with other tools that support the MCP for extended language functionality.
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": {
"language-server-mcp-alexwohletz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}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": {
"language-server-mcp-alexwohletz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"language-server-mcp-alexwohletz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"language-server-mcp-alexwohletz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"language-server-mcp-alexwohletz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"language-server-mcp-alexwohletz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-language-server-mcp-alexwohletz"
]
}
}
}FAQ
What programming languages does language-server-mcp support?
Currently, it supports TypeScript and is theoretically capable of supporting Python, with plans to expand language functionality.
How do I install language-server-mcp?
Install dependencies using `npm install`, then build the server with `npm run build`, and configure your editor accordingly.
How can I debug language-server-mcp?
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":446,"uuid":"419700f0-004a-48b2-9767-4e6c8ea41afb","name":"language-server-mcp","title":"language-server-mcp MCP Server","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/19375280?v=4","created_at":"2024-12-19T02:12:06.416Z","updated_at":"2024-12-19T12:39:13.361Z","status":"created","author_name":"alexwohletz","author_avatar_url":"https://avatars.githubusercontent.com/u/19375280?v=4","tags":"language-server,mcp,code-editing","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/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"}]]}]