language-server-mcp MCP Server
@alexwohletz
关于 language-server-mcp MCP Server
暂无概览
基本信息
配置
工具
3Get hover information for a position in a document
Get completion suggestions for a position in a document
Get diagnostic information for a document
概览
What is language-server-mcp?
language-server-mcp is a TypeScript-based Model Context Protocol (MCP) server that provides language support features for code editing, including hover information, code completion suggestions, and diagnostic reporting. It is designed for developers using MCP-compatible clients like Claude Desktop, and has been tested with TypeScript while theoretically supporting Python.
How to use language-server-mcp?
Install dependencies with npm install, build with npm run build, and add the server configuration to your MCP client (e.g., Claude Desktop's claude_desktop_config.json). Use the exposed tools — get_hover, get_completions, and get_diagnostics — by providing the required parameters (languageId, filePath, content, line, character where applicable).
Key features of language-server-mcp
- Provides hover information for symbols in code
- Offers code completion suggestions
- Reports diagnostic information (errors, warnings)
- Integrates with the Model Context Protocol
- Exposes language features as MCP tools
- Debuggable using the MCP Inspector
Use cases of language-server-mcp
- Getting hover information for a symbol at a specific position
- Obtaining code completion suggestions at a cursor location
- Retrieving diagnostic information (errors/warnings) for a document
FAQ from language-server-mcp
What languages does language-server-mcp support?
It has been tested with TypeScript and theoretically supports Python.
What MCP tools does language-server-mcp provide?
Three tools: get_hover (parameters: languageId, filePath, content, line, character), get_completions (same parameters), and get_diagnostics (parameters: languageId, filePath, content).
How can I debug language-server-mcp?
Use the MCP Inspector, available via npm run inspector, which provides a URL to access debugging tools.
How do I install language-server-mcp with Claude Desktop?
Add the server config to claude_desktop_config.json — on MacOS at ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows at %APPDATA%/Claude/claude_desktop_config.json — with the command pointing to the built index.js.
What are the build requirements for language-server-mcp?
Run npm install to install dependencies, then npm run build to compile the TypeScript server.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
ghidraMCP
LaurieWiredMCP Server for Ghidra
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
评论