get_diagnostics
Real compiler errors and warnings, not guesses
How to use it
get_diagnostics is exposed by the Mcpls MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_diagnostics tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Mcpls
cargo install mcplsOther tools in Mcpls (19)
Apply language-specific formatting rules
Fast access to push-based diagnostics from LSP server
Quick fixes, refactorings, and source actions at a position
Context-aware suggestions that respect types and scope
Jump to where a symbol is defined — across files, across crates
Structured outline — functions, types, constants, imports
Type signatures, documentation, inferred types at any position
Find all callers of a function (who calls this?)
Inferred type/parameter annotations an editor would render inline
Find all callees of a function (what does this call?)
Every usage of a symbol in your workspace
Debug LSP issues with internal log messages
User-facing messages from the language server
Parameter info and active signature while typing a call
Jump to implementations of a trait method or interface member
Jump to the type definition of an expression, distinct from getdefinition for variable bindings
Get callable items at a position for call hierarchy
Workspace-wide rename with full reference tracking
Find symbols by name across the entire workspace