Language Server
JSON →MCP Language Server gives MCP enabled clients access to semantic tools like get definition, references, rename, and diagnostics.
Install
npm install -g pyright</code></p> Tools · 6
- definition Retrieves the complete source code definition of any symbol (function, type, constant, etc.) from your codebase.
- references Locates all usages and references of a symbol throughout the codebase.
- diagnostics Provides diagnostic information for a specific file, including warnings and errors.
- hover Display documentation, type hints, or other hover information for a given location.
- rename_symbol Rename a symbol across a project.
- edit_file Allows making multiple text edits to a file based on line numbers. Provides a more reliable and context-economical way to edit files compared to search and replace based edit tools.
Links
★ 1,537 GitHub stars