---
name: LSP
slug: lsp
category: Quality
description: LSP connects Codex to language servers for diagnostics, definitions, references, symbols, and rename safety checks. Use it when you need type-aware feedback or to verify edits in the current workspace.
github: "https://github.com/code-yeongyu/lazycodex/tree/main/plugins/omo/skills/lsp"
language: TypeScript
stars: 3246
forks: 201
install: "npx degit https://github.com/code-yeongyu/lazycodex/tree/main/plugins/omo/skills/lsp ~/.claude/skills/lsp"
installs_to: ~/.claude/skills/lsp
source_path: plugins/omo/skills/lsp/SKILL.md
collection_size: 25
category_size: 1354
collection_url: "https://dirskills.com/collections/code-yeongyu/lazycodex"
added: 2026-08-17T07:08:45.584Z
last_synced: 2026-08-17T07:08:45.584Z
canonical_url: "https://dirskills.com/skills/lsp"
---

# LSP

LSP connects Codex to language servers for diagnostics, definitions, references, symbols, and rename safety checks. Use it when you need type-aware feedback or to verify edits in the current workspace.

**Install:**

```bash
npx degit https://github.com/code-yeongyu/lazycodex/tree/main/plugins/omo/skills/lsp ~/.claude/skills/lsp
```

## README

# Codex LSP

Call `lsp` MCP tools through the tool interface; `lsp.*`/`mcp__lsp__*` are tool-call names, not shell commands.

## Tools

- `lsp.status`: list configured, installed, missing, disabled, and active language servers.
- `lsp.diagnostics`: check one file or directory for LSP diagnostics. Prefer `severity: "error"` after edits.
- `lsp.goto_definition`: locate a symbol definition from file, line, and character.
- `lsp.find_references`: find usages of a symbol across the workspace.
- `lsp.symbols`: inspect document symbols or search workspace symbols.
- `lsp.prepare_rename`: check whether a rename is valid at a position.
- `lsp.rename`: apply a language-server workspace edit for a rename.

## Config

Project config lives at `.codex/lsp-client.json`; user config lives at `~/.codex/lsp-client.json`.

```json
{
	"lsp": {
		"typescript": {
			"command": ["typescript-language-server", "--stdio"],
			"extensions": [".ts", ".tsx", ".js", ".jsx"]
		}
	}
}
```

Use `lsp.status` first when diagnostics report a missing language server.
