get_diagnostics
Analyze code files to retrieve detailed diagnostic information, including errors and warnings, based on file content, path, language, and project root. Enhances code quality and debugging efficiency.
Instructions
Get diagnostic information for a document
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The current content of the file | |
filePath | Yes | Absolute or relative path to the source file | |
languageId | Yes | The language identifier (e.g., "typescript", "javascript") | |
projectRoot | Yes | Important: Root directory of the project for resolving imports and node_modules where the tsconfig.json or jsconfig.json is located |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from language-server-mcp
Related Tools
- @sammcj/mcp-package-docs
- @cyanheads/mentor-mcp-server
- @admica/FileScopeMCP
- @jurasofish/mcpunk
- @getsentry/sentry-mcp