---
url: /validators/lsp.md
description: >-
  Validate Language Server Protocol configuration for transport settings,
  language IDs, file extensions, and server commands in Claude Code projects.
---

# LSP Validator

The LSP validator checks Language Server Protocol configuration files for transport settings, language IDs, file extensions, and server commands.

## What It Checks

* Transport configuration (stdio, TCP)
* Language ID format and validity
* File extension format
* Server command existence
* Configuration file paths

## Rules

This validator includes  rules. See the [LSP rules category](/rules/lsp/lsp-command-bare-name) for the complete list.

## CLI Usage

```bash
# Validate LSP configuration
claudelint validate-lsp

# Verbose output
claudelint validate-lsp --verbose
```

## See Also

* [Claude Code LSP Servers](https://code.claude.com/docs/en/plugins-reference#lsp-servers) - Official LSP documentation
* [Configuration](/guide/configuration) - Customize rule severity
