definition
Retrieves the complete source code definition of any symbol (function, type, constant, etc.) from your codebase.
How to use it
definition is exposed by the MCP Language Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the definition tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP LANGUAGE SERVER LISTINGOther tools in MCP Language Server (5)
Provides diagnostic information for a specific file, including warnings and errors.
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.
Display documentation, type hints, or other hover information for a given location.
Locates all usages and references of a symbol throughout the codebase.
Rename a symbol across a project.