MCP Package Docs Server
by sammcj
get_diagnostics
Get diagnostic information for a document using Language Server Protocol
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 | No | Root directory of the project for resolving imports and node_modules |