Skip to main content
Glama

lsp_diagnostics

Retrieve cached language server diagnostics (errors, warnings) for a specific file to identify and address code issues.

Instructions

Get cached diagnostics (errors, warnings) for a file. Diagnostics come from language server notifications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the source file
severity_filterNoFilter diagnostics by minimum severityall

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfessioneIT/lsp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server