Summary
Add lsp_references MCP tool to the @pleaseai/dora package that finds all usages/references of a symbol at a given position using the Language Server Protocol.
- Leverage existing
LSPManager.references() from @pleaseai/code-lsp
- Follow existing LSP tool patterns in
packages/dora/src/providers/lsp/index.ts
- Support
include_declaration optional parameter
Tasks
Acceptance Criteria
lsp_references tool available via MCP
- Returns correct reference locations from LSP servers
- Handles empty results with user-friendly message
- Handles relative and absolute file paths
- Unit tests pass
Additional Context
This feature extends the LSP integration in the Dora MCP server to support finding symbol references, which is useful for code navigation and understanding code dependencies.
Summary
Add
lsp_referencesMCP tool to the@pleaseai/dorapackage that finds all usages/references of a symbol at a given position using the Language Server Protocol.LSPManager.references()from@pleaseai/code-lsppackages/dora/src/providers/lsp/index.tsinclude_declarationoptional parameterTasks
Acceptance Criteria
lsp_referencestool available via MCPAdditional Context
This feature extends the LSP integration in the Dora MCP server to support finding symbol references, which is useful for code navigation and understanding code dependencies.