Loading...
{
"mcpServers": {
"language-server": {
"command": "/full/path/to/your/clone/mcp-language-server/mcp-language-server",
"args": [
"--workspace",
"/path/to/workspace",
"--lsp",
"language-server-executable"
],
"env": {
"LOG_LEVEL": "DEBUG"
}
}
}
}definitionRetrieves the source code definition of a symbol.
Read-only operation; no side effects.
referencesLocates all usages of a symbol throughout the codebase.
Read-only operation; no side effects.
diagnosticsProvides diagnostic information (warnings, errors) for a file.
Read-only operation; no side effects.
hoverDisplays documentation or type hints for a given location.
Read-only operation; no side effects.
rename_symbolRenames a symbol across a project.
Modifies code structure; potential for breaking changes.
edit_fileApplies multiple text edits to a file based on line numbers.
Modifies file content; potential for introducing errors.
This server is relatively safe for read-only operations. However, the ability to execute code indirectly through language server features introduces some risk. Ensure the underlying language server is up-to-date and the workspace is properly secured.