Skip to main content
Glama

LSP MCP Server

by sminnee

find_references

Locate all code references to a symbol in TypeScript, JavaScript, or Python files using Language Server Protocol integration for code analysis and refactoring.

Instructions

Find all references to a symbol using LSP

Input Schema

NameRequiredDescriptionDefault
characterNoCharacter position of the symbol
fileYesFile containing the symbol
languageNoProgramming languagetypescript
lineYesLine number of the symbol

Input Schema (JSON Schema)

{ "properties": { "character": { "default": 0, "description": "Character position of the symbol", "type": "number" }, "file": { "description": "File containing the symbol", "type": "string" }, "language": { "default": "typescript", "description": "Programming language", "type": "string" }, "line": { "description": "Line number of the symbol", "type": "number" } }, "required": [ "file", "line" ], "type": "object" }

Other Tools from LSP MCP Server

Related Tools

    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/sminnee/lsp-mcp'

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