Back to Home
alexwohletz icon

language-server-mcp

by alexwohletz

Overview

Provides language support features like hover information, code completion, and diagnostics for code editing through the Model Context Protocol (MCP).

Installation

Run Command
node /path/to/language-server-mcp/build/index.js

Environment Variables

  • TYPESCRIPT_SERVER

Security Notes

The server dynamically spawns external language server processes based on configurations read from environment variables (e.g., `process.env.TYPESCRIPT_SERVER`). If an attacker can control these environment variables, they could inject arbitrary shell commands to be executed by the `child_process.spawn` call, leading to remote code execution. While the README implies user configuration for local development, in an automated or untrusted AI agent context, this presents a significant command injection vulnerability. Uses of `eval` found in coverage report utility files are not part of the core server's runtime logic.

Similar Servers

Stats

Interest Score41
Security Score3
Cost ClassLow
Avg Tokens200
Stars25
Forks9
Last Update2025-11-26

Tags

Language ServerCode EditingModel Context ProtocolTypeScriptDevelopment Tools