Skip to main content
Glama

lsp_find_references

Find all references to a code symbol across your workspace by specifying its file location, enabling navigation and refactoring in supported languages.

Instructions

Find all references to the symbol at the given position across the workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the source file
lineYesLine number (1-indexed)
columnYesColumn number (1-indexed)
include_declarationNoWhether to include the declaration in results
limitNoMaximum number of results to return
offsetNoNumber of results to skip (for pagination)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfessioneIT/lsp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server